TACL – Tandem Advanced Command Language Beginner Quiz

TACL – Tandem Advanced Command Language Beginner Quiz




TACL – Tandem Advanced Command Language Beginner Quiz contains set of 100 TACL MCQ Questions With Answers which will help you to clear beginner level quiz.


TACL is ans) a) Tandem Advanced Command Language b) Tandem Application Command Language c) Tandem Advanced Computing Language b) Tandem Application Computing Language
TACL is both a command interpreter and also a high-level programming language. ans) a) True b) False
TACL is used for managing System and Processes. ans) a) True b) False
“!” is used to display the lastly executed command in TACL environment. a) True ans) b) False
“!” command is used to reexecute a previous command line ans) a) True b) False
There are ___ types of characters that have special meaning to TACL. a) 4 b) 5 ans) c) 6 d) 8
The start of a TACL directive is specified by – ans) a) ? b) & c) ! d) @
__________ are special constructs that allow you to perform simple pattern-matching operations. a) Metacharacters b) Seperator ans) c) Templates d) Operator
TACL supports ____ forms of comments. ans) a) 3 b) 4 c) 5 d) 1
TACL does not support nested comments. ans) a) True b) False
TACL has ___ types of variables a) 4 b) 5 c) 6 ans) d)7
A TACL variable name can contain from 1 to __ characters a) 8 b) 16 c) 32 ans) d) 31
For a TACL variable, different levels can contain different types of data. ans) a) True b) False
How to declare user defined variables in TACL Macro? a) #DECLARE b) #POP ans) c) #PUSH d) #DEF
How to delete user defined variables in TACL Macro? a) #DECLARE ans) b) #POP c) #PUSH d) #DEF
________removes one or more levels from the bottom of a variable ans) a) #KEEP b) #POP c) #DELETE d) #DEF
A MACRO accesses arguments by_________ a) number ans) b) position c) order d) precedence
%0% means ans) a) The name of the macro itself b) All arguments
.
c) The 1st argument supplied by the user. d)  The last argument supplied by the user.
The arguments are supplied as a __________ list to the MACRO. ans) a) space-seperated. b) comma-seperated. c) dot-seperated. d) slash-seperated.
What happens when more arguments are supplied to the MACRO, than are used in the MACRO? a) Error.
.
ans) b) TACL ignore the extra arguments. c) Macro won’t run d) None of the above
________ has sophisticated argument handling capabilities a) Macro ans) b) Routine c) Alias d) Delta
In a ROUTINE, multiple exit points can be provided by the_________ built-in function. ans) a) #RETURN b) #EXCEPTION c) #EXIT d) #RAISE
A MACRO can have multiple exit points. a) True ans) b) False
A MACRO invocation returns the entire text of the macro to be executed, while a ROUTINE invocation returns only what the #RESULT function provides. ans) a) True b) False
A ROUTINE invocation returns the entire text of the macro to be executed, while a MACRO invocation returns only what the #RESULT function provides. a) True
b) False
ans) b) False
ROUTINE has ability to handle exceptions ans) a) True b) False
MACRO has ability to handle exceptions a) True ans) b) False
A ROUTINE uses the _________ built-in function to examine and validate arguments. a) #VARIABLE ans) b) #ARGUMENT c) #EXIT d) #RAISE
STRUCT is declared using a) #DECLARE b) #POP c) #PUSH ans) d) #DEF
A structure in TACL can contain up to _______ bytes of data. a) 4096 ans) b) 5000 c) 2048 d) 8196
The maximum nesting depth for directories is ____ levels a) 4 ans) b) 16 c) 32 d) 8
You can create a root (:) directory a) True ans) b) False
Which is a valid TACL Directive? ans) a) ?BLANK b) ?NOLIST c) ?SYMBOLS d) ?RUNNABLE
______ directive is used to insert a blank line into a variable ans) a) ?BLANK b) ?FORMAT c) ?SECTION d) ?TACL
________ directive is used to specify how TACL interprets metacharacters in the TACL statements following the directive. a) ?BLANK ans) b) ?FORMAT c) ?SECTION d) ?TACL
________ directive allows you to create a library that contains definitions for many variables. a) ?BLANK b) ?FORMAT ans) c) ?SECTION d) ?TACL
__________ directive is used to specify that the TACL statements following the directive in a file are the contents of a TACL variable. a) ?BLANK b) ?FORMAT c) ?SECTION ans) d) ?TACL
The ?TACL directive, if specified, must be the ________ line of the file. ans) a) first b) middle c) last d) fifth
You do not compile or bind TACL programs. ans) a) True b) False
TACL programs can be stored in a) Edit File b) Library File c) Segment File ans) d) All of the above
__________ file provides customization for your personal TACL environment. a) TACLINIT b) TACLOCL ans) c) TACLCSTM d) None of the above
__________ file provides customization for all the TACL users TACL environment. a) TACLINIT ans) b) TACLOCL c) TACLCSTM d) None of the above
TACL requires the TACL program file and the __________ file. ans) a) TACLINIT b) TACLOCL c) TACLCSTM d) None of the above
A TACL process can run at a high PIN ans) a) True b) False
Before LOGON, the only commands TACL accepts are ________. a) PAUSE b) TIME c) FC ans) d) All of the above
Personal customization for one user is done through the use of the __________ file. a) TACLINIT b) TACLOCL ans) c) TACLCSTM d) None of the above
Local customization for all users on a given system is done through the use of the __________ file. a) TACLINIT ans) b) TACLOCL c) TACLCSTM d) None of the above
CMON is ans) a) Command Interpreter Monitor Interface b) Command Interpreter Monitor c) Communication Interpreter Monitor Interface d) Communication Interpreter Monitor
_______ are used for interactive work and the __________ are used for programmatic work. ans) a) Commands, built-in functions. b) Built-in functions, built-in variables. c) Commands, user-defined variables. d) All of the above
Super.Super Id is a) 0,0 b) 250,250 ans) c) 255,255 d) 0,255
#COMPAREV is a ___________ a) Command ans) b) Built-in function c) Built-in variable d) Directive
#OUT is a ___________ a) Command b) Built-in function ans) c) Built-in variable d) Directive
#MYTERM is ___________ ans) a) The name of the home terminal. b) The name of the OUT file used by TACL c) Built-in function. d) Directive
_____ command is used in TACL prompt to get your volume and sub volume. a) setboth ans) b) setprompt both c) vol-subvol-both d) All of the above
________ built-in function in TACL copies specified number of characters from one variable to another. ans) a) #CHARGETV b) #COPY c) #MOVE d) #GET
___________ command is used for deleting a file ans) a) Purge b) Delete c) Remove d) None of the above
__________ displays the previously used commands a) Env ans) b) History c) Display d) None of the above
____________ is the user ID for a group manager in group 100. a) 100,100 ans) b) 100,255 c) 255,100 d) 255,255
A Guardian file with RWEP of GOGO can be described as – a) Any group member to read and write the file, but execute and purge access of the file are available only to the owner ans) b) Any group member to read and execute the file, but write and purge access of the file are available only to the owner c) Owner to read and execute the file, but write and purge access of the file is available to all members d) None of the above
A statement in TACL consists of only one commands or built-in functions. a) True ans) b) False
Before log on, which command can be used in TACL prompt? a) Fileinfo b) Volume ans) c) Time d) Setprompt both
#DELAY 10 causes TACL to delay for ____________________ . a) 10 minutes b) 10 seconds c) 1 second ans) d) 1/10th of a second
FC command allows recalling the previous line and modifying the command line ans) a) True b) False
FILEINFO command is to get the information about a file ans) a) True b) False
From the following, which #SET command does not exist in TACL? a) #SET #ASSIGN b) #SET #DEFAULTS c) #SET #INFORMAT ans) d) None of Above
How can you delete a subvolume? a) by deleting the subvol b) by deleting the volume ans) c) by deleting all the files under that subvol d) by deleting all the file under that volume
How many customization TACL support? ans) a) 2 b) 5 c) 3 d) 1
How to change priority of a process? a) setpri ans) b) altpri c) chngpri d) None of the above
How to get the information about sys<nn>? a) viewsys ans) b) sysinfo c) infosys d) None of the above
How to tell which TACL variables have been loaded from each segment file? a) Info Segfile ans) b) Seginfo c) Define segment d) None of the above
In this fully qualified file \WEST.$WRLD.GLOBE.SOURCE, what \WEST defines? a) Volume b) Subvolume c) File ans) d) System
Invalid comment syntax in TACL is – a) COMMENT ans) b) /*     */ c) == d) {   }
List down the type of variables in TACL a) Application Variable, Tandem Variable, Fup Variable ans) b) Macro Variable,Routine Variable, TEXT Variable c) Command Variable. d) None of the Above
#push a
#set a “John”
Outvar [a]
#pop a
What will be the output of the above tacl commands?
ans) a) John b) “John” c) ‘John’ d) None of the Above
#REQUESTER can be used for which of the following? ans) a) Processes, Files and Devices b) Only on Processes c) Files and Devices d) Only on files
Run command starts the process ans) a) True b) False
RUN command with the NOWAIT option will start a process that runs in the background ans) a) True b) False
TACL can operate without TACLBASE file. ans) a) True b) False
TACL macros begin with the  directive ans) a) ?TACL Macro b) Macro c) TACL d) None of the above
TACL provides – a) partial command interpreter facilities ans) b) full command interpreter facilities c) low-level programming capability d) a GUI interface to files
TACL stores DEFINEs in a) Assign ans) b) Process File Segment c) Segment File d) None of the above
The ______ command identifies you as a valid user on the Tandem system. a) USER b) MYTERM ans) c) LOGON d) NONE
The built-in function #ARGUMENT can be used in TACL ________________. ans) a) Routine b) Macro c) Alias d) None of the above
The command used to assign names of actual files to logical file names used in programs ans) a) Assign b) Pause c) Run d) None of the above
The command used to remove one or more existing DEFINEs from the process file segment a) Like Define ans) b) Delete Define c) Modify Define d) None of the above
The command which can be used to give back control of the terminal to a background ans) a) Pause b) Break c) Nowait d) Run
The functions to add and remove new variable level are ______ and _______respectively. ans) a) #PUSH & #POP b) #POP & PUSH c) #ADD & #DELETE d) #ADD & #PURGE
The Info Define command will display the attributes and values associated with one or more existing DEFINEs ans) a) True b) False
We can debug a TACL macro/routine. ans) a) True b) False
What command can be used to delete all variable in current FRAME? ans) a) #UNFRAME b) #FRAME c) #PUSH d) #POP
What is the purpose of TACL built-in functions #LINEFINDR? a) Finds the address of a specified text, searching forward ans) b) Finds the address of a specified text, searching backword c) Finds the address of a specified variable, searching backward d) Finds the address of a specified text, searching forward for the offset provided
What is a TACLCSTM? a) Usually the terminal from which a process was started. b) Usually the terminal from which a process was never started ans) c) It is an Edit File which provides Customization for Users d) None of the Above
What is Home Terminal? ans) a) Usually the terminal from which a process was started. b) Usually the terminal from which a process was never started c) Usually the terminal from which a process was ended. d) None of the Above
What is the command #MYTERM used for? a) To get the name of the process that your user id has started ans) b) To get the name of your home terminal c) To output the result on your terminal d) Not A valid builtin function
What is the output of the following TACL routine?
?SECTION abc ROUTINE
#FRAME
#PUSH var1
#SET var1 10
#OUTPUT [var1]
#OUTPUT var1
#UNFRAME
a) 10 and 10 ans) b) 10 and var1 c) var1 and 10 d) var1 and var1
What is the symbol / character used to mention the comment line in TACL? a) ! b) * c) = ans) d) = =
What is the TACL command used to discard error indications returned by a function? a) CLEAR ans) b) SINK c) DEFAULT d) BREAK
What is the use of #CHARFINDRV? ans) a) Locates string in variable, searching backward from character address b) Locates string in variable, searching forward from character address c) Obtains copy of specified number of characters from a variable d) Copies specified number of characters from one variable to another
What is the use of #RETURN? a) Writes the value of the variable ans) b) Exit from the location in routine c) Both A and B d) None of the above
What is the use of the TACL built-in functions #CHARFINDV? a) Finds the address of a specified string, searching forward ans) b) Finds the address of a specified string, searching forward in variable level c) Finds the address of a specified string, searching backward d) Finds the address of a specified string, searching backward in variable level
What will be the result of below TACL script?
#PUSH sample
#APPEND sample I am learning TACL
#OUTPUTV sample
#POP sample
a) sample ans) b) I am learning TACL c) sample I am learning TACL d) None of the above
What will be the result of below TACL script?
#PUSH sample
#APPEND sample I have learnt TACL
#APPEND sample here is the line count
#LINECOUNT sample
#OUTPUTV sample
#POP sample
a) 0 b) 1 ans) c) 2 d) 3
When you type ? on TACL prompt, what will happen? a) Re-executes previous command line ans) b) Displays previous command line c) Displays the attributes of User and Group d) Displays the attributes of current default setting
Which built in function is used by TACL to interpret an argument? a) #OUTPUT ans) b) #ARGUMENT c) %*% d) #DEF
Which built in function is used to convert GMT into local based timestamp? ans) a) #CONVERTTIMESTAMP b) #COMPUTEJULIANDAYNO c) #COMPUTETIMESTAMP d) #CONVERTPROCESSTIME
Which built-in function is used to request information about a process? a) #PROCESS b) #PROCESSEXISTS c) #NEWPROCESS ans) d) #PROCESSINFO
Which built-in variable is used to input format for TACL? ans) a) #informat b) #in c) #compute d) #PLANE
Which command shows TACL built in function and variable? a) builtvar ans) b) builtins c) show all d) All of the above
Which edit file provides customization for your personal TACL environment? a) TACLINIT ans) b) TACLCSTM c) TACLLOCL d) TACLBASE
Which is the command to allow a user to logon to the Tandem system? a) Allow ans) b) Logon c) User d) None of the above
Which is the correct notation to access parameters by position in TACL MACRO? a) $n$ b) (n) ans) c) %n% d) *n*
Which is not a valid syntax w.r.t to CLEAR? a) CLEAR ALL ASSIGN b) CLEAR ALL ans) c) CLEAR ASSIGN * d) None of the above
Which of the following can be used in a ROUTINE? a) #Argument b) #MORE c) #Rest ans) d) All of the above
Which of the following is correct comment in TACL? a) = = comment-text b) { comment-text} c) COMMENT comment-text ans) d) All the above
Which of the following is correct for a fully qualified Guardian File Name (MYFILE)? ans) a) $VOLUME.SUBVOL.MYFILE b) SUBVOLUME.MYFILE c) MYFILE d) None of the above
Which of the following is correct? a) TACL MACRO do not support Exception handling b) In TACL MACROS built-in functions like #ARGUMENT is not available c) TACL MACRO can invoke other macros and functions ans) d) All of the above
Which of the following is true about TACL? a) Can be used to obtain information about system users b) Can be used to manage files c) Can be used to define function keys ans) d) All of the above
Which of the following is valid directives in TACL? a) ?BLANK b) ?FORMAT c) ?SECTION ans) d) All of the above
Which of the following TACL command shows TACL built-in functions and variables? a) BUILTIN b) ENV c) FILES ans) d) None of the above
Which process control command is used to delete attributes set by Assign? a) DELETE DEFINE b) ALTER DEFINE ans) c) CLEAR d) RESET DEFINE