Explore

Learn: The Fetch-Decode-Execute Cycle
OCR GCSE J277 Computer Science specification
Ready to start this lesson?
Sign in to track your progress. 15 steps including 8 interactive questions.
Sign In to Start LearningStudents also studied
Browse allSteps in this lesson (15)
Welcome!Building on your understanding of why the CPU is essential, we will now explore the fetch-decode-execute cycle, a key process that allows the CPU to execute instructions.
What is the Fetch-Decode-Execute Cycle?The fetch-decode-execute cycle is the process the CPU uses to retrieve, understand, and carry out instructions. It ensures that the computer operates correctly and efficiently by following this repeating process for every instruction.
Step 1: FetchDuring the fetch stage, the CPU retrieves the instruction from memory. The Program Counter (PC) holds the memory address of the next instruction, and the Memory Address Register (MAR) is used to access that memory location. The data is then copied into the Memory Data Register (MDR).
What is the role of the Program Counter (PC) in the fetch stage?
Start the lesson to answer this multiple choice question
Step 2: DecodeIn the decode stage, the CPU uses the Control Unit (CU) to interpret the fetched instruction. It checks the opcode (operation code) to understand what action needs to be performed and identifies the required operands (data or addresses).
The {{blank0}} is responsible for decoding instructions, while the {{blank1}} determines the operation to perform.
Start the lesson to answer this fill in the blank question
Step 3: ExecuteIn the execute stage, the CPU carries out the decoded instruction. This often involves the Arithmetic Logic Unit (ALU), which performs calculations or logical operations. Results are stored in the Accumulator (ACC) or other registers.
Which component performs calculations during the execute stage?
Start the lesson to answer this multiple choice question
How These Steps Work TogetherThe fetch-decode-execute cycle repeats continuously to process instructions in sequence. This cycle allows the CPU to carry out tasks efficiently, whether it’s running software, performing calculations, or managing data.
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 fetch-decode-execute cycle and the roles of key components. Let's test your understanding with a few review questions.
Which of the following occur during the fetch stage? (Select all that apply)
Start the lesson to answer this multi-select question
The {{blank0}} performs calculations, and the {{blank1}} stores the result.
Start the lesson to answer this fill in the blank question
What does the Control Unit (CU) do during the decode stage?
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

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