Step-by-Step Lesson

Learn: Data vs Address - Telling Them Apart in Registers

OCR GCSE J277 Computer Science specification

Ready to start this lesson?

Sign in to track your progress. 14 steps including 6 interactive questions.

Sign In to Start Learning
14 Steps6 Questions

Students also studied

Browse all

Steps in this lesson (14)

1
Text

Welcome!Welcome back! So far, you've explored how the CPU works, including the roles of registers like the MAR (Memory Address Register) and MDR (Memory Data Register). Today, we'll focus on understanding the difference between data and addresses in registers. This is key to grasping how instructions and memory work together in the CPU!

2
Text

What Is the Difference Between Data and Address?In computing, data refers to the actual information or values being processed, such as a number or text. An address is a specific location in memory where data or instructions are stored. These two are closely linked but serve very different purposes in the CPU.

3
Text

Memory Address Register (MAR)The MAR holds the address of the memory location that the CPU needs to access. This could be the address of data to be read or written, or the address of the next instruction to execute.

4
Text

Memory Data Register (MDR)The MDR holds the data that is being transferred to or from memory. For example, if the CPU reads a value from memory, it temporarily stores that value in the MDR before processing it.

5
Multiple ChoiceInteractive

Quick check: What does the MAR store?

Start the lesson to answer this multiple choice question

6
Text

How Do MAR and MDR Work Together?These two registers work closely during the fetch-decode-execute cycle. The MAR identifies where the CPU should look in memory, while the MDR temporarily holds the data being read or written. This ensures the CPU always knows what data to process and where to find it.

7
Fill in the BlankInteractive

The {{blank0}} register holds the address, while the {{blank1}} register holds the data.

Start the lesson to answer this fill in the blank question

8
Text

Data vs Address: Key DifferencesTo summarise:Data is the information or values being processed, such as numbers or text.Addresses are memory locations where data or instructions are stored.The MAR stores addresses, while the MDR stores data.

9
MatchingInteractive

Match the items on the left with their correct pairs on the right

Start the lesson to answer this matching question

10
Text

Review Time!Great job! You've learned about how data and addresses are handled in registers. Let's test your understanding with a few questions.

11
Multi-SelectInteractive

Which of the following are true? (Select all that apply)

Start the lesson to answer this multi-select question

12
Multiple ChoiceInteractive

What does the MDR hold during a read operation?

Start the lesson to answer this multiple choice question

13
Fill in the BlankInteractive

The CPU uses the {{blank0}} to locate data and the {{blank1}} to temporarily hold it.

Start the lesson to answer this fill in the blank question

14
Text

Well Done!You've mastered the difference between data and addresses in registers. This understanding is essential for working with CPU memory systems. Keep practising, and great work today!

Genie

Want to Learn More?

Get personalised lessons, quizzes, and instant feedback from your AI tutor.

Explore More Topics