1 Que: A ________________ statement declare the name of macro.
|
a. macro prototype |
b. macro definition |
c. macro identification |
d. None of the above |
Answer: (a) macro prototype
2 Que: A co-processor-
|
a. is used to support in software |
b. is used in fifth generation computers |
c. is used in combination with every application |
d. none of these |
Answer: (a). is used to support in software
3 Que: A macro can be used
|
a. in data segment |
b. to represent directives |
c. to represent statements |
d. all of the mentioned |
Answer: (d). all of the mentioned
4 Que: A macro definition consists of
|
a. A macro prototype statement |
b. One or more model statements |
c. Macro pre-processor statements |
d. All of the above |
Answer: (d). All of the above
5 Que: A macro within a macro is called
|
a. macro-within-macro |
b. nested macro |
c. macro-in-macro |
d. none of the mentioned |
Answer: (b). nested macro
6 Que: A model statement contains call for another macro is called as
|
a. referential macro call |
b. nested macro call |
c. inbuilt macro call |
d. inherited macro call |
Answer: (b). nested macro call
7 Que: Advantage of incorporating the macro-processor into pass 1 is that
|
a. many functions have to be implemented twice |
b. more flexibility is available to the programmer in that he may use all the features of the assembler in conjunction with macros. |
c. functions are combined and it is not necessary to create intermediate files as output from the macro-processor and input to the assembler. |
d. all of these |
Answer: (d). all of these
8 Que: During macro expansion each statement is replaced by
|
a. the original program |
b. the sequence of assembly statement |
c. by specific synbols |
d. None of the above |
Answer: (b). the sequence of assembly statement
9 Que: Each macro statement is marked with the __________ sign preceded it.
|
a. #ERROR! |
b. @ |
c. ~ |
d. $ |
10 Que: Expansion time variables are used
|
a. Before expansion of micro calls |
b. only during expansion of macro calls |
c. After expansion of micro calls |
d. Any one of the above |
Answer: (b). only during expansion of macro calls