CPU Flashcards

1
Q

What does CPU stand for?

A

Central Processing Unit

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

What is the function of CPU?

A

Responsible for gathering and executing instructions in their order, as well as controlling peripherals (devices)

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

What are the components in a CPU?

A

Arithmetic and Logic Unit (ALU)
Control Unit (CU)
Registers
Program Counter
System Clock

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

What does ALU do?

A

Performs execution of instructions including arithmetic, logic and comparison operation

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

What is arithmetic operation?

A

Addition, subtraction, multiplication and division

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

What is logic operation?

A

True and false

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

What is comparison operation?

A

Greater than, equal to, less than

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

What does CU do?

A

Directs and coordinates operations in the computer;
Performs fetch-execute cycle;
‘The boss of CPU’

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

What does register do?

A

Small but fastest storage/memory to the CPU

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

What does program counter do?

A

Register that stores the address of the currently executing instruction

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

What does system clock do?

A

Microprocessor that regulates timing and speed of computer system’s functions

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

What is Fetch-Execute cycle?

A

A process in which a computer receives data and determines what to do with it

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

Process of the Fetch-Execute cycle?

A
  • Fetch - Decode - Execute - Store -
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What is the fetch process about?

A

CPU retrieves instructions from a system hard drive or SSD and stores them in a register

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

What is the decode process about?

A

CPU determines which system components are required in the execution of the instruction and stores them in a register

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

What is the execute process about?

A

CPU assigns relevant actions to the relevant system components in order to carry out the instructions, processing the actual data

17
Q

What is the store process about?

A

Processed data is stored in memory locations (Registers, HDD, SSD)

18
Q

What is instruction cycle?

A

Fetch and decode process

19
Q

What is execution cycle?

A

Execute and store process

20
Q

Explain the whole process of fetch-execute cycle in Little Man Computer model

A
  • receives value from program counter indicating where to fetch the instruction
  • decodes the instruction by reading the instruction set, head to the memory to get the data
  • follows instruction and perform task, then tell program counter to +1 for next instruction
21
Q
A