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!You've already learned about the importance of the CPU in a computer system. Today, we'll build on that by exploring how the CPU processes instructions using the fetch-decode-execute cycle.
What is the Fetch-Decode-Execute Cycle?The fetch-decode-execute cycle is the process the CPU uses to carry out instructions. It ensures that programs run by fetching instructions, interpreting them, and performing the required actions. This cycle happens millions or even billions of times per second!
Step 1: FetchDuring the fetch stage, the CPU retrieves the next instruction from memory. The Program Counter (PC) stores the address of the next instruction, and this address is passed to the Memory Address Register (MAR). The instruction is then fetched into the Memory Data Register (MDR).
What is the role of the Program Counter (PC) during the fetch stage?
Start the lesson to answer this multiple choice question
Step 2: DecodeIn the decode stage, the CPU interprets the fetched instruction. The Control Unit (CU) is responsible for decoding the instruction to understand what needs to be done. For example, it determines whether the instruction is a calculation or a data movement.
The {{blank0}} is responsible for decoding the instruction to understand what needs to be done.
Start the lesson to answer this fill in the blank question
Step 3: ExecuteIn the execute stage, the CPU carries out the instruction. If the instruction is a calculation, the Arithmetic Logic Unit (ALU) will perform the operation. If the instruction involves storing or retrieving data, it will access memory using the appropriate registers.
Registers in the CycleRegisters are small, fast storage locations inside the CPU. Important registers in the fetch-decode-execute cycle include the Memory Address Register (MAR), which holds the memory address, and the Memory Data Register (MDR), which temporarily stores the data or instruction fetched from memory.
Match the items on the left with their correct pairs on the right
Start the lesson to answer this matching question
The Importance of the Fetch-Decode-Execute CycleThis cycle is crucial because it allows the CPU to process instructions and perform tasks. Without it, computers wouldn’t be able to run software or respond to user inputs efficiently.
Which part of the CPU carries out calculations during the execute stage?
Start the lesson to answer this multiple choice question
Review Time!Great work! You've learned about the fetch-decode-execute cycle and how the CPU processes instructions. Let's test your understanding with a few final questions.
Which of the following are steps in the fetch-decode-execute cycle? (Select all that apply)
Start the lesson to answer this multi-select question
The {{blank0}} stage involves retrieving the instruction from {{blank1}}.
Start the lesson to answer this fill in the blank question
Match the items on the left with their correct pairs on the right
Start the lesson to answer this matching question
What happens during the execute stage?
Start the lesson to answer this multiple choice question

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