Fundamentals of Computer Organisation and Architecture Flashcards

You may prefer our related Brainscape-certified flashcards:
1
Q

What is a processor?

A

A device that carries out computation on data by following instructions to produce an output.

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

What does a processor do?

A

Handles instructions from the user and from hardware and software.

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

What is a processor made up of?

A

A thin piece of silicon with millions of transistors and wires called buses which connect the transistors.

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

What do transistors do?

A

Control the flow of electrical pulses.

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

What does main memory do?

A

Stores data and instructions to be used by the CPU.

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

What is RAM?

A

Random Access Memory
Temporary storage that can be accessed quickly.

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

What is RAM made up of?

A

A series of chips on which electronic data is stored which are made up of uniquely addressed cells containing instructions or data.

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

Is RAM volatile of non-volatile?

A

Volatile
Meaning all contents are lost when the computer is switched off.

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

Why does bigger RAM improve PC performance?

A

When a program is run all/ some is loaded into RAM so more applications that can be loaded at one time.

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

What is ROM?

A

Read Only Memory
Permanently stores data or instructions.

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

Is ROM volatile of non-volatile?

A

Non-volatile.

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

What is stored in ROM?

A

Instructions related to the set up of the computer (stored in BIOS).

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

How is memory organised in main memory?

A

In a systematic way where different programs are stored in different parts, allowing the CPU to find the data quicker.

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

What is a 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
15
Q

What makes up the System Bus?

A

Data Bus
Address Bus
Control Bus

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

What does the Data Bus do?

A

Transfers data between the processor ,and memory and I/O controllers.

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

What does the Address Bus do?

A

Carries the memory address of the next data item or instruction.

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

What does the Control Bus do?

A

Sends control/clock signals to registers and the buses.
Ensures the correct data is travelling to the right place at the right time.

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

Is the Data Bus uni or bi directional?

A

Bi-directional.

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

Is the Address Bus uni or bi directional?

A

Unidirectional

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

Is the Control Bus uni or bi directional?

A

Bi-directional

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

What is 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
23
Q

What is 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
24
Q

What does increasing the number of wires in a bus do?

A

The amount of data sent depends on the number of wire, so the greater the width the more data transferred per clock pulse.

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

What are I/O ports?

A

Physical connections allowing I/O devices to be plugged in.

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

What are I/O controllers?

A

Each I/O device has one and it consists of circuitry that handles the flow of data and translates signals from the device into the format required by the processor.

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

What is architecture?

A

The way something is built.

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

What is the Von Neumann architecture?

A

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

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

What is the 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
30
Q

What are the advantages of Harvard architecture?

A

Faster and more efficient as instructions and data don’t share a bus.

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

What are the uses of Harvard architecture?

A

Embedded systems where there is a specific use.

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

What is Digital Signal Processing (DSP)?

A

A technique that takes continuous real world data and compresses it to enable faster processing.

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

What is the 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
34
Q

What is the Control Unit?

A

A part of the processor that manages the execution of instructions, ensuring all data is routed correctly.

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

What is the ALU?

A

Arithmetic Logic Unit
It processes and manipulates data.

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

What does the ALU do?

A

Carries out arithmetic and logic functions.
Compares two values.

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

What is a 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
38
Q

What is the clocks units?

A

Megahertz (MHz)
Millions of cycles per second.

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

What is a register?

A

A small section of temporary storage apart of the processor.

40
Q

What do registers store?

A

Data or control instructions during the FDE cycle.

41
Q

What does the Status Register do?

A

Keeps track of the status of various parts of the computer. (overflow error, last calculation, etc.)

42
Q

What is the Interrupt Register?

A

A type of Status Register that stores details of incoming interrupts.

43
Q

What does the Current Instruction Register (CIR) do?

A

Stores the instructions that the processor is currently decoding/ executing.

44
Q

What does the Program Counter (PC) do?

A

Stores the address of the next instruction to be taken from main memory into the processor.

45
Q

What does the Memory Buffer Register (MBR/ MDR) do?

A

Holds the data that has just been read from or written to main memory.

46
Q

What does the Memory Address Register do?

A

