Assembly Language(Engineering > Computer Science And Engineering ) Questions and Answers

Question 1. System programs such as compiler are designed as that they are
  1.    re-enterable
  2.    non-reusable
  3.    serially usable
  4.    recursive
Explanation:-
Answer: Option A. -> re-enterable





Question 2. In a two-pass assembler, the task of the Pass II is to
  1.    separate the symbol, mnemonic opcode and operand fields
  2.    build the symbol table
  3.    construct intermediate code
  4.    synthesize the target program
Explanation:-
Answer: Option D. -> synthesize the target program





Question 3. In a two-pass assembler, the task of the Pass II is to
  1.    separate the symbol, mnemonic opcode and operand fields
  2.    build the symbol table
  3.    construct intermediate code
  4.    synthesize the target program
Explanation:-
Answer: Option D. -> synthesize the target program





Question 4. Which of the following are language processors
  1.    assembler
  2.    compilers
  3.    interpreter
  4.    All of these
Explanation:-
Answer: Option A. -> assembler





Question 5. In a two pass assembler the object code generation is done during the?
  1.    Second pass
  2.    First pass
  3.    Zeroeth pass
  4.    Not done by assembler
Explanation:-
Answer: Option A. -> Second pass





Question 6. Number of machine cycles required for RET instruction in 8085 microprocessor is
  1.    1
  2.    2
  3.    3
  4.    5
Explanation:-
Answer: Option C. -> 3





Question 7. Binder performs the functions of
  1.    allocation
  2.    relocation
  3.    linking
  4.    All of these
Explanation:-
Answer: Option D. -> All of these





Question 8. Translator for low level programming language were termed as
  1.    Assembler
  2.    Compiler
  3.    Linker
  4.    Loader
Explanation:-
Answer: Option A. -> Assembler





Question 9. context free language can be recognized by
  1.    finite state automation
  2.    linear bounded automation
  3.    linear bounded automation
  4.    both (b) and (c)
Explanation:-
Answer: Option D. -> both (b) and (c)





Question 10. The instruction format 'register to register' has a length of
  1.    2 bytes
  2.    1 byte
  3.    3 bytes
  4.    4 bytes
Explanation:-
Answer: Option A. -> 2 bytes