Principles Of Programming Languages Set 7
On This Page
This set of Principles of Programming Languages Multiple Choice Questions & Answers (MCQs) focuses on Principles Of Programming Languages Set 7
Q1 | A strict substitution is called ‘in-line expansion’or_________.
- macro extension
- local function
- both a & b
- none of these
Q2 | Types of parameter passing techniques______.
- call by value
- call by name
- call by reference
- all of these
Q3 | _________are generally passed by reference.
- program
- array
- procedure
- none of these
Q4 | The address of actual parameter is passed to the formal parameter, “______”can happen.
- overloading
- aliasing
- caller
- none of these
Q5 | Any manipulation on the formal parameters doesn’t have effect on values in activation of the_____.
- caller
- callee
- call
- value
Q6 | ________is a second usuage demonstrate for in-out parameter.
- call by value
- pass by reference
- call by address
- none of these
Q7 | This sort of intercommunication between the modules is accomplished by_________.
- parameter passing
- fully dynamic data allocation
- call by value
- call by reference
Q8 | The hybid method between call by value and call by reference is______.
- call by name
- copy restore
- call by address
- none of these
Q9 | The node of activation tree represents___________.
- main
- procedure
- a and b
- none of these
Q10 | The root of activation tree represents_________.
- main program
- called procedure
- a and b
- none of these
Q11 | ______field ,of activation record refers to non local data in another activation record .
- actual parameters
- access link
- control link
- return values
Q12 | The control link of activation record points to__________.
- caller procedure
- callee procedure
- both a & b
- none of these
Q13 | An interpreter is a program that repetitively executes :
- get the next statement
- determine the action to be executed
- perform the action
- all of the above
Q14 | CPU is also an interpreter of machine instruction
- true
- false
Q15 | ____translate code into some efficient ntermesiate representation and immediately execute that.
- translator
- interpreter
- compiler
- none of the above
Q16 | Interpreters are frequently used to executed
- commad language
- glue language
- both
- none
Q17 | No intermediate code is generated in
- interpreter
- compiler
- both
- none
Q18 | BASIC language is an example of:
- interpreter
- compiler
- both
- none
Q19 | In interpreter conditional control statements are execute slower
- true
- false
Q20 | In interpreter memory required is?
- less
- more
- average
- none
Q21 | In ------- Higher level language is converted into lower level lenguage
- interpreter
- compiler
- both
- none
Q22 | In computing , an interpreter is a computer that reads the source code of another program and execute that program
- true
- false
Q23 | Self modifying code can be easily implemented by
- interpreter
- compiler
- both
- none
Q24 | Translator for low level programming language were termed as C
- assembler
- compiler
- linker
- loader
Q25 | The translator which perform macro expansion is called a
- macro processor
- macro pre-processor
- micro pre-processor
- assembler