Function Of The CPU Flashcards

You may prefer our related Brainscape-certified flashcards:
1
Q

What is the main purpose of the CPU?

A

It processes data.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What 3 steps does the CPU follow?

A

Fetch-decode-execute

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What happens during the fetch stage?

A

In this stage the CPU fetches/collects some data and instructions from storage (RAM) and then stores these in its own temporary memory which are the registers.

For this to happen the address bus is used - the address bus is a piece of hardware- and the address of the next item that the CPU wants is put on this bus.
Data from this area then travels from the RAM to the CPU on another bus - this time called the data bus.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What happens during the decode stage?

A

The instruction is worked out.
The CPU understands what the instruction which has just been fetched actually means, and begins to prepare for the next step.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What happens during the execute stage?

A

This is where the actual data processing happens. Instructions are carried out on the data. Once one cycle has finished another begins.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What are the main components of a CPU?

A
  • Control unit
  • Cache (memory)
  • Arithmetic and logic unit
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What are the three main jobs of the control unit?

A
  • It manages and maintains hardware on the computer to ensure that the correct data goes to the correct hardware.
  • It manages the input and output signals (ensures they are dealt with correctly)
  • It uses clock signals to synchronise the running of the Fetch - Decode - Execute cycle
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What is cache?

A

An extremely small amount of fast memory which is stored inside the CPU.
Cache is much faster than RAM as there is less distance to travel.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What does the ALU do?

A
  • The arithmetic part is where the actual calculations on the data are performed
  • The logic part is where the logical operations are dealt with.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly