An application executes 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)
GATE CSE 2025CO & Architecture › Machine Instructions & Addressing ModesVerified
GATE CSE 2025 PYQ: An application executes 6.4 × 1 0 8 6.4 \times 10^{8} 6.4 × 1 0 8 number of instructions in 6.3 6.3 6.3…
Answer
3.0 ns
Approach
Calculate the total number of clock cycles from the given CPI and instruction counts, then use execution time = total cycles × clock cycle time to solve for the clock cycle duration. Finally convert seconds to nanoseconds and round to one decimal place.
The total number of cycles is 2.1 × $10^9$. Dividing the total execution time 6.3 s by this gives 3 × $10^-9 s$ per cycle, i.e. 3 ns, which rounds to 3.0 ns.
Reviewed by GateIQ Editorial Team: IIT & IISc Alumni.