A Level Computer Science OCR Test 2025 – 400 Free Practice Questions to Pass the Exam

Image Description

Question: 1 / 400

What is the function of the Memory Data Register (MDR) in CPU operations?

To hold the address of the next instruction

To prepare data that is about to be processed by the ALU

To temporarily store data loaded into the CPU or written to memory

The Memory Data Register (MDR) serves a critical role in CPU operations by temporarily storing data that is either being loaded into the CPU from memory or written back to memory. When the CPU retrieves data from RAM for processing, that data is placed in the MDR so that the CPU can utilize it as needed. Similarly, when the CPU needs to save data back to memory, it passes that data through the MDR. This function is essential for maintaining an efficient flow of data between the CPU and memory, allowing for smooth execution of programs.

In contrast, other options refer to different registers or CPU functions. Holding the address of the next instruction pertains to the role of the Program Counter (PC), which tracks where the CPU is in its execution sequence. Preparing data for processing by the Arithmetic Logic Unit (ALU) involves other CPU operations but does not specifically relate to the role of the MDR. Finally, executing fetched instructions is a duty handled by the control unit and doesn't apply to the MDR's function. This understanding emphasizes how the MDR plays a fundamental part in the data management process within the CPU architecture.

Get further explanation with Examzify DeepDiveBeta

To execute the fetched instructions

Next Question

Report this question

Subscribe

Get the latest from Examzify

You can unsubscribe at any time. Read our privacy policy