Unit 2 Computer Systems Flashcards

1
Q

What is Von Neumann Architecture made up of

A

It has a CPU with a single control unit, It has ALU with processor registers

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

What does the Von Neumann Model do

A

It fetches instructions from memory, decodes and executes them. This is not a very efficient model but it is simple

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

What is the 3 step cycle used by the CPU to process data

A

Fetch - Decode - Execute cycle

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

What is Fetch in the Fetch - Decode - Execute cycle

A

Instructions are loaded into RAM before the processor starts running the program

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

What is Decode in the Fetch - Decode - Execute cycle

A

The binary representation of an instruction needs to be decoded before it can be run. This is the process the Control Unit uses to work out what the other components need to do.
Each processor will have slightly different encodings for instructions

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

What is Execute in the Fetch - Decode - Execute cycle

A

Once the instruction is understood, the instruction will be executed. The Control Unit tells the other components what they need to do in order for the instruction to work

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

How does the CPU use Fetch

A

Control Unit sends the fetch instruction
ALU adds one to program counter
Buses carry the instruction to memory and carry the data back
MAR holds the address to fetch the instructions from
MDR receives instruction fetched from RAM
CIR gets a copy of the instruction
Program counter goes up by one

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

How does the CPU use Decode

A

Control Unit decodes the instruction
Buses carry the instruction to the Control Unit
CIR provides the instruction to the Control Unit

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

How does the CPU use Execute

A

Control Unit tells other components what they need to do
ALU performs calculations
Busses carry and data required or received from the instruction
Accumulator holds any data that is produced

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