Computer Organization Questions and Answers – Hazards of Processor Architecture

This set of Computer Organization online quiz focuses on “Hazards of Processor Architecture”.

1. Any condition that causes a processor to stall is called as _________
a) Hazard
b) Page fault
c) System error
d) None of the mentioned
View Answer

Answer: a
Explanation: An hazard causes a delay in the execution process of the processor.

2. The periods of time when the unit is idle is called as ________
a) Stalls
b) Bubbles
c) Hazards
d) Both Stalls and Bubbles
View Answer

Answer: d
Explanation: The stalls are a type of hazards that affect a pipe-lined system.

3. The contention for the usage of a hardware device is called ______
a) Structural hazard
b) Stalk
c) Deadlock
d) None of the mentioned
View Answer

Answer: a
Explanation: The processor contends for the usage of the hardware and might enter into a deadlock state.
advertisement
advertisement

4. The situation wherein the data of operands are not available is called ______
a) Data hazard
b) Stock
c) Deadlock
d) Structural hazard
View Answer

Answer: a
Explanation: Data hazards are generally caused when the data is not ready on the destination side.

5. The stalling of the processor due to the unavailability of the instructions is called as ___________
a) Control hazard
b) structural hazard
c) Input hazard
d) None of the mentioned
View Answer

Answer: a
Explanation: The control hazard also called as instruction hazard is usually caused by a cache miss.
Sanfoundry Certification Contest of the Month is Live. 100+ Subjects. Participate Now!

6. The time lost due to the branch instruction is often referred to as ____________
a) Latency
b) Delay
c) Branch penalty
d) None of the mentioned
View Answer

Answer: c
Explanation: This time also retards the performance speed of the processor.

7. The pipeline bubbling is a method used to prevent data hazard and structural hazards.
a) True
b) False
View Answer

Answer: a
Explanation: The periods of time when the unit is idle is called a Bubble.
advertisement

8. ____________ method is used in centralized systems to perform out of order execution.
a) Scorecard
b) Score boarding
c) Optimizing
d) Redundancy
View Answer

Answer: b
Explanation: In a scoreboard, the data dependencies of every instruction are logged. Instructions are released only when the scoreboard determines that there are no conflicts with previously issued and incomplete instructions.

9. The algorithm followed in most of the systems to perform out of order execution is __________
a) Tomasulo algorithm
b) Score carding
c) Reader-writer algorithm
d) None of the mentioned
View Answer

Answer: a
Explanation: The Tomasulo algorithm is a hardware algorithm developed in 1967 by Robert Tomasulo from IBM. It allows sequential instructions that would normally be stalled due to certain dependencies to execute non-sequentially (out-of-order execution).
advertisement

10. The problem where process concurrency becomes an issue is called as ___________
a) Philosophers problem
b) Bakery problem
c) Bankers problem
d) Reader-writer problem
View Answer

Answer: d
Explanation: None.

Sanfoundry Global Education & Learning Series – Computer Organisation and Architecture.

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.