Back to 课程

Computer Science GCES AQA

0% Complete
0/0 Steps
  1. Representing Algorithms Aqa
    4 主题
  2. Efficiency Of Algorithms Aqa
    1 主题
  3. Searching Algorithms Aqa
    3 主题
  4. Sorting Algorithms Aqa
    3 主题
  5. Data Types Aqa
    1 主题
  6. Programming Concepts Aqa
    5 主题
  7. Arithmetic Relational And Boolean Operations Aqa
    1 主题
  8. Data Structures Aqa
    3 主题
  9. String Manipulation Aqa
    1 主题
  10. Random Number Generation Aqa
    1 主题
  11. Structured Programming Aqa
    2 主题
  12. Robust And Secure Programming Aqa
    4 主题
  13. Number Bases Aqa
    2 主题
  14. Converting Between Number Bases Aqa
    3 主题
  15. Units Of Information Aqa
    9 主题
  16. Hardware And Software Aqa
    4 主题
  17. Boolean Logic Aqa
    3 主题
  18. Programming Languages And Translators Aqa
    2 主题
  19. Cpu Architecture Performance And Embedded Systems Aqa
    4 主题
  20. Memory Aqa
    2 主题
  21. Secondary Storage Aqa
    3 主题
  22. Fundamentals Of Computer Networks Aqa
    8 主题
  23. Fundamentals Of Cyber Security Aqa
    1 主题
  24. Methods Of Preventing Cyber Security Threats Aqa
    1 主题
  25. Relational Databases Aqa
    2 主题
  26. Ethical Legal And Environmental Impacts Aqa
    2 主题
课 Progress
0% Complete

Exam code:8525

What is the purpose of the CPU?

  • The purpose of the Central Processing Unit (CPU) is to fetch, decode and execute instructions

  • The CPU is the brain of the computer and its job is to take an input, process data and produce an output

Fetch-Execute Cycle

What is the Fetch-Execute cycle?

  • The Fetch-Execute Cycle is the cycle that the central processing unit (CPU) runs through billions of times per second to make a computer work

  • The CPU is ‘the brain’ of a computer and is made up of components and registers

  • A computer takes an input, processes the input and then delivers an output for the user

    • Input: Clicking a button on the gamepad 

    • Process: The CPU inside the console follows a set of instructions to carry out the task

    • Output: The player moving on screen

the-cpu

The Fetch-Execute cycle stages

Fetch stage

  • During the fetch stage of the cycle, the next instruction or data must be fetched from the computer’s memory (RAM)

  • The instruction or data is brought back to the CPU

Decode stage

  • During the decode stage of the cycle, the CPU needs to work out what is required from the instruction 

  • This could be a range of tasks depending on what the instruction or data included

Execute stage

  • During the execute stage of the cycle, the CPU will carry out the instruction that was fetched

  • Some examples that would take place at this stage are

    • Performing a calculation

    • Storing a result or data back in main memory (RAM)

    • Going to main memory to fetch data from a different location

The important things to remember are:

  • An instruction or data is fetched from memory

  • The instruction is decoded 

  • The instruction is executed

  • The cycle repeats billions of times per second

Worked Example

Identify two events that take place during the fetch-execute cycle. [2]

Answer

Any two of the following

  • An instruction is fetched from memory 

  • The instruction is decoded

  • The decoded instruction is executed

  • The instruction is transferred to the MDR

Responses

您的邮箱地址不会被公开。 必填项已用 * 标注