- Home
- Computer Organization and Architecture
- Pipelining Hazards
- Structural Hazards
Last updated on Dec 13, 2023
Latest Structural Hazards MCQ Objective Questions
Structural Hazards Question 1:
In instruction pipelining, a main memory has a single port and that all instruction fetches and data reads and writes must be performed one at a time. In this case, an operand read to or write from memory cannot be performed in parallel with an instruction fetch and ignore cache. Which of the following hazard represents the above situation?
- Resource hazard
- Data hazard
- Control hazard
- R-W hazard
Answer (Detailed Solution Below)
Option 1 : Resource hazard
India's Super Teachers for all govt. exams Under One Roof
FREE
Demo Classes Available*
Enroll For Free Now
Structural Hazards Question 1 Detailed Solution
A pipeline hazard occurs when the pipeline, or some portion of the pipeline, must stall because conditions do not permit continued execution. Such a pipeline stall is also referred to as a pipeline bubble. There are three types of hazards: resource, data, and control.
A resource hazard occurs when two (or more) instructions that are already in the pipeline need the same resource. The result is that the instructions must be executed in serial rather than parallel for a portion of the pipeline. A resource hazard is sometime referred to as a structural hazard.
India’s #1 Learning Platform
Start Complete Exam Preparation
Daily Live MasterClasses
Practice Question Bank
Mock Tests & Quizzes
Trusted by 5.3 Crore+ Students
Top Structural Hazards MCQ Objective Questions
Structural Hazards Question 2:
In instruction pipelining, a main memory has a single port and that all instruction fetches and data reads and writes must be performed one at a time. In this case, an operand read to or write from memory cannot be performed in parallel with an instruction fetch and ignore cache. Which of the following hazard represents the above situation?
- Resource hazard
- Data hazard
- Control hazard
- R-W hazard
Answer (Detailed Solution Below)
Option 1 : Resource hazard
Structural Hazards Question 2 Detailed Solution
A pipeline hazard occurs when the pipeline, or some portion of the pipeline, must stall because conditions do not permit continued execution. Such a pipeline stall is also referred to as a pipeline bubble. There are three types of hazards: resource, data, and control.
A resource hazard occurs when two (or more) instructions that are already in the pipeline need the same resource. The result is that the instructions must be executed in serial rather than parallel for a portion of the pipeline. A resource hazard is sometime referred to as a structural hazard.
India’s #1 Learning Platform
Start Complete Exam Preparation
Daily Live MasterClasses
Practice Question Bank
Mock Tests & Quizzes
Trusted by 5.3 Crore+ Students
Exam Preparation
Simplified
Learn, practice, analyse and improve
Trusted by 5.3 Crore+ Students