2.3 Fundamentals of computer organisation and architecture Flashcards

1
Q

Define processor

A

A device that carries out computation on data by following instructions in order to produce an output. Electrical pulses timed by the computer’s clock are controlled by transistors which represent parts of an instruction being carried out

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

Define main memory

A

Stores data and instructions that will be used by the processor

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

Define fetch execute cycle

A

The continuous process carried out by the processor when running programs

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

Define RAM

A

Random Access Memory (RAM) stores data and can be read from and written to. This memory is volatile, meaning that if it data stored on it is not saved before the computer is shut down the data will be lost

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

Define ROM

A

Read only memory (ROM) stores data and can be read from but cannot be written to. This is often used to store instructions relating to the setup of the computer

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

Define bus

A

Microscopic parallel wires that transmit data between internal components

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

Define data bus

A

Transfers data between the processor and memory

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

Define input/output controller

A

Controls the flow of information between the processor and the input and output devices

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

Define word length

A

The number of bits that can be addressed, transferred, or manipulated as one unit

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

Define address bus

A

Used to specify a physical address in memory so that the data bus can access it

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

Define addressable memory

A

The concept that data and instructions are stored in memory using discrete addresses

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

Define control bus

A

Controls the flow of data between the processor and other parts of the computer

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

Define Von Neumann architecture

A

A technique for building a processor where data and instructions are stored in the same memory and accessed via buses

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

Define Harvard architecture

A

A technique for building a processor that uses separate buses and memory for data and instructions

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

Define stored program concept

A

The idea that instructions and data are stored together in memory

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

Describe the stages of the fetch execute cycle

A
  • Fetch: the processor fetches the program’s next instruction from memory. The instruction will be stored at a memory address and contain the instruction written in binary code
  • Decode: the processor works out what the instruction at that binary address means
  • Execute: the processor carries out the instruction, this encompasses tasks such as reading data from memory, performing a calculation, or writing data to memory
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
17
Q

Define control unit

A

The part of the processor that manages the execution of instructions

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

Define arithmetic logic unit

A

The arithmetic logic unit (ALU) is the part of the processor that processes and manipulates data

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

What is the clock?

A

A device that generates a signal used to synchronise the components of a computer

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

Define register

A

A small section of temporary storage that is part of the processor, which stores data or control instructions during the fetch execute cycle

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

Define status register

A

Keeps track of the various functions of the computer such as if the result of the last calculation was positive or negative

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

Define interrupt register

A

Stores details of incoming interrupts

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

Define current instruction register (CIR)

A

Register that stores the instructions that the CPU is currently decoding / executing

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

Define program counter (PC)

A

Register that stores the address of the next instruction to be taken from main memory into the processor

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

Define memory buffer register (MBR)

A

Register that holds data that is either written to or copied from the CPU, this can also be known as the memory data register (MDR)

26
Q

Define memory address register (MAR)

A

Register that stores the location of the address that data is either written to or copied from by the processor

27
Q

How does the fetch execute cycle work with respect to registers?

A

Fetch:
- PC holds address of next instruction
- Processor sends this address along address bus to main memory
- Contents of memory location at that address sent via data bus to CIR and PC is incremented
- Details of addresses loaded into MAR and data sent to MBR

Execute:
- Processor takes instruction from CIR and decides what to do with it with reference to an instruction set
- Processor carries out the instruction

28
Q

Define bus width

A

The number of bits that can be sent down a bus in one go

29
Q

Define multi-core

A

A chip with more than one processor

30
Q

Define cache

A

A high speed temporary area of memory

31
Q

What are the factors that affect processor performance?

A
  • Clock speed: This indicates how fast an instruction will be executed, meaning that increasing clock speed increases the theoretical speed at which the computer processes instructions
  • Bus width: Increasing bus width means that more bits can be passed down the data bus with each pulse of the clock, increasing the speed at which data can be transferred and therefore that instructions can be processed at
  • Word length: Computer systems with greater word length can have more bits of data transferred with each speed of the clock, increasing the speed of the processor
  • Multiple cores: A core is defined as the component of a processor which allows for instructions to be fetched and executed, by increasing the number of cores, the number of instructions that can be processed at any given time is increased, improving processor performance
  • Cache memory: Instructions and data that are used frequently are stored in a temporary area of memory separate from main memory that can be accessed much more quickly, meaning that by storing the most commonly used functions and data in cache memory, the processor speed increases
32
Q

Define interrupt

A

A signal sent by a device or program to the processor requesting its attention

33
Q

Define interrupt service routine (ISR)

A

Calls the routine required to handle an interrupt

34
Q

Describe the interrupt service routine

A

Following the execute stage of the fetch execute cycle, the processor will check for interrupts. If one has occurred, the processor will stop current tasks to handle the interrupt with the interrupt service routine (ISR), which calls the routine required to handle the interrupt

35
Q

Define priorities

A

A method for assigning importance to interrupts in order to process them in the right order

36
Q

Define vectored interrupt mechanism

A

A method of handling interrupts by pointing to the first memory address of the instructions needed

37
Q

Define instruction set

A

The patterns of bits that a processor recognises as commands, along with their associated meanings

38
Q

Define opcode

A

An operation code or instruction used in assembly language

39
Q

Define operand

A

A value or memory address that forms part of an assembly language instruction

40
Q

Define addressing mode

A

A way of programming using mnemonics such as LDR, ADD

41
Q

What is the difference between direct and immediate addressing?

A

