Prepare for the A Level Computer Science OCR Exam with engaging quizzes, detailed explanations, and effective study tips. Maximize your readiness and boost your confidence for exam day!

Practice this question and more.


Which component of the CPU is responsible for temporarily holding instructions before processing?

  1. Memory Address Register (MAR)

  2. Memory Data Register (MDR)

  3. Program Counter (PC)

  4. Register

The correct answer is: Memory Data Register (MDR)

The correct choice relates to the component of the CPU that temporarily holds data during processing. The Memory Data Register (MDR) serves this key role; it is specifically designed to hold the data that is being transferred to or from the memory during the execution of instructions. This includes both instructions and the data needed by those instructions. When a CPU fetches an instruction from memory, that instruction is first placed in the Memory Data Register before it is sent to the control unit for decoding and execution. This process allows the CPU to manage data flow efficiently and ensures that the instructions are ready to be processed in a timely manner. In contrast, other components such as the Memory Address Register (MAR) are involved in addressing memory locations, while the Program Counter (PC) keeps track of the next instruction to be executed. Registers are small, fast storage locations within the CPU used for various operations but do not specifically hold instructions prior to processing. Understanding the specific functions of these components clarifies why the Memory Data Register is the vital component for temporarily holding data and instructions just prior to processing.