Explore

Learn: The Fetch–Decode–Execute Cycle
OCR GCSE J277 Computer Science specification
Ready to start this lesson?
Sign in to track your progress. 13 steps including 7 interactive questions.
Sign In to Start LearningStudents also studied
Browse allSteps in this lesson (13)
Welcome!Today we will learn about the fetch–decode–execute cycle, an essential process in the CPU. Let's explore how the CPU processes instructions step by step!
What is the Fetch–Decode–Execute Cycle?The fetch–decode–execute cycle is the process the CPU uses to run instructions stored in memory. It repeats continuously to carry out tasks required by computer programs.
Step 1: FetchDuring the fetch step, the CPU retrieves the next instruction from memory. The Program Counter (PC) holds the address of the next instruction, which is sent to the Memory Address Register (MAR). The instruction is then fetched into the Memory Data Register (MDR).
Quick check: What is the role of the Memory Address Register (MAR)?
Start the lesson to answer this multiple choice question
Step 2: DecodeIn the decode step, the CPU interprets the fetched instruction. The Control Unit (CU) decodes the instruction to determine what actions need to be performed. This ensures the CPU understands the task.
The {{blank0}} decodes the fetched instruction to determine the {{blank1}}.
Start the lesson to answer this fill in the blank question
Step 3: ExecuteIn the execute step, the CPU carries out the decoded instruction. For example, the Arithmetic Logic Unit (ALU) may perform calculations, or data may be moved to a register or memory location.
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 key roles of CPU components. Let’s test your understanding with a few final questions.
Which of the following are parts of the fetch–decode–execute cycle? (Select all that apply)
Start the lesson to answer this multi-select question
Match the items on the left with their correct pairs on the right
Start the lesson to answer this math equation question
What does the Arithmetic Logic Unit (ALU) do during the execute step?
Start the lesson to answer this multiple choice question
The {{blank0}} cycle repeats constantly to process instructions in a computer.
Start the lesson to answer this fill in the blank question

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