TACL – Tandem Advanced Command Language Intermediate Quiz

TACL – Tandem Advanced Command Language Intermediate Quiz

 



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


Assume that CALLME in the below TACL script is a file name. VARTOFILE moves the contents of a variable into a file. Now, if the file CALLME is not present in the subvolume you execute this TACL script, what would be the result?
#PUSH v1
#SET v1 hello
VARTOFILE v1 CALLME
a) Returns error 14 ans) b) Creates the file and copies the content of v1 c) Creates the file but does not copy the contents of v1 into it d) Searches for the file in other Subvolumes and copies contents of v1 into it.
Assume var1 is TACL variable having below value
ABCDEFGHIJKLMNOPQRSTUVWXYZ
What will be the result of -#CHARCOUNT var1
ans) a) 26 b) 28 c) 29 d) None of the above
TACL Built in function #DEBUGPROCESS corresponds to which of below Guardian procedure? ans) a) PROCESS_DEBUG_ b) DEBUG_PROCESS_ c) DEBUG_ d) None of the above
Tacl built in function #FRAME does not have corresponding Guardian procedure. ans) a) True b) False
Use of which character at the end of a line of TACL command signals that the line continues on the next physical line? a) @ ans) b) & c) / d) !
Which of the below options is true for a TACL process? a) Can run at a high PIN b) Can create a high-PIN process c) Can be created by a high-PIN process ans) d) All of the above
Which of the following command enables TACL debugger? ans) a) #SET #TRACE -1 b) #SET #TRACE 0 c) #SET #TRACE TRUE d) None of the above
Which of the following is correct for a TACL command to list all the processes created by the SUPER user (255,255)? a) status *, user b) status *, user super.super c) status *, user 255,255 ans) d) Both b & c are correct
Which of the following TACL command shows TACL built-in functions? ans) a) BUILTINS b) ENV c) FILES d) STATUS
Which one of the below is NOT a TACL Variable? a) TEXT b) DIRECTORY c) DELTA ans) d) NUMBER
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 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