Top 150+ Solved Principles of Programming Languages MCQ Questions Answer

From 151 to 165 of 192

Q. A strict substitution is called ‘in-line expansion’or_________.

a. macro extension

b. local function

c. both a & b

d. none of these

  • a. macro extension

Q. Types of parameter passing techniques______.

a. call by value

b. call by name

c. call by reference

d. all of these

  • d. all of these

Q. _________are generally passed by reference.

a. program

b. array

c. procedure

d. none of these

  • b. array

Q. The address of actual parameter is passed to the formal parameter, “______”can happen.

a. overloading

b. aliasing

c. caller

d. none of these

  • b. aliasing

Q. ________is a second usuage demonstrate for in-out parameter.

a. call by value

b. pass by reference

c. call by address

d. none of these

  • b. pass by reference

Q. This sort of intercommunication between the modules is accomplished by_________.

a. parameter passing

b. fully dynamic data allocation

c. call by value

d. call by reference

  • a. parameter passing

Q. The hybid method between call by value and call by reference is______.

a. call by name

b. copy restore

c. call by address

d. none of these

  • b. copy restore

Q. The node of activation tree represents___________.

a. main

b. procedure

c. a and b

d. none of these

  • c. a and b

Q. The root of activation tree represents_________.

a. main program

b. called procedure

c. a and b

d. none of these

  • c. a and b

Q. ______field ,of activation record refers to non local data in another activation record .

a. actual parameters

b. access link

c. control link

d. return values

  • b. access link

Q. The control link of activation record points to__________.

a. caller procedure

b. callee procedure

c. both a & b

d. none of these

  • a. caller procedure

Q. An interpreter is a program that repetitively executes :

a. get the next statement

b. determine the action to be executed

c. perform the action

d. all of the above

  • c. perform the action

Q. ____translate code into some efficient ntermesiate representation and immediately execute that.

a. translator

b. interpreter

c. compiler

d. none of the above

  • b. interpreter
Subscribe Now

Get All Updates & News