Sail E0 Webinar

MCQs

Total Questions : 120 | Page 1 of 12 pages
Question 1. 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 2. 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
Question 3. 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 4. 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 5. 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 6. If special forms are needed for printing the output, the programmer specifies these forms through
  1.    JCL
  2.    IPL
  3.    Utility programs
  4.    Load modules
 Discuss Question
Answer: Option A. -> JCL
Question 7. Which of the following systems software does the job of merging the records from two flies into one?
  1.    Documentation system
  2.    Utility program
  3.    Networking software
  4.    Security software
 Discuss Question
Answer: Option B. -> Utility program
Question 8. 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.    Specify, to the operating system, the beginning and end of a job in a batch
  3.    Allocate the CPU to a job
  4.    All of the above
 Discuss Question
Answer: Option B. -> Specify, to the operating system, the beginning and end of a job in a batch
Question 9. In analyzing the compilation of PL/I program, the term "Syntax analysis" 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 A. -> recognition of basic syntactic constructs through reductions
Question 10. Terminal Table
  1.    a permanent table which lists all key words and special symbols of the language in symbolic form
  2.    a permanent table of decision rules in the form of patterns for matching with the uniform symbol table to discover syntactic structure
  3.    consists of a full or partial list of the tokens as they appear in the program. Created by Lexical analysis and used for syntax analysis and interpretation
  4.    contains all constants in the program
 Discuss Question
Answer: Option A. -> a permanent table which lists all key words and special symbols of the language in symbolic form

Latest Videos

Latest Test Papers