Stores the memory location where data in the MBR is written to or read from.

47
Q

What is the Fetch part of the FDE cycle?

A

1) PC holds the address of the next instruction.
2) MAR holds the address of the data to be accessed.
3) Processor sends the address to main memory via the Address Bus.
4) Data is loaded into the MBR by the Data bus.
5) The contents of that memory address is sent to the CIR via the Data Bus.
5) PC incremented.

48
Q

What is the Decode part of the FDE cycle?

A

The processor takes the instruction from the CIR and decodes it by referring to the instruction set (either reduced or complex).

49
Q

What is the Execute part of the FDE cycle?

A

1) Processor carries out the instruction.
2) Processor fetched the next instruction.
3) Result of the calculations written to a register or memory location.

50
Q

How can you improve PC performance? (5)

A

Increase clock speed
Increase bus width
Increase word length
Use multiple cores
Increase cache memory

51
Q

Why does increasing clock speed improve PC performance?

A

The clock speed refers to the frequency at which a CPU executes instructions so the CPU can complete more cycles per second, allowing it to perform more tasks in a given amount of time.

52
Q

Why does increasing bus width improve PC performance?

A

The width of the bus determines how many bits are transferred in one pulse of the clock so more data can be passed down therefore more data processed in a given time.

53
Q

Why does increasing word length improve PC performance?

A

A word is a collection of bits addressed and manipulated as a single unit therefor the amount of data handled per clock pulse increases.

54
Q

Why does multiple cores improve PC performance?

A

By allowing the CPU to handle more tasks simultaneously, making the system more efficient.

55
Q

Why does increasing cache memory improve PC performance?

A

A cache is where instruction/ data that is frequently needed is stored and cache can be accessed quicker than main memory so programs run faster.

56
Q

What is an interrupt?

A

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

57
Q

What are examples of interrupts?

A

Request for data
User pressing a key
Errors

58
Q

How are interrupts handled?

A

1) After each FDE cycle the processor checks the contents of the interrupt register.
2) If an interrupt occurs the processor stops to service it.
3) Pauses the current task by placing the contents of the registers into a system stack.
4) Uses the Interrupt Service Routine which calls the routine required to handle the specific interrupt.

59
Q

How does the processor prioritise interrupts?

A

If an interrupt is stopped by another interrupt the processor will asses the priority of the interrupt and decide what needs to be serviced first.

60
Q

Give 4 examples of the order of priority for interrupts.

A

Hardware failure
Reset
Program error
I/O

61
Q

What is an interrupt vector?

A

Each interrupt has its associated interrupt vector which specifies the address of the routine to handle the specific interrupt.

62
Q

What is the processors instruction set?

A

The pattern of 1’s and 0’s which a particular processor recognises as commands and their associated meanings.

63
Q

What is an opcode?

A

The commands used in assembly language.

64
Q

What is an operand?

A

The value or memory address in assembly language.

65
Q

What is direct address?

A

When the operand is the memory address or register number.

66
Q

What is immediate address?

A

When the operand is the datum.

67
Q

What are data transfer operations?

A

Operations that move data around between registers and memory.
MOV, STR, LDR

68
Q

What are arithmetic operations?

A

Operations that perform basic math.
Shift instructions, ADD, SUB.

69
Q

What are logical operations?

A

Operations that move the bits around within the operand.
AND, OR, NOT, XOR

70
Q

What are branch operations?

A

Operations that allow you to move from one part of the program to another.
BNE, BEQ, BGT, BLT.

71
Q

How does a digital camera work?

A

1) The shutter opens and lets light in through the lens.
2) Analogue light waves are focused onto a sensor (CCD or CMOS).
3) As the light hits, its converted into electrons and the amount of charge is recorded for each pixel digitally.
4) Sensor have millions of transistors which stores data for the pixels.
5) The camera will have 3 different RGB filters or sensors.
6) The data is stored on removable storage devices.
7) Data is stored on compressed files.

72
Q

What are RAW files?

A

Uncompressed files of the image.

73
Q

How do barcode readers work?

A

