computer organisation and architecture Flashcards

1
Q

internal components of a computer

A

processor
main memory
address bus
data bus
control bus
I/O controllers

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

role of processor

A

executes machine instructions that are fetched from main memory locations.
processor selects a memory location by placing the address of the location on the address bus.
data processed by machine instructions is fetched along the data bus from main memory and the results of processing are returned in the same way

control bus is used by the processor to assert actions and to allow devices to grab the attention of the processor via the interrupt mechanism when a key is pressed

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

role of main memory

A

memory that can be accessed directly by the processor

main memory consists of a contiguous block of read/write, randomly accessible storage locations where instructions or data are stored as binary sequences

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

role of address bus

A

underictional and used to select a specific memory location containing a word of data or an instruction.

it carrys the address of the desired location on its bus. the address bus is also used to address I/O ports during input/output operations

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

role of data bus

A

provides a bidirectional path for moving data and instructions between system components

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

role of control bus

A

bidirectional bus which is used to transport control signals that manage and orchestrate the operations that take place in a computer system between components.

(includes exchanging status signals between the components and transmitting clock signals required for the coordination of instructions).

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

role of I/O controllers.

A

used to buffer data being sent between the processor and the device, so the processor does not have to wait for the individual device to repond

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

concept of bus

A

transfer data between components

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

address bus

A

used to specify the address of a memory location to either read data from or write data to that memory location

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

control bus

A

used to send control signals that manage and orchestrate the operations that take place inside a computer system

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

data bus

A

used to transfer data and instructions
bidirectional

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

difference between von neuman and harvad

A

Harvard - execution of instructions are faster as fetching of code and data are simultaneous

Von Neumann - instructions and data have combined memory spaces (used extensively in general purpose computing systems)

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

where are harvad architecture used

A

embedded systems such DSP systems

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

where are von neuman used in

A

general purpose computing systems

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

concept of addressable memory.

A

memory in a computer that can be accessed by the computer’s processes and is assigned to a particular place in that computer’s processor.

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

stored program concept

A

Instructions are stored in the main memory. Instructions are then fetched decoded and executed by the processor which allows the program to be moved in and out of the main memory

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

role of arithmetic logic unit

A

part of the processor that processes and manipulates data.

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

role of control unit

A

controls the fetch decode execute cycle and sends signals to other components of the cycle

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

role of clock

A

To control the speed at which instructions are retrieved and processed in the CPU

20
Q

role of generous purpose systems

A

designed to perform many tasks (tablets, PC)

21
Q

role of program counter

A

stores memory address of the next instruction to be fetched and executed

22
Q

role of current instruction register

A

stores the instructions that is currently being executed by the processor

23
Q

role of memory address register

A

stores the memory location where data in the MBR is about to be written to or read from.

24
Q

role of memory buffer register

A

holds the data that has just been read from or is about to be written to main memory.

25
Q

role of status register

A

to store information about instructions received from machines

26
Q

fetch stage of fetch decode execute cycle

A
  • Contents of Program Counter transferred to Memory Address Register
  • Address bus used to transfer this address to main memory
  • instruction transferred using the data bus
  • Contents of addressed memory location loaded into the Memory Buffer
    Register
  • Transfer content of Memory Buffer Register to the Current Instruction
    Register
27
Q

decode stage in fetch decode execute cycle

A
  • instructions held in the CIR is decoded by the CU (where the instruction is split – - into opcode and operand)
28
Q

During the decode and execute stages of the fetch-execute cycle the instruction
that is being processed is stored in the CIR. Explain why the instruction could
not be processed directly from the MBR.

A
  • To carry out the instruction other data may need to be fetched
  • Further memory fetches would overwrite the contents of the MBR
29
Q

execute stage in fetch decode execute cycle

A
  • Any data required by the instruction that isn’t present in registers is fetched
  • The instruction is carried out
  • Results of any calculations are stored in general purpose registers or main memory
30
Q

processor instruction set

A

group of instructions that it can carry out

31
Q

what does instructions consist of

A

an opcode and one or more operands (value, memory address or register).

32
Q

immediate addressing

A

Immediate addressing: the operand is the datum.

33
Q

direct addressing

A

the operand is the address of the datum.

34
Q

interupt

A

Allows the currently executing process to be suspended

So that a device that needs the attention of the processor can be dealt with

35
Q

why is it important to save the volatile environment while the interrupt is being serviced

A

So that the currently running process can be returned to

As the interrupt will change register values

36
Q

6 factors that affect processor performance

A

multiple cores
cache memory
clock speed
word length
address bus width
data bus width.

37
Q

effect on processor performance of multiple cores

A

parallel processing can take place, therefore the speed of execution is increased

38
Q

effect on processor performance of cache memory

A

increasing size of cache, more data and instructions can be stored there, resulting in programs running faster

39
Q

effects on processor performance of clock speed

A

increasing clock speed causes instructions to executed at a faster rate.

40
Q

effects on processor performance of word length

A

increasing word length means the processor can access a larger amount of memory through direct accessing and could also allow the processor to have a larger instruction set

41
Q

effects on processor performance of address bus width

A

increasing width increases number of addressable locations and allows more memory to be installed on the computer

42
Q

effects on processor performance of data bus width

A

increasing width increases rate of data transfer

43
Q

laser printer

A

bitmap of image built in memory from page description
charge applied to drum
laser beam directed at drum
mirror is used to direct laser beams
where laser strikes drum charge is discharged
charge applied to toner
toner sticks onto where the laser struck
paper passed over drum and toner transfers to it
positively charged transfer roller assists transfer of toner to paper
heat fuses onto paper
four drums are are required for colour printing

44
Q

RFID scanners

A

RFID scanner sends signal;
Signal induces current in RFID transponder
RFID transponder sends data by radio

RFID signals processed into a format suitable for querying the database
query used to check if there is already a record for the product in the database

45
Q

Explain why the product manufacturers or supermarket owners might prefer the individual products to be identified using barcode labels

A

Barcodes are cheaper than RFID tags
Higher cost of RFID tags would be added on to prices

46
Q

Explain why the warehouse owners might prefer the individual products to be identified using RFID tags

A

the RFID tags could be read without removing products from their pallet;
RFID tags can be read from a distance (than barcodes)

47
Q

Describe the principles of operation of an optical disk drive that is used to read data
from an optical disk such as a CD-ROM or DVD-ROM

A

light is shone at disk
light is reflected back from disk which is measured
Disc spins at constant linear velocity

Data is stored on one/spiral track
Continuation of land reflects light whereas transition between land and pit scatters light
Transition between land and pit indicates a 1 and continuation of land represents 0