Compilers Questions and Answers – Runtime Storage Location – 1

This set of Compilers Multiple Choice Questions & Answers (MCQs) focuses on “Runtime Storage Location – 1”.

1. The load instruction is mostly used to designate a transfer from memory to a processor register known as _______
a) Accumulator
b) Instruction Register
c) Program counter
d) Memory address Register
View Answer

Answer: a
Explanation: Accumulator is the process register.

2. A group of bits that tell the computer to perform a specific operation is known as ________
a) Instruction code
b) Micro-operation
c) Accumulator
d) Register
View Answer

Answer: a
Explanation: Instruction code is the set of specific tasks to be performed.

3. The time interval between adjacent bits is called the __________
a) Word-time
b) Bit-time
c) Turnaround time
d) Slice time
View Answer

Answer: b
Explanation: Bit time is the interval time here.
advertisement
advertisement

4. A k-bit field can specify any one of __________
a) 3k registers
b) 2k registers
c) K2 registers
d) K3 registers
View Answer

Answer: b
Explanation: 2k is the answer.

5. MIMD stands for __________
a) Multiple instruction multiple data
b) Multiple instruction memory data
c) Memory instruction multiple data
d) Multiple information memory data
View Answer

Answer: a
Explanation: MIMD stands for multiple instructions multiple data.
Sanfoundry Certification Contest of the Month is Live. 100+ Subjects. Participate Now!

6. Logic gates with a set of input and outputs are arrangement of ___________
a) Computational circuit
b) Logic circuit
c) Design circuits
d) Register
View Answer

Answer: a
Explanation: The answer is computational circuit.

7. The average time required to reach a storage location in memory and obtain its contents is called __________
a) Latency time
b) Access time
c) Turnaround time
d) Response time
View Answer

Answer: b
Explanation: Access time is the time from the start of one storage device access to the time when the next access can be started.
advertisement

8. The BSA instruction is ___________
a) Branch and store accumulator
b) Branch and save return address
c) Branch and shift address
d) Branch and show accumulator
View Answer

Answer: b
Explanation: BSA is branch and save return address.

9. A floating point number that has an O in the MSB of mantissa is said to have __________
a) Overflow
b) Underflow
c) Important number
d) Undefined
View Answer

Answer: b
Explanation: It is an underflow condition.
advertisement

10. Translation from symbolic program into Binary is done in __________
a) Two passes
b) Directly
c) Three passes
d) Four passes
View Answer

Answer: a
Explanation: Two passes are required.

Sanfoundry Global Education & Learning Series – Compilers.

To practice all areas of Compilers, here is complete set of 1000+ Multiple Choice Questions and Answers.

If you find a mistake in question / option / answer, kindly take a screenshot and email to [email protected]

advertisement
advertisement
Subscribe to our Newsletters (Subject-wise). Participate in the Sanfoundry Certification contest to get free Certificate of Merit. Join our social networks below and stay updated with latest contests, videos, internships and jobs!

Youtube | Telegram | LinkedIn | Instagram | Facebook | Twitter | Pinterest
Manish Bhojasia - Founder & CTO at Sanfoundry
Manish Bhojasia, a technology veteran with 20+ years @ Cisco & Wipro, is Founder and CTO at Sanfoundry. He lives in Bangalore, and focuses on development of Linux Kernel, SAN Technologies, Advanced C, Data Structures & Alogrithms. Stay connected with him at LinkedIn.

Subscribe to his free Masterclasses at Youtube & discussions at Telegram SanfoundryClasses.