1 Hardware and Communication Flashcards

1
Q

What is the purpose of the CPU?

A

To carry out all the mathematical and logical operations needed to execute instructions.

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

What are the components in the CPU diagram?

https://whitchurchhighschool129-my.sharepoint.com/:i:/g/personal/bryanth_whitchurch_cardiff_sch_uk/EehNBuePGYxBjMgVRVY8e-sBOMTrcMRNIye7RTzLCYa2kQ?e=xQAzTu

A

A - ALU
B - Registers
C - Control Unit
D - Input Devices
E - Output Devices
F - Memory

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

A

Responsible for calculations and logic operations.

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

What is the purpose of the control unit?

A

It manages the execution of machine code by sending control signals

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

What is the purpose of the control bus?

A

The control bus transmits the signals being sent out by the control unit to all connected devices, including the hard drive, graphics cards etc

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

What is a register? What is the difference between a special register and general purpose register?

A

A small block of memory used for temporary storage.

Special registers have a specific role to play.

General purpose registers can be used as programs run however the programmer wishes to utilise it in an algorithm

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

Name 5 special purpose registers

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
8
Q

What is the purpose of the program counter

A

To store the value of the next instruction to be accessed from the main memory.

This value is passed to the MAR before the instruction is fetched.

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

What is the purpose of the MAR?

A

Instructions that need processing are stored in the main memory and need “fetching” into the special registers in order to be executed.

The MAR contains the memory address of the memory location that needs to be accessed, this can be to both retrieve and store data.

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

What is the purpose of the MDR?

A

When an instruction or data is fetched from the memory it needs to be stored in a special register.

This is the purpose of the MDR.

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

What is the purpose of the CIR?

A

The data or instruction in the MDR is stored in the CIR. This means that the MDR is free to be reused to fetch another instruction while the “current instruction” is decoded and executed.

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

What is the purpose of the accumulator?

A

Used by any instruction which performs a calculation. The results of these calculations are stored in the ACC.

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

How does the CPU make use of “cache memory”?

A

Cache memory is high speed storage for frequently used data or instructions. Storing such data and instructions in cache memory eliminates the need to perform time consuming fetch operations each time they are accessed.

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

What is the difference between the different levels of cache memory?

A

Level 1 - Fastest but smallest. Usually embedded in the CPU

Level 2 - Usually higher capacity than level 1but slower. Can be on the CPU or on a separate chip.

Level 3 - The slowest and largest area of cache memory, usually shared by all cores on a processor.

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