Computer AwarenessVery hardIBPS SO IT · SBI PO

A 5-stage instruction pipeline takes one clock cycle per stage and never stalls. How many clock cycles does it need to complete 100 instructions?

  1. A. 500
  2. B. 104
  3. C. 105
  4. D. 100

Correct answer: B. 104

The first instruction needs 5 cycles to fill the pipeline, and each of the remaining 99 finishes one cycle later: 5 + 99 = 104. 500 is the count without pipelining.

हिंदी में

एक 5-चरण निर्देश पाइपलाइन प्रत्येक चरण के लिए एक क्लॉक चक्र लेती है और कभी रुकती नहीं। 100 निर्देश पूरे करने में उसे कितने क्लॉक चक्र चाहिए?

  1. A. 500
  2. B. 104
  3. C. 105
  4. D. 100

उत्तर: B. पाइपलाइन भरने के लिए पहले निर्देश को 5 चक्र चाहिए, और शेष 99 में से प्रत्येक एक चक्र बाद पूरा होता है: 5 + 99 = 104। 500 पाइपलाइन के बिना की गिनती है।

More Computer Awareness questions

Exams that ask this topic