Computer Science Flashcards

1
Q

What is the purpose of the ALU?

A

Performs all arithmetic functions e.g addition and subtraction

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

The CU coordinates all activities of the CPU

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

What are registers?

A

They are quick, small stores of data within the CPU

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

What is the purpose of the MAR?

A

It holds the memory address for data or instructions about to be used by the CPU

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

What is the purpose of the MDR?

A

It holds the actual data or instruction.

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

What is the purpose of the accumulator?

A

It stores results of calculations done by the ALU

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 (PC)?

A

It holds the memory address of the instruction for each cycle

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

What is the fetch part of the fetch-decode-execute cycle?

A

This is where the next instruction is retrieved by the CPU from main memory

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

What is the decode part of the fetch-decode-execute cycle?

A

The instruction is broken down and decoded so the computer can understand

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

What is the execute part of the fetch-decode-execute cycle?

A

This is where the CPU performs what the instruction tells it to.

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