Software Engineering Mcqs » Language processors
The advantage(s) of incorporating the macro processor into pass 1 is/ are_______________?

A. many functions do not have to be implemented twice
B. more flexibility is available to the programmer in which he/she 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 the above

A non-relocatable program is one which___________________?

A. consists of a program and relevant information for its relocation
B. can itself perform the relocation of its address-sensitive portions
C. cannot be made to execute in any area of storage other than the one designated for it at the time of its coding or translation
D. All of the above

Indicate which of the following is not true about an interpreter ?

A. Interpreter is a kind of translator
B. Interpreter generates an object program from the source program
C. Interpreter analyses each source statement every time it is to be executed
D. All of the above

The function(s) of the Storage Assignment is/are_________________?

A. to assign storage to literals, and to ensure that the storage is allocated and appropriate locations are initialized
B. to assign storage to all temporary locations that are necessary for intermediate results
C. to assign storage to all variables referenced in the source program
D. All of the above

Which table is a permanent databases that has an entry for each terminal symbol ?

A. Reductions
B. Literal table
C. Identifier table
D. Terminal table