The GATE Grind

GATE 2025 CS (CS2) – Question 61

Computer Organization and Architecture · ALU and Control Unit Design · 2 marks · Numerical answer

An application executes $6.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 executed
Branch2$2.25 \times 10^8$
Load5$1.20 \times 10^8$
Store4$1.65 \times 10^8$
Arithmetic3$1.30 \times 10^8$

Practise this question in The GATE Grind →

Show answer and explanation

Correct answer: 3

Explanation

Total cycles = (2×2.25 + 5×1.20 + 4×1.65 + 3×1.30) × 10^8 = 21 × 10^8. Cycle time = 6.3 s / 2.1×10^9 = 3.0 ns.