Which of the following is used to execute a CPU instruction?
2017
Which of the following is used to execute a CPU instruction?
Answer: A. Program Counter — A CPU carries out a program through the fetch-decode-execute cycle. The Program Counter (PC) is a register with one precise job in that cycle: it holds the…
- A.
Program Counter
- B.
Protection Check
- C.
Personal Computer
- D.
Parameter Combination
Attempted by 3530 students.
Show answer & explanation
Correct answer: A
A CPU carries out a program through the fetch-decode-execute cycle. The Program Counter (PC) is a register with one precise job in that cycle: it holds the memory address of the instruction that is next to be fetched, and after each fetch it is updated (incremented, or redirected by a branch/jump) so it always points to the correct next instruction. Decoding the instruction and carrying out its actual operation is done separately, by the CPU's control unit and ALU.
Applying this to the item: at every step of running a program, the CPU first reads the PC to know which instruction to fetch, then hands that instruction to the control unit and ALU to be decoded and carried out, and only moves on because the PC has been updated to the next address. The PC is therefore the one register genuinely bound up with the CPU's instruction-handling process among the four choices offered.
The remaining choices name nothing in this process:
Protection Check - an access/memory-protection safeguard against unauthorized operations; unrelated to fetching or sequencing instructions.
Personal Computer - names a category of computing device, not any CPU-internal register or mechanism.
Parameter Combination - not a recognized term in CPU architecture or the instruction cycle.
Note: phrased strictly, the Program Counter does not itself decode or carry out an instruction - that is the control unit and ALU's job - so "used to execute a CPU instruction" is loose exam phrasing for the PC's role in driving which instruction gets processed next. Even so, of the four options given, Program Counter is the only one tied to CPU instruction handling at all, which is why it is the answer this exam question intends.