In direct addressing, the operand is the memory address or register number, whereas with immediate addressing, the operand is the datum

42
Q

Define data transfer operation

A

Operations within an instruction set that move data around between the registers and memory

43
Q

Define arithmetic operations

A

Operations within an instruction set that perform basic maths such as addition and subtraction

44
Q

Define shift instructions

A

Operations within an instruction set that move bits within a register

45
Q

Define logical operations

A

Operations within an instruction set that move the bits around within the operand

46
Q

Define branch operations

A

Operations within an instruction set that allow you to move from one part of the program to another

47
Q

How does a digital camera function?

A
  • Shutter opens and lets light through the lens
  • Light is focused onto a sensor
  • Sensors made up of transistors which each store the data for one or more pixels
  • As light hits the sensor, the charge of the photons hitting the sensor is recorder for each pixel
  • Colours can be created as RGB values from either 3 different sensors or 3 different filters
  • Data is typically stored on removable storage devices using programmable ROM
  • Data is often stored in a compressed file such as JPG or PNG, however raw files can also be generated
  • The digital data can be decoded and manipulated using software
48
Q

How do barcode readers function?

A
  • Light, usually LED or laser, is passed over an image
  • A sensor measures the intensity of light reflected back, this generates a current and can be used to create a waveform
  • White areas reflect the most light and black the least, giving distinct black and white bars
  • The analogue waveform can be converted to a digital signal with an analogue digital converter (ADC)
  • This can be converted to a binary code e.g. where black = 0 and white = 1
  • The signal is encoded into a form that can be interpreted by the relevant software
49
Q

What is radio frequency identification (RFID)?

A

A microscopic device that stores data and transmits it using radio waves, usually used in tags to track items

50
Q

How does RFID function?

A
  • The tags contain a chip that contains data about the item and a modem to modulate and demodulate the radio signals
  • It also contains an antennae to send and receive signals
  • Tags can be active (have their own power source) or passive (will pick up electromagnetic power when in range of an RFID reader)
  • Signals and data can be transmitted in both directions using radio frequencies
  • Tags can be used to track the physical location of the item or the item can transmit data back
51
Q

What is a laser printer?

A

A device that uses lasers and toner to create mono and colour prints

52
Q

How does a laser printer function?

A
  • A rotating drum inside the printer is coated in a chemical which holds an electrical charge
  • The laser beam is reflected onto the drum and where the light hits the drum the charge is discharged, creating the image on the drum
  • As the drum rotates it picks up toner which is attracted to the charged part of the drum
  • Paper is passed over the drum and by charging the paper with the opposite charge to the toner, the toner is attracted to the paper and away from the drum
  • The paper is heat treated to fuse the toner onto the paper
53
Q

Define hard disk (HDD)

A

A secondary storage device made up of metallic disks that stores data magnetically

54
Q

How does a hard disk (HDD) function?

A
  • Constructed of hard metallic material and are sealed to prevent corruption, are often made up of disks arranged in a stack
  • Disks are coated with a magnetic material such that changes in the magnetism denote 0s and 1s
  • Read / write heads do not touch the surface of the disk but instead float slightly above it; between the lateral movement of this arm and the rotation of the disk, the heads can access every part of the disk
  • Disks are organised into concentric tracks which can each be individually addressed
55
Q

Define controller

A

In SSD’s a controller is needed to organise data into blocks for storage purposes

56
Q

Define block

A

In data storage it is the concept of storing data into set groups of bits and bytes of a fixed length

57
Q

Define floating gate transistor

A

In SSD’s it is a type of non-volatile transistor that stores data even without a power source

58
Q

How does an optical disk function?

A
  • Made up of one single spiral track that starts in the centre and works its way to the edge of the CD
  • Laser will read data by reading the pits and lands of the disk in combination with a sensor that measures how much light is reflected
  • These are interpreted as electrical signals and can be converted into binary codes to reproduce the data on the disk
  • For read only disks, when data is encoded as the series of pits and lands a protective layer is then put on the disk to prevent corruption of the data
  • Writeable optical disks use a photosensitive dye instead of pits and lands; the laser will alter the state of a dye spot to change the amount of light it reflects in order to write data
59
Q

How does a solid state disk (SSD) function?

A
  • Blocks of a set physical size will be made up of data, which can only be accessed in these blocks
  • Semiconductors can retain their memory due to use of floating gate transistors which can trap and store charge
  • A floating gate transistor is made up of a floating gate and a control gate; a thin layer of oxide is place between the gates, trapping the charge inside the floating gate
  • SSD’s use programmable ROM chips and often use a type of memory called NAND memory which organises the data into blocks and uses a controller to manage them
60
Q

Compare the 3 main storage devices of HDDs, SSDs, and optical disks

A
  • Typical capacity: HDD has the highest capacity, SSD has medium capacity, and optical disks have the lowest capacity
  • Relative cost: Optical disks are the cheapest, SSDs are the most expensive, and HDDs are inbetween
  • Portability: Optical disks are very easily portable, whereas specific external HDDs and SSDs are needed to be portable
  • Relative power consumption: HDDs and optical disks have high power consumption compared to SSDs
  • Relative access speed: SSDs have the highest access speeds, optical disks the lowest, and HDDs inbetween
  • Latency: SSDs have low latency, HDDs have high latency, and optical disks very high latency
  • Reliability: Optical disks have fair reliability, HDDs have good reliability, and SSDs very good reliability
  • Relative physical size: HDDs and optical disks are relatively large, whereas SSDs are comparatively small