central processing unit architecture Flashcards

AS-level

1
Q

purpose and roles of the control unit

A

–directs and co-ordinates other parts of computer system
–controls operations of computer system
–fetches computer instructions
–decodes each instructions
–executes these instruction.

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

purpose and roles arithmetic logic unit

A

– a unit which performs arithmetic operations
–and bit shifting operations
– logic operation(AND,OR,XOR)
–designed to perform integer calculation

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

define operand

A

part of the computer instruction which specifies what data is to be processed

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

define opcode

A

is the instruction that is executed by the cpu

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

purpose and role of registers

A

–small piece of memory
–part of the processor
–temporary storage of data which is about to or had been processed

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

difference between general purpose and special purpose registers

A

general purpose registers holds the temporary data while performing difference operations.

special purpose registers holds the status of a program

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

define program counter

A

stores the address of next instruction to be fetched

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

define MAR

A

stores memory address where data is to be read from

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

define MDR

A

stores data that has just been read from memory

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

define CIR

A

stores the instruction that is currently being executed

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

define IX

A

index register used for indirect addressing .

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

define ACC

A

(accumulator) is the register where the data is worked on (general purpose register).

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

define status register

A

is interpreted as independent flags each flag is set depending on an event .

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

purpose and role of a system clock

A

–every computer contains an internal clock that regulates the rate at which the instruction are executed
–CPU requires a fixed number of clocks cycles that executes each instructions
– used to synchronize all the operation.

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

state the various components of the computer system that transfers data

A

–data bus
–address bus
–control bus

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

define data bus

A

–carries data between processor and memory
–bi-directional bus
– used to exchange data

17
Q

define address bus

A

–uni- directional
–that carries signal related to memory address
– between processor and memory

18
Q

define control bus

A

–transmits signals between control unit and other components
–bi-directional

19
Q

what are the factors affecting the computer performance

A

–data bus width
–clock speed
–cache memory
–number of cores

20
Q

define how the data bus width affects performance

A

– the width of a bus determines the number of bits that can be simultaneously transferred
–increasing the width of a data bus increases the number of bits that can be transferred
– hence improve processing speed as fewer transfers are needed

21
Q

define how the clock speed affects performance

A

–one F-E cycle is run on each clock pulse
–so the clock speed dictates the number of instructions that can be run per second
–the faster the clock speed the more instructions can be run per second

22
Q

define how the cache memory affects performance

A

can also improve processor performance , it is similar to RAM, cache uses SRAM so they have faster access time as there is no need to keep refreshing. cache memory stores frequently used instructions and data that needs to be accessed faster , this improves processor performance

23
Q

define how the number of cores affects performance

A

–each core processes one instruction per clock pulse
–more cores mean that sequence of instructions can be split between them and so more than one instruction is executes per clock pulse
–more cores decreases the time taken to complete task

24
Q

define a port

A

acts as an interference between computers and other peripheral devices. female part of connection

25
Q

benefits of connecting peripheral devices using a USB port

A

– fast data transfer
useful when transferring large files such as video files

–automatic connection/plug and play
so usually there is no need to install separate drivers

–USB is now an industrial standard
all new computers will be equipped by USB port

–device may be powered or changed through USB
external devices could be charged while working at the computer

26
Q

use of HDMI cables

A

– helps to connect more monitors
– hdmi ports allow to output both audio and visual
–they support high definition signals
–faster data transfer
–hdmi increases the bandwidth making it possible to supply the necessary data for high quality sound and visual effects

27
Q

advantages of HDMI

A

– current standard for modern televisions and monitors.
–allows for a very fast data transfer rate
–improved security, helps prevent privacy by the help of HDCP
–supports modern digital system

28
Q

disadvantages of HDMI

A

–not a very robust connection(easy to break connection when simply moving devices)
–limited cable length

29
Q

advantages of VGA

A

–simpler technology
–only one standard available
–easy to split the signals and connect a number of devices from one source
–the connection is very secure
–VGA supports a higher refresh rate

30
Q

disadvantages of VGA

A

– it does not support audio
–outdated as modern laptops and computers rarely have a VGA port
–easy to bend the pins when making connections

31
Q

describe the process fetch-execute cycle

A

– pc holds the address of the next instruction to be fetched
– the address in program counter is copied to MAR
–program counter is incremented
–the instruction is copied from address stored in MAR to MDR.
–then instruction from the MDR is copied to CIR

32
Q

instructions of the F-E cycle

A

MAR<=[PC]
PC<=[PC]+1
MDR<=[[MAR]]
CIR<=[MDR]

33
Q

state the purpose of double brackets

A

the contents of MAR is an address , it is the contents of that address which is transferred to MDR

34
Q

what is meant by interrupt

A

a signal from source/device
telling the processor that its attention is needed

35
Q

example of hardware interrupt

A

printer out of paper

36
Q

example of software interrupt

A

run-time error
a running program needs input