Top 150+ Solved Principles of Programming Languages MCQ Questions Answer

From 16 to 30 of 192

Q. Which of the following is machine independence program?

a. high level language

b. low level language

c. assembly language

d. machine language

  • a. high level 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

  • a. context free language

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

  • a. format of a program

Q. The graphical representation of syntax is represented by ___________.

a. finite diagram

b. er diagram

c. syntax diagram

d. none of these

  • c. syntax diagram

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

  • b. problem identification

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

  • c. it is required to create a load module

Q. FORTRAN stands for:

a. free translator

b. formula translator

c. formula translation

d. free translation

  • b. formula translator

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

  • c. unpredictable

Q. In C, reference is declared using the symbol

a. *

b. &

c. &&

d. !

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

  • b. call by value

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

  • a. temporary, permanent

Q. What is relationship between reliability and failure?

a. direct relation

b. inverse relation

c. no relation

d. varying relationdepending upon the situation

  • b. inverse relation

Q. Language efficiency can be achieved by ___________.

a. maximum speed

b. less memory consumption

c. reusability

d. all of these

  • d. all of these
Subscribe Now

Get All Updates & News