Sail E0 Webinar

MCQs

Total Questions : 120 | Page 7 of 12 pages
Question 61. Which of the following functions is/ are performed by the loader?
  1.    Allocate space in memory for the programs and resolve symbolic references between object decks
  2.    Physically place the machine instructions and data into memory
  3.    Adjust all address dependent locations, such as address constants, to correspond to the allocated space
  4.    All of the above
 Discuss Question
Answer: Option D. -> All of the above
Question 62. A self-relocating program is one which
  1.    cannot be made to execute in any area of storage other than the one designated for it at the time of its coding or translation
  2.    consists of a program and relevant information for its relocation
  3.    can itself perform the relocation of its address-sensitive portions
  4.    All of the above
 Discuss Question
Answer: Option C. -> can itself perform the relocation of its address-sensitive portions
Question 63. The advantage(s) of incorporating the macro processor into pass 1 is/ are:
  1.    many functions do not have to be implemented twice
  2.    Functions are combined and it is not necessary to create intermediate files as output from the macro processor and input to the assembler
  3.    more flexibility is available to the programmer in which he/she may use all the features of the assembler in conjunction with macros
  4.    All of the above
 Discuss Question
Answer: Option D. -> All of the above
Question 64. In which addressing mode, the effective address of the operand is generated by adding a constant value to the contents of register?
  1.    absolute mode
  2.    indirect mode
  3.    immediate mode
  4.    index mode
 Discuss Question
Answer: Option D. -> index mode
Question 65. 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 66. 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 67. 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 68. 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 69. 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 70. 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)

Latest Videos

Latest Test Papers