What is the fetch-execute cycle in Higher Computing Science?
The fetch-execute cycle is how the processor runs each instruction. In Higher Computing Science, the address bus is set up, a read line is set on the control bus, the instruction is fetched through the data bus into the instruction register, then it is decoded and executed. The cycle then repeats for the next instruction. Example: Which bus carries the instruction to the processor? Answer: the data bus.
Quick answer: What is the fetch-execute cycle? The fetch execute cycle (fetch-execute cycle) is the process the processor repeats to run a program: set up the address, signal a read, fetch the instruction, then decode and execute it. This page covers Higher Computing Science, SQA (C816 76).
Key terms
- Address bus: carries the address of the memory location.
- Control bus: carries the read line signal.
- Data bus: carries the instruction back to the processor.
- Instruction register: holds the fetched instruction until the decoder interprets it.
Extra example
Put these in order: decode, address bus set up, read line on control bus, instruction fetched, execute.
- The address bus is set up with the required address.
- The read line on the control bus is activated.
- The instruction is fetched via the data bus into the instruction register.
- It is decoded.
- It is executed, then the cycle repeats for the next instruction.
Answer: Address bus set up, read line, fetch, decode, execute.
Extra example
Explain how a wider data bus affects performance.
- A wider data bus carries more bits at once.
- More of an instruction or data item moves per transfer.
- Fewer transfers are needed, so the cycle can complete faster.
Answer: A wider data bus improves performance. It is one of the four factors listed: number of cores, width of data bus, cache memory and clock speed.
Want one-to-one help? Find an online Computer Science tutor with ExpertTutor.
Want one-to-one support?
One-to-one online tuition can help you build confidence in your subject. Find a tutor who teaches your course.
Find a TutorLearn face to face in Glasgow
Prefer in-person lessons? Visit the ExpertTutor Glasgow Southside centre.
See the centre