# ISRO | ISRO CS 2020 | Question 6

Consider a 5-segment pipeline with a clock cycle time 20 ns in each sub operation. Find out the approximate speed-up ratio between pipelined and non-pipelined system to execute 100 instructions. (If an average, every five cycles, a bubble due to data hazard has to be introduced in the pipeline.).
(A) 5
(B) 4.03
(C) 4.81
(D) 4.17

Answer: (B)

Explanation: According to given data, speedup is

```= (Time taken by non-pipeline) / (Time taken by pipeline)
= (5*100*20) / {(100+20+5 - 1)*20}
= 4.03```

Option (B) is correct.

Quiz of this Question

Whether you're preparing for your first job interview or aiming to upskill in this ever-evolving tech landscape, GeeksforGeeks Courses are your key to success. We provide top-quality content at affordable prices, all geared towards accelerating your growth in a time-bound manner. Join the millions we've already empowered, and we're here to do the same for you. Don't miss out - check it out now!

Previous
Next
Similar Reads