Explore

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 LearningStudents also studied
Browse allSteps in this lesson (14)
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.
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.
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.
What is the role of the Memory Address Register (MAR)?
Start the lesson to answer this multiple choice question
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.
The {{blank0}} decodes the fetched instruction to understand 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 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.
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.
Match the items on the left with their correct pairs on the right
Start the lesson to answer this matching question
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.
Which stage of the cycle involves carrying out the instruction?
Start the lesson to answer this multiple choice question
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
Which of the following are roles of the Control Unit? (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 matching question

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