Top 150+ Solved Principles of Programming Languages MCQ Questions Answer
Q. The desire to apply the computerin more and more applications led to its being used in increasingly less under-stood and more -----------------
a. historical perspective
b. sophisticated environments.
c. none of the above
d. allof theabove
Q. _________considerations forced people to enhancean existing system to meet the newly recognized needs.
a. social
b. economic
c. none of the above
d. allof theabove
Q. is another issue that has gained importance gradually,because of two major factors.
a. system reliability
b. language and maintainability
c. none of the above
d. allof theabove
Q. System reliability is another issue that has gained importance gradually,because of --------------major factors.
a. one
b. two
c. none of the above
d. three
Q. One factor of system Reliability isthat systems are being developedfor users with little or no ---------
a. computer background
b. image background
c. none of the above
d. allof theabove
Q. The second factor of system reliability is that systemsare now being applied in critical areas such as chemical or nuclear plants andpatient monitoring, where system failures can be disastrous. In order toensure ----------, verification and validation became vital..
a. reliability
b. maintainability
c. none of the above
d. allof theabove
Q. In the early days of computing, the ------------- was used mainly in scientific applications
a. computer
b. printer
c. none of the above
d. allof theabove
Q. The runtime storage might be subdivided of hold___________.
a. generated target code
b. data objects
c. control stack for procedure activation
d. all of these
Q. During exection of a program the compiler clemandy for block of memory to operahng system This block is called as______________.
a. code memory
b. data memory
c. runtime
d. none of these
Q. Data memory is divided into_________________.
a. static data area
b. stack area
c. heap area
d. all of these
Q. following are the limitations of static allocation strategy
a. size of data objects should be known at compile time
b. data structure can not be created dynamically this allocation strategy
c. recursion procedure are not supported by this allocation strategy
d. all of these
Q. which field is not present in the activation record?
a. actual parameter
b. register allocation
c. saved machine status
d. access link
Q. In activation record the control link is basically a____________.
a. static link
b. dynamic link
c. null pointer
d. none of these
Q. The assigned a pointer to the first instruction of the code segment for the_____.
a. code memory
b. variable
c. subprogram
d. none of these
Q. A block representation can be portrayed by ________,which demonstrates how blocks are nested into one another.
a. current instruction pointer(cip)
b. static nesting tree(snt)
c. current environment pointer(cep)
d. all of these