Sail E0 Webinar

MCQs

Total Questions : 61 | Page 1 of 7 pages
Question 1. Which of the following functions is/ are performed by the loader?
  1.    Adjust all address dependent locations, such as address constants, to correspond to the allocated space
  2.    Physically place the machine instructions and data into memory
  3.    Allocate space in memory for the programs and resolve symbolic references between object decks
  4.    All of these
 Discuss Question
Answer: Option D. -> All of these
Question 2. A self-relocating program is one which
  1.    can itself perform the relocation of its address-sensitive portions
  2.    All of these
  3.    consists of a program and relevant information for its relocation
  4.    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
 Discuss Question
Answer: Option A. -> can itself perform the relocation of its address-sensitive portions
Question 3. Convert the 11014B machine language instructions into assembly language, assuming that they were not generated by pseudo-ops:
  1.    STOREA h#014B, d
  2.    ASRA
  3.    LOADA h#OD4E, i
  4.    ADDA h#01FE, i
 Discuss Question
Answer: Option A. -> STOREA h#014B, d
Question 4. In which addressing mode, the effective address of the operand is generated by adding a constant value to the contents of register?
  1.    immediate mode
  2.    index mode
  3.    indirect mode
  4.    absolute mode
 Discuss Question
Answer: Option B. -> index mode
Question 5. The advantage(s) of incorporating the macro processor into pass 1 is/ are:
  1.    All of these
  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.    many functions do not have to be implemented twice
 Discuss Question
Answer: Option A. -> All of these
Question 6. If special forms are needed for printing the output, the programmer specifies these forms through
  1.    Load modules
  2.    JCL
  3.    Utility programs
  4.    IPL
 Discuss Question
Answer: Option B. -> JCL
Question 7. Which of the following systems software does the job of merging the records from two flies into one?
  1.    Networking software
  2.    Utility program
  3.    Security software
  4.    Documentation system
 Discuss Question
Answer: Option B. -> Utility program
Question 8. In analyzing the compilation of PL/I program, the term "Lexical analysis" is associated with
  1.    use of macro processor to produce more optimal assembly code
  2.    creation of more optional matrix
  3.    recognition of basic elements and creation of uniform symbols
  4.    recognition of basic syntactic constructs through reductions
 Discuss Question
Answer: Option C. -> recognition of basic elements and creation of uniform symbols
Question 9. Job Control Language (JCL) statements are Used to
  1.    Read the input from the slow-speed card reader to the high-speed magnetic disk
  2.    All of these
  3.    Specify, to the operating system, the beginning and end of a job in a batch
  4.    Allocate the CPU to a job
 Discuss Question
Answer: Option C. -> Specify, to the operating system, the beginning and end of a job in a batch
Question 10. In analyzing the compilation of PL/I program, the term "Syntax analysis" is associated with
  1.    recognition of basic elements and creation of uniform symbols
  2.    creation of more optional matrix
  3.    use of macro processor to produce more optimal assembly code
  4.    recognition of basic syntactic constructs through reductions
 Discuss Question
Answer: Option D. -> recognition of basic syntactic constructs through reductions

Latest Videos

Latest Test Papers