Explore topic-wise MCQs in Compilers.

This section includes 10 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 signed-magnitude binary division, if the dividend is (11100)2 and divisor is (10011)2 then the result is _________

A. (00100)2
B. (10100)2
C. (11001)2
D. (01100)2
Answer» C. (11001)2
2.

Virtual memory consists of _________

A. Static RAM
B. Dynamic RAM
C. Magnetic memory
D. None of the mentioned
Answer» B. Dynamic RAM
3.

In a program using subroutine call instruction, it is necessary ___________

A. Initialize program counter
B. Clear the accumulator
C. Reset the microprocessor
D. Clear the instruction register
Answer» E.
4.

A Stack-organised Computer uses instruction of __________

A. Indirect addressing
B. Two-addressing
C. Zero addressing
D. Index addressing
Answer» D. Index addressing
5.

If the main memory is of 8K bytes and the cache memory is of 2K words. It uses associative mapping. Then each word of cache memory shall be __________

A. 11 bits
B. 21 bits
C. 16 bits
D. 20 bits
Answer» D. 20 bits
6.

Logic X-OR operation of (4ACO) H & (B53F) H results __________

A. AACB
B. 0000
C. FFFF
D. ABCD
Answer» D. ABCD
7.

When CPU is executing a Program that is part of the Operating System, it is said to be in __________

A. Interrupt mode
B. System mode
C. Half mode
D. Simplex mode
Answer» C. Half mode
8.

An n-bit microprocessor has __________

A. n-bit program counter
B. n-bit address register
C. n-bit ALU
D. n-bit instruction register
Answer» E.
9.

Cache memory works on the principle of _________

A. Locality of data .
B. Locality of memory
C. Locality of reference
D. Locality of reference & memory
Answer» D. Locality of reference & memory
10.

The main memory in a Personal Computer (PC) is made of __________

A. Cache memory
B. Static RAM
C. Dynamic Ram
D. Cache memory & RAM
Answer» E.