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
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
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
Explanation: The processor contends for the usage of the hardware and might enter into a deadlock state.
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
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
Explanation: The control hazard also called as instruction hazard is usually caused by a cache miss.
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
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
Explanation: The periods of time when the unit is idle is called a Bubble.
8. ____________ method is used in centralized systems to perform out of order execution.
a) Scorecard
b) Score boarding
c) Optimizing
d) Redundancy
View Answer
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
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).
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
Explanation: None.
Sanfoundry Global Education & Learning Series – Computer Organisation and Architecture.
- Practice Information Technology MCQs
- Check Computer Organization and Architecture Books
- Check Computer Science Books
- Practice Computer Science MCQs
- Apply for Computer Science Internship