Section 5 - Computer organisation and architecture Flashcards

(31 cards)

1
Q

what are the internal components of a computer

A
  • processor
  • main memory
  • address bus, control bus, data bus
  • I/O controllers
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

what is the processor

A

the processor responds to and processes the instructions that drive the computer

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

what parts are in the processor

A
  • control unit
  • ALU (arithmetic/logic unit)
  • registers
  • clock
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

what does the control unit do

A

co-ordinates and controls all the operations carried out by the computer
e.g. FDE

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

what does the ALU do

A

the ALU can perform different operations on data

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

what are registers

A

memory cells that operate at high speeds
an accumulator is another word for general purpose register, only really used when there is just one register

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

what is a bus

A

a set of parallel wires connecting two or more components of a computer

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

what are the different buses for

A
  • address bus: if the CPU wants to access a particular main memory location
    one way (from processor to memory or I/O controller)
  • data bus: moves around data
    travels in both directions
  • control bus: moves around control signals
    travels in both directions
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

what is an I/O controllers

A

a device which interfaces between an input or output device and processor

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

what is von Neumann architecture

A

a shared memory and control bus is used for data and instructions

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

what is the stored program concept

A

instructions are stored in main memory and fetched and executed by the processor

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

what is Harvard architecture and advantages

A

computer architecture with separate memories and buses for instructions and data
used with digital signal processing (DSP) systems
- means instructions and data can be accessed simultanously
- avoids delays to fetch information
- data and memory can have different word lengths

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

what are the dedicated registers

A
  • program counter (PC): stores the address of the next instruction to executed
  • current instruction register (CIR): holds the current instruction being executed
  • memory address register (MAR): holds the address of the memory location of the data being executed on
  • memory buffer register (MBR): temporarily stores data read or written from memory
  • status register (SR): contains bits that have been set or cleared
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

what happens in the fetch stage of the FDE cycle

A
  • the address of the next instruction is copied from the PC to the MAR (via the address bus to main memory)
  • the instruction held at that address moved to the MBR (via the address bus)
  • the contents of the PC is increased by 1
  • the contents of the MBR are copied to the CIR
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

what happens in the decode stage of FDE cycle

A
  • the instruction held in the CIR is decoded by the control unit
  • the instruction is split into opcode and operand
  • additional data is fetched is necessary and passed to registers
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

what happens in the execute stage of the FDE cycle

A
  • the instruction is executed, and any calculations needed are carried out by the ALU
  • results are stored in the accumulator, general purpose register or memory
17
Q

what are the factors affecting processor performance

A
  • number of cores: more cores means more FDE cycles
  • amount of cache memory: cashe has very fast read/write speeds, reduces time wasted fetching information from main memory
  • clock speed: higher frequency of signals means FDE cycles completed in a shorter amount of time
  • word length: longer word length means more bits transferred in the same amount of time
18
Q

what is the difference between direct and immediate adressing

A

in immediate addressing the operand is the actual value
in direct addressing the operand holds the memory address of the value

19
Q

what are the four types of barcode readers

A
  • pen-type readers
  • laser scanners
  • charge-coupled device (CCD) readers
  • camera-based readers
20
Q

how do pen-type readers work

A
  • a light source and photo diode are placed next to each other in the tip of a pen
  • the tip of the pen is dragged across the bars and the photo diode measures the intensity of the light reflected back from the light source
  • dark bars absorb light and space reflects light
  • the waveform generated is converted to a digital pattern
21
Q

how do laser scanner barcode readers work

A
  • has a laser beam and photo diode
  • a laser beam reflects off a moving mirror
  • the photo diode measures the intensity of the light reflected back from the laser
  • dark bars absorb light and spaces reflect light
  • the waveform generated is converted to a digital pattern
  • the mirror means the barcode can be read in many positions
22
Q

how do charge couple device (CCD) readers work

A
  • hundreds of arrays of tiny light senses are lined up in a row in the head of the reader
  • each sensor measures the intensity of the light immediately in front of it
  • the sensors generate a voltage pattern of the barcode
23
Q

how do camera based barcode readers work

A
  • camera and image processing techniques are used to decode the barcode
24
Q

how do digital cameras work

A
  • a digital camera uses a CCD or CMOS sensor with millions of tiny light sensors arranged in a grid
  • the shutter opens, light enters the camera onto the sensor on the back of the lens
  • each sensor measures the brightness of each pixel and turns the light into electricity, storing the amount of charge
  • to record colour, the sensors are placed under colour filters to filter out the wavelengths
  • the binary data is recorded onto the memory card
25
how does radio frequency identification (RFID)
- method of transferring infromation wirelessly between a tag and a reader - RFID tag contanins a chip with memory and a coil of wire acting as an antenna - when an RFID tag is scanned, the reader emits radio waves picked up by the tag's antenna - the power induced in the antenna powers the chip - then the antenna emits its own radio waves, containing the information held on the chip - this wave is picked up by the reader, which decodes the information and returns it to a computer
26
how does a laser printer work
- the printer generates a bitmap image of the page - using a laser unit and mirror it draws a negative reverse image onto a negatively charged drum, where the affected areas lose their charge - the drum then rotates past a toner hopper that dispenses positively charged toner onto the drum - toner sticks to the positively charged areas of the drum - the drum applies the toner to the paper - heat and pressure bond it together
27
how do hard disks work
- a hard disk has rotating platters coated in magnetic material - iron particles on the disk are polarised or not, a change in polarisation indicates 1 - disk is divided into rings called tracks, tracks divided into blocks - the disk spins very quickly and a drive head moves across the disk - head senses magnetic feild and converts to 1s and 0s
28
how do optical disks work
- the disk has pits and lands in a spiral - laser is shone onto disk - at a pit start or end when a laser is shined on it the light scatters so doesn't reflect well - disk spins at high speeds - reflective and non-reflective parts are read as 1s and 0s by a photodiode
29
how do solid-state disks (SSDs) work
- solid state memory comprises of millions of NAND flash memory cells - the cell has a flow of electrons - a current forces some of the electrons across an insulated oxide layer to a floating gate - once the current is turned off the electrons are trapped - data is stored as the charge of the floating gate (1 for electron 0 for none)
30
what are interrupts
- a signal/request sent to the processor - allows the currently executing program to be suspended - so that a source that needs the immediate attention of the processor can be dealt with
31
hard disk vs solid state drive vs optical disk
capacity: - hard disk = high - solid state = low - opticla disk = very low read/write speeds: - hard disk = high - solid state = very high - optical disk = low portability: - hard disk = bulky, heavy, easily damaged - solid-state = lightweight, rarely damaged - optical disk = lightweight, damaged by scratches