Sail E0 Webinar

MCQs

Total Questions : 25 | Page 2 of 3 pages
Question 11. The instructions like MOV or ADD are called as ______
  1.    OP-Code
  2.    Operators
  3.    Commands
  4.    None of the mentioned
 Discuss Question
Answer: Option A. -> OP-Code




Question 12. The last statement of the source program should be _______
  1.    Stop
  2.    Return
  3.    OP
  4.    End
 Discuss Question
Answer: Option D. -> End




Question 13. DEBUG is able to troubleshoot only
  1.    .EXE files
  2.    .OBJ files
  3.    .EXE file and .OBJ file
  4.    .EXE flie and .LST file
 Discuss Question
Answer: Option A. -> .EXE files




Question 14. The purpose of the ORIGIN directive is __________
  1.    To indicate the starting position in memory, where the program block is to be stored
  2.    To indicate the starting of the computation code
  3.    To indicate the purpose of the code
  4.    To list the locations of all the registers used
 Discuss Question
Answer: Option A. -> To indicate the starting position in memory, where the program block is to be stored




Question 15. A single two pass assembler does which of the following in the first pass
  1.    It allicates space for the literals
  2.    It computes the total length of the program
  3.    It builds the symbol table for the symbols and their values
  4.    All of the above
 Discuss Question
Answer: Option D. -> All of the above




Question 16. In a two pass assembler, adding literals to literal table and address resolution of local symbols are done using?
  1.    First pass and second respectively
  2.    Both second pass
  3.    Second pass and first respectively
  4.    Both first pass
 Discuss Question
Answer: Option D. -> Both first pass




Question 17. A machine language instruction format consists of
  1.    Operand field
  2.    Operation code field
  3.    Operation code field & operand field
  4.    None of the mentioned
 Discuss Question
Answer: Option C. -> Operation code field & operand field




Question 18. The extension file that is must for a file to be accepted by the LINK as a valid object file is
  1.    .OBJ file
  2.    .EXE file
  3.    .MASM file
  4.    DEBUG file
 Discuss Question
Answer: Option A. -> .OBJ file




Question 19. The listing file is identified by
  1.    source file name
  2.    extension .LSF
  3.    source file name and an extension .LSF
  4.    source file name and an extension .LST
 Discuss Question
Answer: Option D. -> source file name and an extension .LST




Question 20. What is the content of Stack Pointer?
  1.    Address of the current instruction
  2.    Address of the next instruction
  3.    Address of the top element of the stack
  4.    None of these
 Discuss Question
Answer: Option C. -> Address of the top element of the stack




Latest Videos

Latest Test Papers