Sail E0 Webinar

MCQs

Total Questions : 61 | Page 6 of 7 pages
Question 51. A base register table
  1.    allows the programmer to write base registers and displacements explicitly in the source program
  2.    is used to remember which of the general-purpose registers are currently available as base registers, and what base addresses they contain
  3.    allows multiple programs to reside in separate areas of core at the same time
  4.    is a term that refers to the control programs of an operating system
 Discuss Question
Answer: Option B. -> is used to remember which of the general-purpose registers are currently available as base registers, and what base addresses they contain
Question 52. The function(s) of the Storage Assignment is/are:
  1.    to assign storage to all variables referenced in the source program
  2.    to assign storage to literals, and to ensure that the storage is allocated and appropriate locations are initialized
  3.    to assign storage to all temporary locations that are necessary for intermediate results
  4.    All of these
 Discuss Question
Answer: Option D. -> All of these
Question 53. Indicate whether the statement LDA B is a statement, in
  1.    Machine language
  2.    All of these
  3.    High level language
  4.    Assembly language
 Discuss Question
Answer: Option D. -> Assembly language
Question 54. An algorithm is best described as
  1.    A step by step procedure for solving a problem
  2.    All of these
  3.    A branch of mathematics
  4.    A computer language
 Discuss Question
Answer: Option A. -> A step by step procedure for solving a problem
Question 55. A sequence of instructions, in a computer language, to get the desired result, is known as
  1.    Program
  2.    All of these
  3.    Algorithm
  4.    Decision Table
 Discuss Question
Answer: Option A. -> Program
Question 56. In analyzing the compilation of PL/I program, the term "Machine independent optimization" is associated with
  1.    recognition of basic syntactic constructs through reductions
  2.    recognition of basic elements and creation of uniform symbols
  3.    creation of more optional matrix
  4.    use of macro processor to produce more optimal assembly code
 Discuss Question
Answer: Option C. -> creation of more optional matrix
Question 57. Indicate which of the following is not true about an interpreter?
  1.    All of these
  2.    Interpreter generates an object program from the source program
  3.    Interpreter is a kind of translator
  4.    Interpreter analyses each source statement every time it is to be executed
 Discuss Question
Answer: Option B. -> Interpreter generates an object program from the source program
Question 58. The function(s) of the Syntax phase is/ are:
  1.    to parse the source program into the basic elements or tokens of the language
  2.    to build a uniform symbol table
  3.    to recognize the major constructs of the language and to call the appropriate action routines that will generate the intermediate form or matrix for these constructs
  4.    to build a literal table and an identifier table
 Discuss Question
Answer: Option C. -> to recognize the major constructs of the language and to call the appropriate action routines that will generate the intermediate form or matrix for these constructs
Question 59. Which table is a permanent databases that has an entry for each terminal symbol?
  1.    Terminal table
  2.    Reductions
  3.    Literal table
  4.    Identifier table
 Discuss Question
Answer: Option A. -> Terminal table
Question 60. When a computer is first turned on or restarted, a special type of absolute loader, called a ______ is executed
  1.    bootstrap loader
  2.    loader
  3.    linker
  4.    None of these
 Discuss Question
Answer: Option A. -> bootstrap loader

Latest Videos

Latest Test Papers