ITPEC IP October 2023 Question 10
Which of the following is an appropriate combination of words that are inserted into blanks A and B in the description below concerning the execution sequence of instructions in a computer?
In a computer, the instructions are executed in the sequence shown below.
Explanation
A: Read, B: Decode — the instruction cycle fetches an instruction from memory, then interprets it, then executes it.
- Refer to the program counter for the address of the instruction.
- Read (fetch) the instruction from that main memory address into the instruction register.
- Update the program counter to the address of the next instruction.
- Decode the instruction: the control unit works out the operation and the operands.
- Execute it.
- Repeat.
Answer (b)
Why not others:
- •(a) — reverses the order: an instruction cannot be decoded before it has been read from memory
- •(c) — writing is not a step on the instruction itself; after reading, the instruction must be decoded before it can be executed
- •(d) — the instruction is read from main memory, not written to it, at step 2
Key rule: The instruction cycle is fetch (read), update the program counter, decode, execute; results are written back only during execution.
Computer Component · AI-written, may contain errors
This question comes from an official ITPEC past paper. ITPEC Practice is an independent study tool and is not affiliated with ITPEC. See the official IP past-paper collection or Report an issue.