Question
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)
| Instruction type | Clock cycles required per instruction (CPI) | Number of instructions executed |
|---|---|---|
| Branch | 2 | |
| Load | 5 | |
| Store | 4 | |
| Arithmetic | 3 |
Official answer and solution
- Official answer
- 3
- From
- Official GATE 2025 answer key
Solution
Compute the total clock cycles and divide the total execution time () by .
- Total clock cycles executed ():
- Clock cycle duration ():
Final answer
3.0
The answer is the one in the official GATE answer key. The solution is this site's own explanation.
Source
- Paper
- GATE 2025 Computer Science and Information Technology - Session 2 (CS2)
- Question
- 61 of 65
- Section
- Computer Science and Information Technology
Report an error in this question
GATE questions are the work of the organising institutes. This site is independent and is not affiliated with them.