The CPU Flashcards
Systems Architecture 1.1.1
1
Q
What is the purpose of the CPU? (2 marks)
A
- To fetch, decode and execute instructions
- To take an input, process data and produce an output
(the “brain of the computer” made up of components and registers)
2
Q
What are the components of the CPU? And what do they have in common? (5 marks)
A
- Arithmetic Logic Unit (ALU)
- Control Unit (CU)
- Cache
- Registers
- Each component sits within the CPU
3
Q
What is the function of the ALU? (2 marks)
A
- Performs arithmetic operations
- Performs logical decisions
4
Q
What is the function of the CU? (3 marks)
A
- Coordinates how data moves around the CPU
- By issuing signals to control the flow of the data / hardware
- Decodes the instructions fetched from memory
5
Q
What is the cache? What is its function? (3 marks)
A
- Very small, very fast memory located in the CPU
- Used to provide quick access to frequently used instructions and data
- Stores data to be immediately processed
- It prevents the CPU from having to repeatedly fetch frequently used instructions from RAM
6
Q
What happens where there is more cache? (2 marks)
A
- More cache means more data can be stored
- Speeds up the performance of the CPU
7
Q
What are registers? (2 marks)
A
- Extremely small, extremely fast memory located in the CPU
- Each register has its very own specific purpose
8
Q
Why is the data not kept in the RAM and collected one at a time to be processed? (5 marks)
A
- Cache memory is much closer to CPU
- Keeps data closer to the CPU 3. Reduces transfer time / makes it quicker
- Cache memory is temporarily used to hold data and instructions that the processor is likely to reuse
- Allows for faster processing as processor does not have to wait for the instructions and data to be fetched from RAM (outside the CPU)