Top 150+ Solved Principles of Programming Languages MCQ Questions Answer
Q. For defining interface in java --------- keyword is used?
a. interface
b. interface
c. inter
d. class_interface
Q. choose the correct? I)procedure is a kind of routine that return a value? II)functio is a kind of routine that dose no return any value?
a. only one
b. only two
c. both i&ii
d. none of these
Q. exception handling is for….
a. handling run time error
b. handling syntax error
c. handling logical error
d. all of these
Q. FORTRAN uses______________.
a. static allocation strategy
b. stack allocation strategy
c. heap allocation strategy
d. none of these
Q. Execution time languages can be classified are__________.
a. static languages
b. stack-based languages
c. fully dynamic languages
d. all of these
Q. call by name parameter passing method is used in___________.
a. c
b. pascal
c. algol
d. none of these
Q. copy restore parameter passing method is used in___________.
a. c
b. pascal
c. ada
d. none of these
Q. Grammars are capable to describe the structure of ........and independent ........models.
a. language and computational
b. language and lexical
c. language and syntactic
d. none of above.
Q. The language syntax is characterized by two arrangements of rules: ....... and.........
a. logical and syantax
b. lexical and syntactic
c. lexical and symmetric
d. none of these
Q. The distinctin among ......and......standards is to same degree Subjective.
a. logical and syantax
b. lexical and symmetric
c. lexical and syntactic
d. none of these
Q. ........give another method for characterizing structure of Programming language.
a. syntax diagrams.
b. axiomatic and denotational approach.
c. context free grammar
d. all of these.