Sail E0 Webinar

MCQs

Total Questions : 120 | Page 5 of 12 pages
Question 41. Convert the 080D4E 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 B. -> LOADA h#OD4E, i
Question 42. Which of the following system program forgoes the production of object code to generate absolute machine code and load it into the physical main storage location from which it will be executed immediately upon completion of the assembly?
  1.    two pass assembler
  2.    load-and-go assembler
  3.    macroprocessor
  4.    compiler
 Discuss Question
Answer: Option B. -> load-and-go assembler
Question 43. Convert the 48 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 A. -> ASRA
Question 44. The macro processor must perform
  1.    recognize macro definitions and macro calls
  2.    save the macro definitions
  3.    expand macro calls and substitute arguments
  4.    All of the above
 Discuss Question
Answer: Option D. -> All of the above
Question 45. In an absolute loading scheme, which loader function is accomplished by assembler
  1.    Reallocation
  2.    Allocation
  3.    Linking
  4.    Loading
 Discuss Question
Answer: Option A. -> Reallocation
Question 46. Convert the .BYTE h#F8 assembly language pseudo-ops into hexadecimal machine language:
  1.    0111EF
  2.    03 16
  3.    F8
  4.    42 65 61 72
 Discuss Question
Answer: Option C. -> F8
Question 47. In what module, multiple instances of execution will yield the same result even if one instancy has not terminated before the next one has begun?
  1.    non-reusable module
  2.    serially reusable
  3.    reenterable module
  4.    recursive module
 Discuss Question
Answer: Option C. -> reenterable module
Question 48. A loader is
  1.    a program that places programs into memory and prepares them for execution
  2.    a program that automate the translation of assembly language into machine language
  3.    is a program that appears to execute a source program as if it were machine language
  4.    program that accepts a program written in a high level language and produces an object program
 Discuss Question
Answer: Option A. -> a program that places programs into memory and prepares them for execution
Question 49. Bug means
  1.    A logical error in a program
  2.    A difficult syntax error in a program
  3.    Documenting programs using an efficient documentation tool
  4.    All of the above
 Discuss Question
Answer: Option A. -> A logical error in a program
Question 50. A base register table
  1.    is a term that refers to the control programs of an operating system
  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.    allows the programmer to write base registers and displacements explicitly in the source program
 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

Latest Videos

Latest Test Papers