Unit 3 Hardware Flashcards

1
Q

what is the responsibility of a CPU (central processing unit) (AKA microprocessor or processor)

A

execution or processing of all the instructions and data in a computer application

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

what does a CPU consist of

A

control unit (CU)
arithmetic and logic unit (ALU)
registers and buses

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

what is the function of ALU

A

allows the required arithmetic or logic operations to be carried out while a program is running

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

what is the function of CU

A

reads an instruction from the memory

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

what is the function of the system clock

A

produce timing signals on the control bus to ensure synchronization takes place, or else the system will crash

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

What is the function of RAM

A

often referred to as the immedi access store, RAM temporarily stores read/ write operations which are being carried out

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

what are the 5 special purpose registers

A

Current instruction register
accumulator
memory address register
memory data/ buffer register
program counter

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

function of current instruction register (CIR)

A

stores the current instruction being decoded and executed

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

function of accumulator (ACC)

A

used when carrying out ALU calculations; it stores data temporarily during the calculations

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

what is the function of the memory address register (MAR)

A

stores the address of the memory location currently being read from or written to

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

what is the function of memory data/ buffer register (MDR)

A

stores data which has just been read from memory or data which is about to be written to memory

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

what is the function of the program counter (PC)

A

stores the address where the next instruction to be read can be found

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

what is the purpose of a system bus

A

connect the system to the memory and to input/ output devices

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

what are the 3 system buses

A

Address bus
Control Bus
Data bus

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

why are read/ write operations carried out using the RAM

A

the RAM carries out read/ write operations faster than a backing store (i.e- hard disk drive)

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

what is a computer memory made up of and what do they contain

A

a computer memory is made up of a number of partitions. Each partition consists of an address and its contents

17
Q

what is the function of the address and contents within a computer memory

A

The address will uniquely identify every location in the memory and the contents will be the binary value stored in each location.

18
Q

what is the general purpose of input devices

A

input devices are main method of entering data into computer systems, they convert external data into a form the computer can understand and can then process

19
Q

what is the general purpose of output devices

A

output devices are the main method of getting data out of computer systems, Output devices show the results of computer processing in a human understandable form

20
Q

what is the function of address bus

A

carries addressees throughout the computer system

21
Q

why is an address bus unidirectional, and what is unidirectional?

A

unidirectional refers to bits being able to travel through one direction only, an address bus is unidirectional to prevent addresses being carried back to the CPU, which would be an undesirable feature

22
Q

why is the width of a bus important, for which of the system buses does the width of a bus matter

A

the width of the bus is a very important factor for address buses and data buses as this determines the amount of bits which can simultaneously be addressed at any given time.
However, since a control bus only carries signals from the control unit, there is no real need for it to be wider

23
Q

what direction can bits in the data bus travel in, and what can be contained inside a data bus?

A

The data bus is bidirectional (allowing data to be sent in both directions along the bus). This means data can be carried from CPU to memory (and vice versa) and to and from input/output devices. It is important to point out that data can be an address, an instruction or a numerical value

24
Q

what is the function of a control bus

A

It carries signals from the control unit (CU) to all the other computer components

25
Q

how is the fetch-decode-execute cycle carried out in the von neumann computer model?

A

first, the CPU checks checks for instructions, when an instruction is found, Program Counter (PC) contains the address of the memory location of the next instruction which has to be fetched. After which, This address is then copied from the PC to the memory address register (MAR); this is done using the address bus. Next, The contents (instruction) at the memory location (address) contained in MAR are then copied temporarily into the memory data register (MDR), The contents (instruction) of the MDR are then copied and placed into the Current Instruction Register (CIR), then The value in the PC is then incremented by 1 so that it now points to the next instruction which has to be fetched and lastly The instruction is finally decoded and then executed by sending out signals (via the control bus) to the various components of the computer system