CPU Flashcards

1
Q

Where does the CPU fetch instructions from?

A

RAM (Random Access Memory)

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

What does the CPU do?

A

The Fetch-Decode-Execute cycle. The CPU fetches instructions from memory (RAM), it decodes the instructions and then executes those instructions. The instructions are provided by a computer program.

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

What is the purpose of the CPU

A

To process data

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

What computer components does the CPU control?

A

Hard disk
DVD drive
Sound system
Graphics system

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

What are the 3 sections inside the CPU

A

Control Unit
Arithmetic Logic Unit (ALU)
Registers

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

What 3 jobs does the control unit do?

A

It controls the way data moves around the CPU
It executes the instructions provided by the program
It controls and monitors the flow of data between the CPU and other components such as input devices, memory, graphics card etc

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

What 2 jobs does the ALU do?

A

Arithmetic operation - it performs standard arithmetic operations such as addition, subtraction, multiplication etc
Logic operation - it deals with logic and comparisons such as ‘is this value greater than that value’ the answer is always either ‘true’ or ‘false’

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

What is a register?

A

A type of memory inside the CPU

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

What are registers used for?

A

Registers are used to hold temporary data while a software program is running. As the CPU processes the data, the software program will shift the data in and out of the registers

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

Which is faster to shift data to and from?

A

The registers are much faster than cache or RAM, speeding up the processing time

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

What are the 5 types of register?

A
Memory Address Register (MAR)
Memory Data Register (MDR)
Accumulator
Program Counter
Instruction Register
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What are the MDR and the MAR used for?

A

To move data and instructions to and from main memory

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

What does the Accumulator do?

A

It’s where data is stored as calculations are underway

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

What does the Program Counter do?

A

Points to the next instruction

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

What does the Instruction Register contain?

A

The next instruction to be run

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

What is cache?

A

Is a small, but extremely fast, type of RAM

17
Q

Why is cache memory used?

A

To speed up processing time, cache memory is used to store instructions or data that are either frequently used, have recently been used or are about to be used

18
Q

Which level of cache is the fastest?

A

Level 1 Cache

19
Q

What is Level 1 Cache?

A

Is the fastest but the smallest size and resides inside the CPU chip

20
Q

What is Level 2 Cache?

A

Is a bit slower but is larger, and so can hold more data

21
Q

What is Level 3 Cache

A

Is slower still but can hold the most data

22
Q

What is the clock in the CPU?

A

A tiny quartz crystal that inside the CPU chip that ticks at a steady rate

23
Q

What does 1 tick of the clock mean?

A

1 instruction processed

24
Q

What clock speed does a typical computer have?

A

3GHz, meaning 3 Billion instructions processed every second