Step-by-Step Lesson

Learn: The Fetch-Decode-Execute Cycle

OCR GCSE J277 Computer Science specification

Ready to start this lesson?

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

Sign In to Start Learning
14 Steps7 Questions

Students also studied

Browse all

Steps in this lesson (14)

1
Text

Welcome!Great to see you back! You've already learned about why the CPU is essential. Now, let's dive into how it works by exploring the Fetch-Decode-Execute Cycle.

2
Text

What is the Fetch-Decode-Execute Cycle?The Fetch-Decode-Execute Cycle is the process the CPU uses to carry out instructions. It happens billions of times per second and is essential for every task the computer performs. This cycle involves fetching an instruction, understanding it, and then executing it.

3
Text

Step 1: FetchIn the fetch stage, the CPU retrieves the next instruction from the main memory (RAM). The Memory Address Register (MAR) holds the memory address of the instruction, and the Memory Data Register (MDR) temporarily stores the data fetched from that address.

4
Multiple ChoiceInteractive

What is the role of the Memory Address Register (MAR)?

Start the lesson to answer this multiple choice question

5
Text

Step 2: DecodeOnce the instruction is fetched, it is sent to the Control Unit (CU). The CU deciphers or decodes the instruction to understand what needs to be done. It identifies the operation required and the data needed for it.

6
Fill in the BlankInteractive

The {{blank0}} decodes the fetched instruction to understand the operation to perform.

Start the lesson to answer this fill in the blank question

7
Text

Step 3: ExecuteIn the execute stage, the CPU carries out the instruction. This might involve performing a calculation in the ALU (Arithmetic Logic Unit), transferring data, or interacting with input/output devices. The result is stored in the Accumulator or sent to other parts of the system.

8
Text

How Registers Work TogetherRegisters are tiny, fast storage locations inside the CPU. The Program Counter (PC) keeps track of the memory address of the next instruction. The instruction is fetched to the MDR, decoded by the CU, and executed. The cycle then repeats for the next instruction.

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!Well done! You've learned about the key stages of the fetch-decode-execute cycle and the roles of the registers. Let's test your knowledge with some questions.

11
Multiple ChoiceInteractive

Which stage of the cycle involves carrying out the instruction?

Start the lesson to answer this multiple choice question

12
Fill in the BlankInteractive

The {{blank0}} register keeps track of the address of the next instruction to be executed.

Start the lesson to answer this fill in the blank question

13
Multi-SelectInteractive

Which of the following are roles of the Control Unit? (Select all that apply)

Start the lesson to answer this multi-select question

14
MatchingInteractive

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

Start the lesson to answer this matching question

Genie

Want to Learn More?

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

Explore More Topics