MCQ IN COMPUTER SCIENCE & ENGINEERING

COMPUTER SCIENCE AND ENGINEERING

COMPUTER ORGANIZATION

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
The contention for the usage of a hardware device is called ____
A
Structural hazard
B
Stalk
C
Deadlock
D
None of the mentioned
Explanation: 

Detailed explanation-1: -The contention for the usage of a hardware device is called a) Structural hazard. b) Stalk. c) Deadlock. Explanation: The processor contends for the usage of the hardware and might enter into a deadlock state.

Detailed explanation-2: -A structural hazard occurs when two (or more) instructions that are already in pipeline need the same resource. The result is that instruction must be executed in series rather than parallel for a portion of pipeline. Structural hazards are sometime referred to as resource hazards.

Detailed explanation-3: -A resource conflict or hardware conflict is an error that occurs when a hardware device in the computer conflicts with other hardware devices IRQs, I/O ports, or DMA.

Detailed explanation-4: -A control hazard is often referred to as a branch hazard.

Detailed explanation-5: -In pipelining, there are three types of hazards called: Structural hazards: Due to resource conflict. Data hazards: Due to dependency on data. Control hazards: Due to the jump or control statements.

There is 1 question to complete.