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 1–5 of 53

Q1GATE 2026 (Session 1)1 markMCQ−0.33 if wrong
Which one of the following dependencies among the register operands of different instructions can cause a data hazard in a pipelined processor?

Q2GATE 2026 (Session 1)2 marksNAT
The EX stage of a pipelined processor performs the memory read operations for LOAD instructions, and the operations for the arithmetic and logic instructions. Let tEXt_{E X} denote the time taken by the EX stage to perform the operation for an instruction. For each instruction type, the values of tEXt_{E X} and MM (the number of instructions of that type in a sequence of 100100 instructions for a program P ), are given in the table below.

The duration of the pipeline clock cycle is 11 nanosecond. Assume that the latch time for the interstage buffers in the pipeline is negligible.

InstructiontEX innanosecondsMLOAD1.815IMUL1.510IDIV2.55FADD1.710FSUB1.75FMUL2.815FDIV3.25All otherinstructionsLess than1.035\begin{array}{|l|c|c|} \hline \text{Instruction} & \begin{array}{c} t_{EX}\ \text{in} \\ \text{nanoseconds} \end{array} & M \\ \hline \text{LOAD} & 1.8 & 15 \\ \hline \text{IMUL} & 1.5 & 10 \\ \hline \text{IDIV} & 2.5 & 5 \\ \hline \text{FADD} & 1.7 & 10 \\ \hline \text{FSUB} & 1.7 & 5 \\ \hline \text{FMUL} & 2.8 & 15 \\ \hline \text{FDIV} & 3.2 & 5 \\ \hline \begin{array}{l} \text{All other} \\ \text{instructions} \end{array} & \begin{array}{c} \text{Less than} \\ 1.0 \end{array} & 35 \\ \hline \end{array}

When program P\text{P} is executed, the number of clock cycles for which the pipeline is stalled due to structural hazards in the EX stage is ________. (answer in integer)

Q3GATE 2026 (Session 2)2 marksNAT
A non-pipelined instruction execution unit that operates at 1.61.6 GHz clock takes an average of 55 clock cycles to complete the execution of an instruction. To improve the performance, the system was pipelined with a goal of achieving an average throughput of one instruction per clock cycle. However, it could operate only at 1.21.2 GHz due to pipeline overheads. While executing a program in the pipelined design, 30%30 \% of instructions encountered a stall of 22 cycles due to pipeline hazards. The speed-up obtained by the pipelined design over the non-pipelined one for this program is ________(rounded off to two decimal places)
Note: 1G=1091 {G}=10^{9}

Q4GATE 2025 (Session 2)2 marksNAT
A 5-stage instruction pipeline has stage delays of 180, 250, 150, 170, and 250, respectively, in nanoseconds. The delay of an inter-stage latch is 10 nanoseconds. Assume that there are no pipeline stalls due to branches and other hazards. The time taken to process 1000 instructions in microseconds is __________ . (rounded off to two decimal places)

Q5GATE 2025 (Session 2)2 marksNAT
An application executes 6.4×1086.4 \times 10^8 number of instructions in 6.3 seconds. There are four types of instructions, the details of which are given in the table. The duration of a clock cycle in nanoseconds is _________. (rounded off to one decimal place) Instruction typeClock cycles required per instruction (CPI)Number of instructions executedBranch22.25×108Load51.20×108Store41.65×108Arithmetic31.30×108\begin{array}{|c|c|c|} \hline \text{Instruction type} & \text{Clock cycles required per instruction (CPI)} & \text{Number of instructions executed} \\ \hline \text{Branch} & 2 & 2.25 \times 10^8 \\ \text{Load} & 5 & 1.20 \times 10^8 \\ \text{Store} & 4 & 1.65 \times 10^8 \\ \text{Arithmetic} & 3 & 1.30 \times 10^8 \\ \hline \end{array}

Keep practising

Topics in Computer Organization and Architecture

All CS topics ›