Computer Science EngineeringVery hardISRO SC

A 5-stage pipeline executes 100 instructions. A fraction 0.25 of instructions each cause 2 stall cycles; no other hazards. Total cycles needed (fill time included) is

  1. A. 150
  2. B. 154
  3. C. 104
  4. D. 159

Correct answer: B. 154

Cycles = (k-1) + n x CPI = 4 + 100 x 1.5 = 154.

More OS, DBMS, Networks & Computer Architecture (ISRO CS) questions

Exams that ask this topic