1.1.1b - performance of the CPU (y12) Flashcards

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

What is clock speed?

A

Number of cycles a CPU can execute per second, measured in Hz.

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

How does clock speed affect performance?

A

Higher clock speed = more instructions executed per second.

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

What is a core in a CPU?

A

A processing unit capable of executing instructions independently.

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

How does multi-core processing improve performance?

A

Multiple instructions can be executed in parallel.

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

Why might multi-core not always result in linear speed increase?

A

Software must be optimised for multi-core usage.

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

What is cache memory?

A

Small, fast memory inside or near the CPU that stores frequently accessed data.

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

Why is cache important for performance?

A

Reduces the time needed to access data from main memory.

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

What happens if cache is too small?

A

CPU has to access slower main memory more often.

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

What are the levels of cache?

A

L1 (fastest, smallest), L2, and L3 (slowest, largest).

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

Why is RAM slower than cache?

A

RAM is further from the CPU and not optimised for speed.

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

What does RAM stand for?

A

Random Access Memory.

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

What is the impact of RAM size on performance?

A

More RAM = more programs/data held in memory = less disk swapping.

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

What is the purpose of virtual memory?

A

To use part of the hard drive as RAM when physical RAM is full.

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

What is the downside of virtual memory?

A

It is much slower than RAM.

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

What is pipelining?

A

Technique of overlapping fetch, decode, execute cycles for faster processing.

17
Q

What does FDE cycle stand for?

A

Fetch–Decode–Execute cycle.

18
Q

How can pipelining improve performance?

A

Increases throughput by allowing multiple instructions in different stages.

19
Q

What is the control unit responsible for?

A

Directs operations of the processor.

20
Q

What is the role of the ALU?

A

Performs arithmetic and logic operations.

21
Q

What is the accumulator?

A

Register that stores intermediate arithmetic/logic results.

22
Q

What does the program counter do?

A

Holds the address of the next instruction to execute.

23
Q

What is the role of the MAR?

A

Memory Address Register stores memory location to access.

24
Q

What does the MDR do?

A

Memory Data Register holds data read/written from memory.

25
What does the CIR hold?
Current Instruction Register stores the instruction being decoded/executed.
26
Why does a CPU need registers?
They provide ultra-fast storage for instruction processing.
27
What is the bus system in a CPU?
Pathways for data/instruction transfer between components.
28
Name the three main buses.
Data bus, Address bus, Control bus.
29
What is the address bus?
Carries memory addresses from CPU to RAM.
30
What is the data bus?
Carries actual data between CPU and memory.
31
What is the control bus?
Sends control signals between components.
32
What factors affect CPU performance?
Clock speed, number of cores, cache size, RAM size, pipelining.