Top 150+ Solved Principles of Programming Languages MCQ Questions Answer
Q. Which of the following is machine independence program?
a. high level language
b. low level language
c. assembly language
d. machine language
Q. For specifying the syntax of a language _____________ is used.
a. context free language
b. regular expression
c. finite automata
d. none of these
Q. Semantic of aprogram means
a. format of a program
b. meaning of a program
c. simply content of a program
d. none of these
Q. The graphical representation of syntax is represented by ___________.
a. finite diagram
b. er diagram
c. syntax diagram
d. none of these
Q. Which one of the following is not the stage of software development?
a. requirement analysis and gathering
b. problem identification
c. software design
d. maintenance
Q. The Linker __________________.
a. is similar to interpreter
b. uses source code as its input
c. it is required to create a load module
d. none of these
Q. FORTRAN stands for:
a. free translator
b. formula translator
c. formula translation
d. free translation
Q. The value of an automatic variable that is declared but not initialized will be
a. 0
b. -1
c. unpredictable
d. none of these
Q. The default parameter passing method used in C++ is ____________.
a. call by reference
b. call by value
c. call by name
d. none of these
Q. The difference between memory and storage is that memory is __________________ and storage is __________.
a. temporary, permanent
b. permanent,temporary
c. slow,fast
d. all of above
Q. What is relationship between reliability and failure?
a. direct relation
b. inverse relation
c. no relation
d. varying relationdepending upon the situation
Q. Language efficiency can be achieved by ___________.
a. maximum speed
b. less memory consumption
c. reusability
d. all of these