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 36–40 of 53

Q36GATE 20082 marksMCQ−0.67 if wrong
Which of the following are NOT true in a pipelined processor?

I. Bypassing can handle all RAW hazards
II. Register renaming can eliminate all register carried WAR hazards
III. Control hazard penalties can be eliminated by dynamic branch prediction

Q37GATE 20071 markMCQ−0.33 if wrong
Data forwarding techniques can be used to speed up the operation in presence of data dependencies. Consider the following replacements of LHS with RHS.
i. R1→Loc,Loc→R2  ≡  R1→R2,R1→LocR1\rightarrow Loc, Loc\rightarrow R2 \; \equiv \; R1\rightarrow R2, R1 \rightarrow Loc
ii. R1→Loc,Loc→R2  ≡  R1→R2R1\rightarrow Loc, Loc\rightarrow R2 \; \equiv \; R1\rightarrow R2
iii. R1→Loc,R2→Loc  ≡  R1→LocR1\rightarrow Loc, R2 \rightarrow Loc \; \equiv \; R1\rightarrow Loc
iv. R1→Loc,R2→Loc  ≡  R2→LocR1\rightarrow Loc, R2 \rightarrow Loc \; \equiv \; R2\rightarrow Loc
In which of the following options, will the result of executing the RHS be the same as executing the LHS irrespective of the instructions that follow ?

Q38GATE 20071 markMCQ−0.33 if wrong
The floating point unit of a processor using a design D takes 2t cycles compared to t cycles taken by the fixed point unit. There are two more design suggestions D1D_1 and D2D_2. D1D_1 uses 30% more cycles for fixed point unit but 30% less cycles for floating point unit as compared to design D. D2D_2 uses 40% less cycles for fixed point unit but 10% more cycles for floating point unit as compared to design D. For a given program which has 80% fixed point operations and 20% floating point operations, which of the following ordering reflects the relative performances of three designs? (DiD_i > DjD_j denotes that DiD_i is faster than DjD_j)

Q39GATE 20071 markMCQ−0.33 if wrong
A processor takes 12 cycles to complete an instruction II. The corresponding pipelined processor uses 6 stages with the execution times of 3, 2, 5, 4, 6 and 2 cycles respectively. What is the asymptotic speedup assuming that a very large number of instructions are to be executed?

Q40GATE 20071 markMCQ−0.33 if wrong
Consider a pipelined processor with the following four stages:
IF: Instruction Fetch
ID: Instruction Decode and Operand Fetch
EX: Execute
WB: Write Back

The IF, ID and WB stages take one clock cycle each to complete the operation. The number of clock cycles for the EX stage depends on the instruction. The ADD and SUB instructions need 1 clock cycle and the MUL instruction needs 3 clock cycles in the EX stage. Operand forwarding is used in the pipelined processor. What is the number of clock cycles taken to complete the following sequence of instructions?
ADD R2, R1, R0 (R2 ←\leftarrow R1 + R0)
MUL R4, R3, R2 (R4 ←\leftarrow R3 * R2)
SUB R6, R5, R4 (R6 ←\leftarrow R5 - R4)

Keep practising

Topics in Computer Organization and Architecture

All CS topics ›