1) A LED or laser light is passed over an image.
2) A light sensor (photodiode or CCD) measure the intensity of light being reflected back which is converted into a current, generating a waveform.
3) White areas reflect the most and black the least therefore the waveform is used to distinguish the black and white bars.
4) The waveform is converted to digital form using a ADC.
5) Encoding converts it into binary codes.
6) The signal is decoded into a form decodable by software.

74
Q

What are the different kinds of barcodes?

A

Universal Product Code (UPC)
QR code

75
Q

How does a UPC barcode work?

A

Uses lines of different widths to represent values and has numbers as a manual-override with a check digit.

76
Q

Why are QR codes better?

A

They contain a wider range of information.

77
Q

How do RFID’s work?

A

1) The tag contains a chip which contains data about the item and a modem to modulate/ demodulate the radio signals.
2) Contains an antennae to send and receive radio signals.
3) Tag could be active meaning it has its own power source (battery).
4) Tag could be passive so it will pick up electromagnetic power when in range of an RFID reader.
5) Signals and therefore data can be transmitted in both directions using radio frequencies.
6) May be used to track the location or the item may transmit data back.

78
Q

What is a RFID?

A

A microscopic wireless tracking device.

79
Q

What are uses of RFID’s?

A

Tracking individuals
Electronic passports
High value items.

80
Q

How does a laser printer work?

A

1) Rotating drum inside the printer is coated in a chemical which holds an electrical charge.
2) Laser beam is reflected onto the drum, where the light hits the charge is discharges, creating an image on the drum.
3) As the drum rotates it picks up toner which is attracted to the charged part of the drum.
4) Paper is passed over the drum and by charging the paper with the opposite charge the toner is attracted to the paper
5) Paper is heat treated to fuse the toner onto the paper.

81
Q

How does colour laser printing work?

A

The process is repeated for cyan, magenta, yellow and black.

82
Q

What are the advantages of a laser printer?

A

Much faster.

83
Q

How do Hard Disk’s work?

A

Made up of multiple disks arranged in a stack with each disk coated in a thin film of magnetic material.
Each disk is metallic and sealed to prevent corruption by debris.
The disks spin and a series of heads read from and write to the disks.
Changes in the direction of magnetism represent 1’s and 0’s.

84
Q

How are the disks in a Hard Disk organised?

A

The surface of the disks is divided into circular tracks, with each track further divided into sectors. Each sector can be addressed individually by the operating system.

85
Q

How do Read-Only Optical Disks work?

A

Made up of a single spiral track, coated in a protective layer to prevent corruption. A laser will read data by reading the pits and lands in combination with a sensor that measure the amount of light reflected.
The different electrical signals are converted into binary code.

86
Q

How do writable Optical Disks work?

A

The disk is coated in photosensitive dye which is translucent. When writing the laser alters the state of the dye spot making it opaque.
The dye reflects a certain amount of light and a read laser interprets the different densities to create binary patterns.

87
Q

How does a Solid State Drive (SSD) work?

A

Uses memory cards made up of semi-conductors, which use programmable ROM chips which are stored inside a unit which uses NAND memory, which organises data into blocks with a controller being used to manage the blocks of data.
Data accessed in blocks with blocks allocated to particular semi-conductors.

88
Q

Why can SSD’s store data without power?

A

Due to a floating gate transistor in semiconductors, which contains a floating gate and control gate. A thin layer of oxide is placed between the two gates trapping the charge inside the floating gate.

89
Q

What are the advantages of Hard Disks?

A

High capacity

90
Q

What are the disadvantages of Hard Disks?

A

High power consumption
High latency
Large size
Unrealiable

91
Q

What are the advantages of Solid State Disks?

A

Low power consumption
High access speed
Low latency
Reliable
Small size

92
Q

What are the disadvantages of Solid State Disks?

A

Expensive

93
Q

What are the advantages of Optical Disks?

A

Cheap

94
Q

What are the disadvantages of Optical Disks?

A

Low capacity
High power consumption
High latency
Slow access speed
Unreliable
Large size

95
Q

When are SSD’s used?

A

In laptops.

96
Q

When are HDD’s used?

A

When a large storage capacity is needed (businesses).

97
Q

When are Optical disks used?

A

For cheap back-ups.