The CPU Flashcards

Systems Architecture 1.1.1

1
Q

What is the purpose of the CPU? (2 marks)

A
  1. To fetch, decode and execute instructions
  2. To take an input, process data and produce an output
    (the “brain of the computer” made up of components and registers)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What are the components of the CPU? And what do they have in common? (5 marks)

A
  1. Arithmetic Logic Unit (ALU)
  2. Control Unit (CU)
  3. Cache
  4. Registers
  5. Each component sits within the CPU
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is the function of the ALU? (2 marks)

A
  1. Performs arithmetic operations
  2. Performs logical decisions
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is the function of the CU? (3 marks)

A
  1. Coordinates how data moves around the CPU
  2. By issuing signals to control the flow of the data / hardware
  3. Decodes the instructions fetched from memory
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What is the cache? What is its function? (3 marks)

A
  1. Very small, very fast memory located in the CPU
  2. Used to provide quick access to frequently used instructions and data
  3. Stores data to be immediately processed
  4. It prevents the CPU from having to repeatedly fetch frequently used instructions from RAM
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What happens where there is more cache? (2 marks)

A
  1. More cache means more data can be stored
  2. Speeds up the performance of the CPU
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What are registers? (2 marks)

A
  1. Extremely small, extremely fast memory located in the CPU
  2. Each register has its very own specific purpose
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Why is the data not kept in the RAM and collected one at a time to be processed? (5 marks)

A
  1. Cache memory is much closer to CPU
  2. Keeps data closer to the CPU 3. Reduces transfer time / makes it quicker
  3. Cache memory is temporarily used to hold data and instructions that the processor is likely to reuse
  4. Allows for faster processing as processor does not have to wait for the instructions and data to be fetched from RAM (outside the CPU)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly