(4.7) Fundamentals of computer organisation and architecture Flashcards

1
Q

The role of the processor

A
  • Executes program instructions in order to run applications
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

The role of the main memory

A
  • Includes ROM and RAM to store program instructions and frequently used data
  • Faster than secondary storage, so storing frequently used data in RAM or ROM helps the processor to execute instructions quickly
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

The role of buses (general)

A
  • Series of parallel wires that connect internal components of a cs, allowing signals to be passed between them
  • The number of parallel wires in a bus is called its width and has a direct relationship with to the number of bits that can be transferred simultaneously by the bus
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

The role of the address bus

A
  • Used to transport memory addresses, specifying where data is to be send to or recieved from
  • Increasing the width of the address bus increases the range of addresses that it can specify, hence increasing the amount of addressable memory
  • Adding a single wire doubles the number of addressable memory locations

1 wire in address bus = 2^1 =2 addressable memory locations
2 wires = 2^2 =4 addressable memory locations
3 wires = 2^3 = 8 addressable memory locations

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

The role of the data bus

A
  • Sends data and instructions to and from the different components of the cs
  • Increasing the width of the data bus increases the volume of data that can be transferred at one time
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

The role of the control bus

A
  • Used to carry control signals that regulate the operation of the cs
  • Carries the computers clock signal
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

The role of the I/O controllers

A
  • (Input/output controllers) are hardware that control the communication of data between the processor and external hardware devices (e.g. keyboards, mice, monitors)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Harvard architecture and where its typically used

A

Harvard architecture
* Processor uses two seperate memory locations (one for instructions, one for data)
* In this way, it casgive each piece of main memory different characteristics, e.g. memory used for instructions could be read-only so that instructions cannot be altered

Harvard architecture is often used in embedded systems such as digital signal processing

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

Von neumann architecture and where its typically used

A

Von neumann
* both instructions and data are stored together in the same memory
* These systems often perform worse because of this

Von neumann architecture is often used in everyday general-purpose computer systems, e.g. laptops and smartphones

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

The concept of addressable memory

A

The concept of storing data and instructions in memory with discrete, unique adresses

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

The stored stored program concept

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

The processor: Arithmetic logic unit (ALU)

The processor

A

The ALU performs arithmetic and logic operations (e.g. addition, subtraction, AND, XOR, etc)

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

The processor: Control unit (CU)

The processor

A

The control unit is responsible for controlling the components of the processor and the fetch-execute cycle

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

The processor: The clock

The processor

A

The system clock generates a timing signal which changes at a regular frequency

The signal is used to synchronise communication between the components of the processor and the rest of the cs

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

The processor: General purpose registers

The processor

A

Registers in general are small storage locations used to hold data temporarily, with high read and write speeds

General purpose registers can be used as storage for any data that is required by instructions during execution

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

The processor: Program counter register (PC)

The processor

A

Used to hold the memory address of the next instruction to be executed in the fetch-execute cycle

17
Q

The processor: Current instruction register (CIR)

The processor

A

Holds the instruction that is currently being executed by the processor

18
Q

The processor: Memory address register (MAR)

The processor

A

Stores the memory address of a memory location that is to be read from or written to

19
Q

The processor: Memory buffer register (MBR)

The processor

A

Also called the memory data register (MDR).

Holds the contents of a memory location that has been read from or data that is to be stored

20
Q

The processor: Status register (SR)

The processor

A

Contains a number of bits, the values of which can change to indicate the occurance of an interrupt

21
Q

The Fetch-Execute cycle: Fetch

A

The next instruction to execute is retrieved from main memory
1. The content of the PC is copied to the MAR

  1. The content of the MAR is transferred to main memory by the address bus
  2. The intruction is sent from main memory to the MBR by the data bus
  3. The PC is incremented by one
  4. The content of the MBR is copied to the CIR
22
Q

The Fetch-Execute cycle: Decode

A

The fetched instruction is decoded
1. The content of the CIR is decoded by the control unit

  1. The decoded instruction is split into two parts: opcode (Specifies the operation to carry out) and operands (data on which the operation is performed)
23
Q

The Fetch-Execute cycle: Execute

A

The instruction is carried out
1. Any data required by the instruction that isn’t present in registers is fetched

  1. The instruction is carried out
  2. Results of any calculations are stored in general purpose registers or main memory
24
Q

Processor’s instruction set

A

a processor’s instruction set is the group of instructions that it carry out
* Each type of processor has its own instruction set, so instructions for one processor may not be compatible woth other processors
* Instructions are usually stored in machine code and consist of two primary parts: opcode and 1+ operands
* Opcode specifies the type of operation to be carried out (e.g. additon, subtraction, logical shifting, etc)
* Operands are the pieces of data on which the operatio is performed

25
Q

Addressing modes

A
26
Q
A
27
Q
A
28
Q
A
29
Q

Principles of operation of a barcode reader

A

Consist of:
* Laser light source
* lens
* photodiodes
* mirror

Operation:
1) Mirror directs light from laser onto barcode
2) Light reflected by barcode passes through the lens (light portions reflect the most light, the dark sections absorb incident light), and is incident on the photodiode which turns light into electrical charge
3) The electrical charge is measured and processed to form a digital signal, representing the content of a barcode

30
Q

Principles of operation of a digital camera

A

Consist of:
* a lens that focuses light onto a sensor
* a shutter which controlls the path of light between the lens and the sensor

Operation:
1) sensors convert incident light into electrical charge
2) charge builds up in each cell, representing a pixel in the image (in colour cameras there are multiple cells for each pixel)
3) when the photo is taken, the charge in each of the cells is measured and converted to a digital value which is processed by the camera and stored as a digital image

31
Q

Principles of operation of a laser printer

A

Consists of:
* laser light source
* mirror
* drum
* toner roller
* fusers

Operation:
1. The drum is electrically charged all over before the laser is directed at it’s surface by a mirror
2. Areas which the laser shines are discharged, leaving an impression of the page, in electrical charge, on the drum
3. The toner roller dispenses charged toner(a plastic powder) onto the drum, which is attracted to the charged portions of the drum
4. The toner is applied to the paper by the drum
5. paper is heated by fusers, fixing the toner to the paper

32
Q

Principles of operation of an RFID

A

(Radio frequency identification)
Method of transferring information wirelessly between a tag and a reader.

Consists of:
* a chip which contains a small amount of memory
* attached to the chip is a coil of wire which acts as an antenna

Operation:
1. The reader emits radio waves, picked up by the tag’s antenna
2. The power induced powers the chip
3. The chip uses its antenna to emit a radio wave, containing the info on the chip
4. the wave is picked up by the reader, which decodes the info and returns it to a computer