Pipeline Processor: GATE CS Previous Year Questions

Pipeline Processor · Computer Organization and Architecture

53 questions · asked in 25 of 27 years (2000–2026)

MCQ 29 · MSQ 2 · NAT 221-mark 23 · 2-mark 30

2000Questions per year2026

Questions 6–10 of 53

Q6GATE 2024 (Session 1)1 markMSQ
Consider a 5-stage pipelined processor with Instruction Fetch (IF), Instruction Decode (ID), Execute (EX), Memory Access (MEM), and Register Writeback (WB) stages. Which of the following statements about forwarding is/are CORRECT?

One or more options are correct.

Q7GATE 2024 (Session 1)2 marksNAT
The baseline execution time of a program on a 2 GHz single core machine is 100 nanoseconds (ns). The code corresponding to 90% of the execution time can be fully parallelized. The overhead for using an additional core is 10 ns when running on a multicore system. Assume that all cores in the multicore system run their share of the parallelized code for an equal amount of time.
The number of cores that minimize the execution time of the program is _______

Q8GATE 2024 (Session 2)1 markMSQ
An instruction format has the following structure:

Instruction Number: Opcode    destinationreg,    sourcereg−1,    sourcereg−2Opcode \; \; destination reg, \;\; source reg-1, \;\;source reg-2

Consider the following sequence of instructions to be executed in a pipelined processor:

I1: DIV R3, R1, R2
I2: SUB R5, R3, R4
I3: ADD R3, R5, R6
I4: MUL R7, R3, R8

Which of the following statements is/are TRUE

One or more options are correct.

Q9GATE 2024 (Session 2)2 marksNAT
A non-pipelined instruction execution unit operating at 2 GHz takes an average of 6 cycles to execute an instruction of a program P. The unit is then redesigned to operate on a 5-stage pipeline at 2 GHz. Assume that the ideal throughput of the pipelined unit is 1 instruction per cycle. In the execution of program P, 20% instructions incur an average of 2 cycles stall due to data hazards and 20% instructions incur an average of 3 cycles stall due to control hazards. The speedup (rounded off to one decimal place) obtained by the pipelined design over the non-pipelined design is ________

Q10GATE 20231 markNAT
Consider a 3-stage pipelined processor having a delay of 10 ns (nanoseconds), 20 ns, and 14 ns, for the first, second, and the third stages, respectively. Assume that there is no other delay and the processor does not suffer from any pipeline hazards. Also assume that one instruction is fetched every cycle.
The total execution time for executing 100 instructions on this processor is _______ ns

Keep practising

Topics in Computer Organization and Architecture

All CS topics ›