Explore topic-wise MCQs in Compilers.

This section includes 8 Mcqs, each offering curated multiple-choice questions to sharpen your Compilers knowledge and support exam preparation. Choose a topic below to get started.

1.

In computers, subtraction is carried out generally by __________

A. 1 s complement method
B. 2 s complement method
C. signed magnitude method
D. BCD subtraction method
Answer» C. signed magnitude method
2.

PSW is saved in stack when there is a ________

A. Interrupt recognized
B. Execution of RST instruction
C. Execution of CALL instruction
D. All of the mentioned
Answer» B. Execution of RST instruction
3.

The multiplicand register & multiplier register of a hardware circuit implementing booth s algorithm have (11101) & (1100). The result shall be ______

A. (812)10
B. (-12)10
C. (12)10
D. (-812)10
Answer» B. (-12)10
4.

A three input NOR gate gives logic high output only when _____________

A. One input is high
B. One input is low
C. Two input are low
D. All input are high
Answer» E.
5.

N bits in operation code imply that there are ___________ possible distinct Operators.

A. 2n
B. 2<sup>n</sup>
C. n/2
D. n2
Answer» C. n/2
6.

Memory unit accessed by content is called ______

A. Read only memory
B. Programmable Memory
C. Virtual Memory
D. Associative Memory
Answer» E.
7.

Aging registers are _______

A. Counters which indicate how long ago their associated pages have been Referenced
B. Registers which keep track of when the program was last accessed
C. Counters to keep track of last accessed instruction
D. Counters to keep track of the latest data structures referred
Answer» B. Registers which keep track of when the program was last accessed
8.

The instruction ORG O is a ______

A. Machine Instruction
B. Pseudo instruction
C. High level instruction
D. Memory instruction
Answer» C. High level instruction