Computer Systems - The CPU Flashcards

1
Q

What is the CPU and what does it do?

A

The brain of the computer system that process all of the data and instructions that make the system work

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

What does the processing power of the CPU depend on?

A

Clock speed
Number of cores
Cache size and type

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

What does the CPU architecture describe?

A

The main components of the CPU, how they interact with each other, and with other parts of the computer system

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

What are the two types of CPU architecture?

A

Von Neumann - need to know this one
Harvard

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

What are the 5 main parts of the CPU?

A

The control unit (CU)
The arithmetic Logic unit (ALU)
Cache
The clock
Buses

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

What is the control unit?

A

Is the overall control of the CPU - its main job is to manage the fetching, decoding and execution of program instructions by the following the Fetch-Execute Cycle.

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

What does the Control Unit (CU) do?

A

Controls the flow of data inside the CPU (ALU, cache, registers) and outside the CPU (main memory and input/output devices (I/O devices))

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

What does the Arithmetic Logic Unit do?

A

Completes simple maths (addition, subtraction, multiplication, division) and compares the size of numbers

Performs logic operations (AND, OR and NOT) and binary shifts

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

How do registers help the ALU?

A

The registers are used to store immediate results of calculations

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

What is cache?

A

Very fast memory in the CPU - slower than registers but faster than RAM

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

What does cache do?

A

Stores regularly used data so the CPU can access it quickly when needed

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

How does the CPU request data?

A

It checks the cache first to see if the data is there, if not, it will get the data from RAM

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

What is bad about RAM?

A

They have low capacity and are expensive compared to RAM and secondary storage

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

What does the clock do?

A

Sends out a signal that continually cycles between 1 and 0 - usually at a constant rate
The signal is then used to synchronise when instruction will be carried out (like a metronome)

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

What is clock speed?

A

The number of clock cycles (or clock ticks) per second

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

Why does the CPU contain registers?

A

They temporarily hold tiny bits of data needed by the CPU

17
Q

What is good about registers?

A

They are super-quick to read and write to - much faster than any other form of memory

18
Q

What are buses and how do they help the CPU?

A

They are collections of wires that are used to transmit data between components of the CPU and to other parts of the computer system.

19
Q

Why might a processor have separate buses?

A

To carry data, instructions and memory addresses