1.1.1 Flashcards

1
Q

What is the purpose of the CPU ?

A

to process data and instructions by constantly repeating the fetch- execute cycle.

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

What is the purpose of the Control unit ?

A
  • Send signals to direct the operation. of the CPU
  • Decode instructions as part of the ‘decode’
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is the purpose of the Arithmetic and logic unit (ALU) ?

A

perform logic operations and simple calculations

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

What is the purpose of the Cache ?

A
  • temporary storage for frequently accessed data
  • Cache is faster than RAM
  • Cache is slower to access than registers
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What is the purpose of the Register ?

A

A temporary storage space for an address or one instruction

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

What are the 5 registers used in the FE Cycle ?

A
  • Program counter
  • Memory address register
  • Memory data register
  • current instruction register
  • Accumulator
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What is the purpose of the Program counter ?

A

tracks the Ram address of the next instruction to be fetched

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

What is the purpose of the ACC ?

A

store results off logical and mathematical calculations

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

What is the purpose of the MAR ?

A

tracks the Ram address of the instruction that needs to be fetched

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

What is the purpose of the MDR ?

A

stores the instructions that has been transferred from RAM to the CPU

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

What is the purpose of the CIR ?

A

store instructions that has been fetched by RAM an id going to be executed or decoded

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

What does a computer with Von Neumann architecture store ?

A

Program, data and instruction in the RAM

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

What is the idea of the FE Cycle ?

A

Ram fetches instructions
decoded
executed by CPU

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

What is the first stage of the FE Cycle ?

A

PC register shows the address in the RAM of the next instruction to be processed. The value is compied into the MAR.

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

What is the second stage of the FE Cycle ?

A

PC register is increased by 1, preparing the CPU for the next intruction to be fetched

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

What is the third stage of the FE Cycle ?

A

CPU checks the address in RAM which matches the address held in the MAR

16
Q

What is the fourth stage of the FE Cycle ?

A

instructions in RAM are transferred to the MDR

17
Q

What is the fifth stage of the FE Cycle ?

A

instructions in the MDR is copied into the CIR

18
Q

What is the sixth stage of the FE Cycle ?

A

The instruction in the CIR is decoded and executed. All results of an execution is stored in the ACC register.

19
Q

What is the seventh stage of the FE Cycle ?

A

The cycle repeats by returning to the PC for the address of the next instruction.