Top 150+ Solved Principles of Programming Languages MCQ Questions Answer
Q. In ------- Higher level language is converted into lower level lenguage
a. interpreter
b. compiler
c. both
d. none
Q. Translator for low level programming language were termed as C
a. assembler
b. compiler
c. linker
d. loader
Q. The translator which perform macro expansion is called a
a. macro processor
b. macro pre-processor
c. micro pre-processor
d. assembler
Q. Which of the following can be used as a criterion for classification of data structures used in language processing.
a. nature of a data structure
b. purpose of a data structure
c. lifetime of a data structure
d. all of the above
Q. An assembler is
a. programming language dependent.
b. syntax dependant.
c. machine dependant.
d. data dependant.
Q. An interpreter is a program that
a. places programs into memory and prepares then for execution
b. automates the translation of assemble language into machine language
c. accepts a program written in a high level language and produces an object program
d. appears to execute a resource as if it were machine language
Q. disadvantage of compiler and go loading scheme is that
a. a position of memory is wasted because the case occupied by the assembler is unavailable the object program
b. it is necessary to retranslate the users program check every time it is run
c. it is very difficult to handle multiple segments especially if the source programs are in different language and to produce overlay modular programs
d. all of the above