Sail E0 Webinar

MCQs

Total Questions : 120 | Page 6 of 12 pages
Question 51. 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 all temporary locations that are necessary for intermediate results
  3.    to assign storage to literals, and to ensure that the storage is allocated and appropriate locations are initialized
  4.    All of the above
 Discuss Question
Answer: Option D. -> All of the above
Question 52. A sequence of instructions, in a computer language, to get the desired result, is known as
  1.    Algorithm
  2.    Decision Table
  3.    Program
  4.    All of the above
 Discuss Question
Answer: Option C. -> Program
Question 53. An algorithm is best described as
  1.    A computer language
  2.    A step by step procedure for solving a problem
  3.    A branch of mathematics
  4.    All of the above
 Discuss Question
Answer: Option B. -> A step by step procedure for solving a problem
Question 54. Indicate whether the statement LDA B is a statement, in
  1.    Machine language
  2.    Assembly language
  3.    High level language
  4.    All of the above
 Discuss Question
Answer: Option B. -> Assembly language
Question 55. The function(s) of the Syntax phase is/ are:
  1.    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
  2.    to build a literal table and an identifier table
  3.    to build a uniform symbol table
  4.    to parse the source program into the basic elements or tokens of the language
 Discuss Question
Answer: Option A. -> 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 56. Which table is a permanent databases that has an entry for each terminal symbol?
  1.    Terminal table
  2.    Literal table
  3.    Identifier table
  4.    Reductions
 Discuss Question
Answer: Option A. -> Terminal table
Question 57. Indicate which of the following is not true about an interpreter?
  1.    Interpreter generates an object program from the source program
  2.    Interpreter is a kind of translator
  3.    Interpreter analyses each source statement every time it is to be executed
  4.    All of the above
 Discuss Question
Answer: Option A. -> Interpreter generates an object program from the source program
Question 58. When a computer is first turned on or restarted, a special type of absolute loader, called a ______ is executed
  1.    loader
  2.    linker
  3.    bootstrap loader
  4.    None of the above
 Discuss Question
Answer: Option C. -> bootstrap loader
Question 59. Loaders that allow for program relocation are called
  1.    relocating loaders
  2.    relative loaders
  3.    both (a) and (b)
  4.    None of the above
 Discuss Question
Answer: Option C. -> both (a) and (b)
Question 60. Convert the 11014B machine language instructions into assembly language, assuming that they were not generated by pseudo-ops:
  1.    ASRA
  2.    LOADA h#OD4E, i
  3.    STOREA h#014B, d
  4.    ADDA h#01FE, i
 Discuss Question
Answer: Option C. -> STOREA h#014B, d

Latest Videos

Latest Test Papers