Questions: CPU Pipelining

5 questions to test your understanding

Score: 0 / 5
Question 1 Multiple Choice

A 5-stage pipelined processor and a non-pipelined processor each execute the same single instruction. Assuming no hazards, which processor takes longer to complete that one instruction?

AThe non-pipelined processor — it must complete the full 5-stage path sequentially
BThe pipelined processor — each stage boundary adds pipeline register overhead, making the total latency slightly longer
CThey take exactly the same time — pipelining only affects throughput, leaving latency unchanged
DThe pipelined processor is always faster for a single instruction because its clock frequency is higher
Question 2 Multiple Choice

A processor designer considers deepening the pipeline from 5 stages to 15 stages to allow a higher clock speed. Which statement best captures the trade-off?

AA deeper pipeline is always better — more stages means a faster clock and proportionally higher throughput
BA deeper pipeline increases throughput by 3× because 15 stages is 3× deeper than 5 stages
CA deeper pipeline enables a faster clock but increases hazard penalties, since each stall flushes more pipeline work
DA deeper pipeline decreases throughput because each instruction takes more clock cycles to complete
Question 3 True / False

Pipelining reduces the time (latency) required to execute each individual instruction.

TTrue
FFalse
Question 4 True / False

RISC architectures are better suited to pipelining than CISC architectures partly because their fixed-length instructions make the fetch stage predictable and their uniform formats simplify decoding.

TTrue
FFalse
Question 5 Short Answer

Using the laundry analogy, explain why pipelining improves throughput but not latency.

Think about your answer, then reveal below.