Explore

Learn: The Fetch-Decode-Execute Cycle
OCR GCSE J277 Computer Science specification
Ready to start this lesson?
Sign in to track your progress. 16 steps including 8 interactive questions.
Sign In to Start LearningStudents also studied
Browse allSteps in this lesson (16)
Welcome!Building on what you've already learned about why the CPU is essential, this lesson will explore the Fetch-Decode-Execute Cycle. We'll learn what it is, why it's important, and how it works step by step. Let's get started!
What is the Fetch-Decode-Execute Cycle?The Fetch-Decode-Execute Cycle is the process by which the CPU carries out instructions. It is a continuous cycle that allows the computer to perform tasks, from simple calculations to running complex applications. Understanding this cycle is key to knowing how the CPU functions.
Step 1: FetchIn the fetch step, the CPU retrieves an instruction from memory. The Program Counter (PC) holds the memory address of the next instruction. This address is sent to the Memory Address Register (MAR), which locates the instruction in memory. The instruction is then copied into the Memory Data Register (MDR).
During the fetch stage of the cycle, the {{blank0}} register holds the address of the next instruction, which is moved to the {{blank1}} register to locate the instruction.
Start the lesson to answer this fill in the blank question
Step 2: DecodeIn the decode step, the CPU interprets the instruction. The Control Unit (CU) is responsible for decoding the instruction stored in the Memory Data Register (MDR). The CU determines what needs to happen and prepares the necessary components of the CPU for execution. This step ensures the CPU knows exactly what to do next.
Quick check: What is the role of the Control Unit during the decode step?
Start the lesson to answer this multiple choice question
Step 3: ExecuteIn the execute step, the CPU carries out the instruction. This might involve calculations by the Arithmetic Logic Unit (ALU), transferring data to or from memory, or changing the Program Counter to point to the next instruction. The execute step is where the CPU turns the decoded instructions into actions.
Which of the following are tasks performed during the execute step of the cycle? (Select all that apply)
Start the lesson to answer this multi-select question
How Registers WorkRegisters are small, fast storage locations within the CPU. Key registers include the Program Counter (PC), the Memory Address Register (MAR), the Memory Data Register (MDR), and the Accumulator. Each register has a specific role in the fetch-decode-execute cycle.
Match the items on the left with their correct pairs on the right
Start the lesson to answer this matching question
Review Time!Great work! You've learned about the three steps of the Fetch-Decode-Execute Cycle and the roles of key components like registers. Let's test your understanding with some questions.
During the execute step, the {{blank0}} performs operations such as addition and subtraction, while the {{blank1}} stores the result.
Start the lesson to answer this fill in the blank question
Which of the following are components of the CPU involved in the fetch-decode-execute cycle? (Select all that apply)
Start the lesson to answer this multi-select question
What happens first in the fetch-decode-execute cycle?
Start the lesson to answer this multiple choice question
Match the items on the left with their correct pairs on the right
Start the lesson to answer this matching question
Well done!You've completed the lesson on the Fetch-Decode-Execute Cycle. Understanding this process is key to knowing how the CPU operates. Keep practising to reinforce your knowledge!

Want to Learn More?
Get personalised lessons, quizzes, and instant feedback from your AI tutor.
Explore More Topics