250+ TOP MCQs on Symbol Table Organization and Answers

Compilers Assessment Questions and Answers on “Symbol Table Organization”.

1. Generally Dynamic RAM is used as main memory in a computer system as it ____________
a) Consumes less power
b) Has higher speed
c) Has lower cell density
d) Needs refreshing circuitry

Answer: b
Clarification: Because of higher speed it is Dynamic.

2. Write Through technique is used in which memory for updating the data ___________
a) Virtual memory
b) Main memory
c) Auxiliary memory
d) Cache memory

Answer: d
Clarification: The answer is cache memory.

3. Cache memory acts between __________
a) CPU and RAM
b) RAM and ROM
c) CPU and Hard Disk
d) None of the mentioned

Answer: a
Clarification: It acts between CPU and RAM.

4. The circuit used to store one bit of data is known as __________
a) Encoder
b) OR gate
c) Flip Flop
d) Decoder

Answer: c
Clarification: Flip flop is 1 bit circuit.

5. Von Neumann architecture is __________
a) SISD
b) SIMD
c) MIMD
d) MISD

Answer: a
Clarification: It is single instruction single data.

6. In a vectored interrupt ____________
a) The branch address is assigned to a fixed location in memory
b) The interrupting source supplies the branch information to the processor through an interrupt vector
c) The branch address is obtained from a register in the processor
d) None of the mentioned

Answer: b
Clarification: It branches to process the interrupt.

7. In a memory-mapped I/O system, which of the following will not be there?
a) LDA
b) IN
c) ADD
d) OUT

Answer: a
Clarification: There is no LDA.

8. If memory access takes 20 ns with cache and 110 ns without it, then the ratio (cache uses a 10 ns memory) is __________
a) 93%
b) 90%
c) 88%
d) 87%

Answer: b
Clarification: The answer is 90%.

9. The addressing mode used in an instruction of the form ADD X Y is ________
a) Absolute
b) Indirect
c) Index
d) None of the mentioned

Answer: c
Clarification: This addressing mode is indexed.

10. _________ register keeps track of the instructions stored in program stored in memory.
a) AR (Address Register)
b) XR (Index Register)
c) PC (Program Counter)
d) AC (Accumulator)

Answer: c
Clarification: Program Counter keeps track of the next instruction.

Leave a Reply

Your email address will not be published. Required fields are marked *