fetch execute cycle Flashcards

1
Q

What are the 4 main components of a cpu

A

arithmetic logic unit (alu), control unit (cu), clock and bus

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

What does a control unit do?

A
  • controls the execution of instructions in the correct sequence
  • it decodes instructions
  • it regulates and controls processor timing using regular pulses from the system clock
  • it sends and receives control signals to and from other devices within the computer
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What does the clock do in the CPU

A

The system clock controls processor timing, switching between zero and one at rates exceeding several million times per second. It synchronizes all CPU operations.

The clock frequency is the number of clock cycles which occur each second

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

What are the 3 main things that the ALU does?

A
  • logic operations (e.g AND, OR , NOT)
  • shift operations
  • arithmetic operations (addition, subtraction)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What are the 3 buses

A

address bus ,control bus , data bus

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

What happens in the fetch part of the fetch execute decode cycle?

A

-The address of the instruction (that is going to be executed) is fetched from the register

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

What happens in the decode part of the fetch execute decode cycle?

A

The control unit decodes the instruction to see what has to be done next.

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

What happens in the execute part of the fetch execute decode cycle?

A

The processor checks the program counter to see which instruction to run next.

The program counter gives an address value in the memory of where the next instruction is.

The processor fetches the instruction value from this memory location.

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

What factors can affect a cpu’s performance

A

clock speed , amount of cache and amount of processor cores

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

What is the fetch decode execute cycle also known as

A

The instruction cycle

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