The CPU Flashcards

1
Q

What is the CPU?

A

“Brain of the computer” Processes all 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 and cache size

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

What is the CPU architecture

A

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

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

What are the three main parts of the CPU?

A

The Control Unit (CU)
The Arithmetic logic Unit (ALU)
The Cache

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

What is The Control Unit (CU) and what does it do?

A

The Control Unit is in overall control of the CPU. Main job is to manage Fetching, decoding and executions of program instructions by following fetch execution cycle.
It also controls the flow of data inside the CPU ( to register ALU cache) and outside the CPU ( to main memory and input/output devices)

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

What is the Arithmetic Logic Unit (ALU) and what does it do

A

Containing the accumulator register the Arithmetic logic Unit (ALU) does all the calculations, completes simple addition and subtraction, compares the size of numbers and can do multiplications and divisions using repeated addition and subtraction. It performs logic operations such as AND, OR or NOT and binary shifts.

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

What is The Cache and what does it do?

A

The cache is very fast memory in the CPU. It is slower than Registers but faster than RAM. It stores regular used data so the the CPU can access it quickly the net time its needed. When the CPU requests data, it checks the cache first to see if the data is there. If not it will fetch from RAM.

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

Different Levels of Cache

A

Different levels of cache memory include
L1 - quickest but has the lower capacity
L2 - is slower than L1 can hold more
L3 - is slower than L2 but can hold more

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

What is Von Neuman architecture?

A

Von Neuman describes a system where the CPU runs programs stores in the memory. Programs consist of instructions and data which are stored in the memory address. It uses memory for both the data and instructions

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

What is the Memory address register (MAR) ?

A

(MAR) holds the memory address abut to be used by the CPU. The address might point to the data or the CPU instruction

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

What is the Memory data register (MDR) ?

A

(MDR) holds the actual data or instruction. This may have been fetched from the memory, or be waiting to be written or memory.

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

What is the function of Memory?

A

To hold instruction and program data

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

What is the Program Counter (PC) and what does it do?

A

It holds the memory Address of instruction each cycle

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

What do CPUs follow?

A

The Fetch-Execute Cycle (otherwise known as the Fetch-Decode-Execute Cycle)

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

What is the Fetch?

A

The copying of the memory address from the (PC) to the (MAR). The copying of the instruction from the (MAR) to the (MDR). Then incrementing the (PC) to point to the next address of the next instructions ready for the next cycle

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

What is the Decode?

A

Instruction in the (MDR) is decoded by (CU). (CU) prepare next step e.g loading values into (MAR)/(MDR)

17
Q

What is the Execute?

A

Instruction performed. Could be load data from memory, calculation or logic operation using (ALU) change address in the PC or holt program