Top 150+ Solved Principles of Programming Languages MCQ Questions Answer
Q. which of the following are language processors
a. assembler
b. compilers
c. interpreter
d. all of these
Q. An assembler converts
a. machine code to mnemonics
b. high level language to assembly level
c. assembly language to machine language
d. all of the above
Q. Numerous binding are performed amid program execution is called_ _ _ _
a. run time binding
b. late binding
c. both a) & b)
d. early binding
Q. The time amid program formulation or processing when this decision is made is named........
a. binding period
b. binding cycle
c. binding time
d. none
Q. Which of the following logic is used to produce loops in programme logic?1)A data object that is characterized and named unequivocally in a program is named as…………...
a. value.
b. variables.
c. name.
d. scope.
Q. The function with the name ___________ is always written in every program
a. int
b. main
c. void
d. factorial
Q. The scope of a variable declared externally, is__________
a. local within the function declared
b. global
c. in multiple programs
d. none of the above
Q. The scope of a variable declared as static storage class is__________
a. local within the function declared
b. in multiple programs
c. global
d. none of the above
Q. __________binding is used to define the scope in terms of the lexical structure of a program.
a. static scope.
b. dynamic scope.
c. both
d. none of these