Section 1: Components of a computer Flashcards

1
Q

What are the control unit’s functions?

A

Control Unit’s jobs:

  • Guide data flow through different computer areas
  • Regulates and controls processor timing
  • Interprets instructions
  • Controls sequential instruction execution
  • Sends and receives control signals from other computer devices
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is the definition of a bus in computing?

A

A bus is 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
3
Q

What are the 3 types of bus (along with the direction with which they move)?

A

The 3 types of bus are:

  • The address bus, uni-directional
  • The data bus, bi-directional
  • The control bus, bi-directional
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What does it mean if a bus is bi-directional?

A

If a bus is bi-directional then it can carry signals in both directions (as opposed to being uni-directional).

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

What is the job of the control bus?

A

The job of the control bus is to use control lines in order to make sure that access to and use of the data and address buses by different components does not lead to conflict.

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

Name 3 examples of control lines

A

Examples of control lines:

  • Bus request
  • Bus grant
  • Memory write
  • Memory read
  • Interrupt request
  • Clock
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What does the data bus do?

A

The data bus provides a bi-directional path for moving data and instructions between components.

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

What is a memory address?

A

A memory address is an address in the memory for a specific word.

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

What does the Arithmetic Logic Unit do?

A

The ALU performs arithmetic and logical operations on the data.

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

What are registers?

A

Registers are special memory cells that operate at very high speed.

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

How many general purpose registers can typically be found in the CPU?

A

There are typically 16 general purpose registers in the CPU.

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

What does the Program Counter (PC) do?

A

The PC holds the address of the next instruction to be executed.

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

What does the Current Instruction Register (CIR) do?

A

The CIR holds the current instruction being executed, divided into operand and opcode.

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

What does the Memory Address Register (MAR) do?

A

The MAR holds the addresses of the memory location from which data (or an instruction) is to be fetched or to which data is to be written.

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

What does the Memory Data Register (MDR) do?

A

The MDR temporarily stores the data read from or to be written to memory.

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

How does a processor access a particular main memory location using buses?

A

When the processor wishes to access a particular main memory location, it sends this address to memory on the address bus. The data in that location is then returned to the CPU on the data bus. Control signals are sent along the control bus.

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

What is the collective term for the 3 buses?

A

The collective term for the 3 buses is the system bus.

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

What is the accumulator?

A

The accumulator is a register that is used in specialised processors or used to represent general purpose registers in a simplified diagram.

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

What are the 3 stages of the fetch phase in the fetch-decode-execute cycle?

A

Fetch phase:

  1. The address of the next instruction is copied from the program counter to the memory address register
  2. The instruction held at that address is copied to the memory data register. Simultaneously, the content of the PC is incremented so that it holds the address of the next instruction.
  3. The contents of the MDR are copied to the current instruction register.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
20
Q

What happens during the decode phase in the fetch-decode-execute cycle?

A

Decode phase:

The instruction held in the CIR is decoded i.e. split into opcode and operand.

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

What is the opcode of an instruction?

A

The opcode of an instruction is the code that determines what type of instruction is to be executed and what hardware should be used when executing it (e.g. 0 means stop and 1 means add in a little man computer)

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

What is the operand of an instruction?

A

The operand of an instruction holds either:

  • the address of the data to be used with the operation (which is then copied to the MAR), or
  • the actual data to be operated on, which will be copied to the MDR (and may be passed through the ALU/accumulator)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
23
Q

What happens during the execute phase of the fetch-decode-execute cycle?

A

Execute phase:

The appropriate instruction/opcode is carried out on the operand.

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

What is meant by the word size of a computer?

A

The word size of a computer is the number of bits that can be processed by a computer’s CPU in one go (typically 32 or 64 bits)

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

What are the 3 main factors that affect processor performance?

A

The 3 main factors that affect processor performance are clock speed, number of cores and size or type of cache memory.

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

How is clock speed defined?

A

Clock speed is the speed at which a processor can cycle between 1s and 0s to complete instructions.

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

On what number do clock cycles begin on most computers?

A

On most computers, clock cycles begin at 0.

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

What is cache used for and why?

A

Cache is used to store the most frequently used data because it is much faster than main memory.

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

What is the typical range of capacity for level 1 cache?

A

The typical range of capacity for level 1 cache is 2-64KB.

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

What is the typical range of capacity for level 2 cache?

A

The typical range of capacity for level 2 cache is 256KB-2MB.

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

What is pipelining?

A

Pipelining is a technique used to make the most of the processor during the fetch-decode-execute cycle. It ensures that, while the processor is performing arithmetic and logic operations, the next instruction can already be fetched rather than allow the rest of the processor to be idle.

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

How does pipelining work?

A

Pipelining stops the fetch-decode-execute cycle from being sequential per instruction. Instead, while one instruction is being decoded and executed another can be fetched and ready for execution rather than allowing processor components to be idle.

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

How can pipelining be split up?

A

Pipelining can be split up into an arithmetic pipeline and an instruction pipeline. The instruction pipeline consists of the pipelining steps that are taken within the processor, while the arithmetic pipeline represents the parts of an arithmetic operation that can be broken down and overlapped as the tasks are being performed.

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

What is a word in computing?

A

A word is a group of bytes.

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

What does the width of the address bus determine?

A

The width of the address bus determines the maximum possible memory capacity of the system.

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

If a data bus is 32-bits, what is the maximum size of an integer that a word could hold?

A

If a data bus is 32-bits, the maximum size of an integer that a word could hold would be 2^32.

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

How is the stored program concept defined?

A

The stored program concept:
Machine code instructions are fetched and executed serially by a processor that performs arithmetic and logical operations.

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

What is the stored program concept often referred to?

A

The stored program concept is often referred to as the Von Neumann Machine.

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

What are the fundamental differences between Von Neumann architecture and Harvard architecture?

A

Differences between Von Neumann and Harvard architectures:

  • In Von Neumann, instructions and data both share the same memory. In Harvard, they have different memories.
  • Harvard architecture can allow for having larger or smaller capacity in either the instruction or data memory
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
40
Q

Where is Von Neumann architecture typically used?

A

Von Neumann architecture is typically used in conventional processors in PCs, servers and embedded systems with only control functions.

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

Where is Harvard architecture typically used?

A

Harvard architecture is typically used in digital signalling processing and in embedded systems, mobile communication systems, audio, speech and image processing systems.

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

Why can Harvard architecture be faster than Von Neumann?

A

Harvard architecture can be faster than von Neumann because data and instructions can be fetched in parallel instead of competing for the same bus.

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

What is the contemporary processor architecture like?

A

Modern high-performance CPU chips take aspects of both aforementioned architectures. CPU cache memory can be divided into instruction and data cache (Harvard), while instructions and data may be stored together in main memory (von Neumann).

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

What is CISC?

A

CISC (Complex Instruction Set Computers) is a type of computer with a small set of complex instructions. Each instruction may complete a number of tasks.

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

What is are 2 advantages of CISC?

A

An advantage of CISC is that the compiler has very little work to do to translate a high-level language to machine code. Also, since the instruction set is small it takes up very little room in RAM.

46
Q

What is a disadvantage of CISC?

A

A disadvantage of CISC is that the complex instructions must be built into the hardware, even though only about 20% of them are used in the average program.

47
Q

What is RISC?

A

RISC (Reduced Instruction Set Computers) is a type of computer with a larger, simpler instruction set in which each instruction takes one clock cycle.

48
Q

What is an advantage of RISC?

A

An advantage of RISC is that pipelining is possible because each instruction takes the same amount of time so they can be executed simultaneously. E.g. 4 RISC instructions should be quicker than 1 CISC instruction.

49
Q

What are the main disadvantages of RISC?

A

The main disadvantages of RISC are that it takes a long time for the compiler to translate high-level code into machine code, and the instruction set takes up a lot of room in RAM.

50
Q

Which is more prevalent in contemporary processor architecture out of RISC and CISC?

A

RISC is more common than CISC in contemporary processor architecture.

51
Q

What is a co-processor?

A

A co-processor is an extra processor used to supplement the functions of the CPU. It will, most likely, not be a general-purpose processor that can fetch its own instructions or perform inputs and outputs.

52
Q

What is a multi-core CPU?

A

A multi-core CPU is a CPU that can distribute workload across multiple CPU cores.

53
Q

What are supercomputers often used for?

A

Supercomputers often use thousands of cores for things such as weather forecasting, running climate change models, processing big data or sequencing DNA.

54
Q

What is the extent of improvement of having multiple cores dependent on?

A

The extent to which processing speed is improved by having multiple cores is dependent on the software’s ability to take advantage of the multi-tasking. This requires adjustments both to the operating system and to existing application software.

55
Q

What is a Graphics Processing Unit (GPU)?

A

A GPU is a specialised electronic circuit, usually made up of thousands of cores, which is very efficient at manipulating computer graphs and image processing.

56
Q

What are GPUs suited to and why?

A

GPUs are suited to tasks in which large amounts of data are processed simultaneously, due to the fact that they have a highly parallel structure.

57
Q

What are examples of the uses of a GPU?

A

GPUs can be used for:

  • Machine learning
  • Image processing
  • Financial transactions
  • Oil exploration
58
Q

How can a GPU be used alongside a CPU?

A

A GPU can be used alongside a CPU by offloading the compute-intensive parts of a program to the GPU while the remainder of the code runs on the CPU.

59
Q

What can barcodes be used for?

A

Barcodes can be used for identification in thousands of applications from tracking parcels, shipping cartons, passenger luggage, blood, tissue and organ products around the world to the sale of items in shops and the recording of the details of people attending events.

60
Q

What are the two types of barcodes?

A

The two types of barcode are linear (1-D) barcodes and 2-D barcodes such as QR codes.

61
Q

Why are 2-D barcodes advantageous over 1-D barcodes?

A

2-D barcodes are advantageous over 1-D barcodes because they can hold more information.

62
Q

What are the 4 different types of barcode reader?

A

The 4 different types of barcode reader:

  • Pen-type readers
  • Laser scanners
  • CCD readers
  • Camera-based readers
63
Q

How is a pen-type reader structured?

A

In a pen-type reader, a light source and a photo diode are placed next to each other in the tip of a pen.

64
Q

What is a photo diode?

A

A photo diode is a conductor which generates a potential difference when exposed to light.

65
Q

How does a pen-type reader read barcodes?

A

In order to read a barcode, the tip-off of a pen-type reader is dragged across all the bars at an even speed. The photo diode measures the light intensity of the light reflected back form the light source and generates a waveform that is used to measure the widths of the bars and spaces in the barcode.

66
Q

What is the main advantage of pen-type scanners?

A

Because of their simplicity, pen-type scanners are the most durable type of scanners and can be easily sealed against dirt, dust or other environmental hazards.

67
Q

How do laser scanners work?

A

Laser scanners work in the same was as pen-type scanners, except they use a laser beam as a light source.

68
Q

What are the advantages of laser scanners?

A

Laser scanners are reliable and economical for low-volume applications.

69
Q

How do camera-based readers work?

A

Camera-based readers use a camera and image processing techniques to decode 1-D or 2-D barcodes.

70
Q

What is the main advantage of camera-based readers?

A

The main advantage of camera-based readers is that they work on any surface, printed or onscreen, and can also work on badly damaged barcodes.

71
Q

Where are camera-based readers often used?

A

Uses of camera-based readers:

  • Age verification by scanning a driving licence
  • Coupons
  • Event ticketing
72
Q

How does a digital camera work?

A

A digital camera uses a CCD or CMOS sensor comprising of millions of tiny light sensors arranged in a grid. The binary data from each sensor is recorded onto the camera’s memory card so that the image can be reproduced using suitable software.

73
Q

What is the main advantage of a CCD sensor over a CMOS sensor?

A

The main advantage of a CCD sensor is that it produces higher quality images.

74
Q

What is the main advantage of a CMOS sensor over a CCD sensor?

A

A CMOS sensor consumes around 100 times less power than a CCD sensor.

75
Q

What is an RFID chip made up of?

A

An RFID chip is made up of a small microchip transponder and an antenna.

76
Q

How do active tags differ from passive tags in size (and why)?

A

Active tags are physically larger than passive tags as they must contain a battery that powers the tag to allow it to transmit a signal.

77
Q

How do active tags differ from passive tags in price (and why?)

A

Passive tags are much cheaper as they use radio waves emitted from a reader to transmit a signal rather than a battery.

78
Q

How do passive tags work?

A

Passive tags rely on the radio waves emitted from a reader up to a metre away to provide sufficient electromagnetic power to the card using its coiled antenna. Once energised, the transponder inside the RFID tag can send its data to the nearby reader.

79
Q

What are some uses of active tags?

A

Uses of active tags:

  • Tracking cars
  • Tracking marathon runners
80
Q

What are some users of passive tags?

A

Uses of passive tags:

  • Tagging some groceries
  • Contactless credit cards or travel cards (e.g. Oyster card)
81
Q

How are LCD monitors structured?

A

LCD monitors contain groups of red, green and blue diodes to form each pixel. The screen is typically back-lit using LEDs.

82
Q

What are the advantages of LCD monitors over older technology?

A

Advantages of LCD monitors:

  • They reach their maximum brightness almost immediately
  • They produce a sharper image with more vivid colours
  • They produce a brighter light, leading to better definition
  • LEDs are very small so they can be thinner in construction
  • They last almost indefinitely making them more reliable
  • They have lower running costs as they consume very little power and therefore produce very little heat
83
Q

How do OLEDs differ from traditional LCD or LED screens?

A

OLED screens are plastic rather than glass making them flexible.

84
Q

What are the advantages of OLEDs over LCDs?

A

Advantages of OLEDs over LCDs:

  • OLEDs are theoretically flexible enough to print onto clothing
  • OLEDs are much thinner
  • OLEDs are brighter and need no backlighting so they consume less power leading to longer battery life in portable devices
  • OLEDs are much quicker to respond (up to 200 times faster than LCDs)
  • OLEDs produce truer colours through a much larger viewing angle
85
Q

What are the advantages of laser printers?

A

Advantages of laser printers:

  • Offer high-quality printing at high speeds
  • Becoming increasingly cheap
86
Q

How are laser printers limited?

A

Laser printers offer very little usage other than for text due to the quality of the print produced. They cannot quite produce photo-realistic prints.

87
Q

How do inkjet printers produce an image?

A

Inkjet printers produce an image by spraying tiny dots of ink onto paper.

88
Q

What are the advantages of inkjet printers?

A

Advantages of inkjet printers:

  • Can produce excellent quality images
  • Cheaper than laser printers
89
Q

What are the disadvantages of inkjet printers?

A

Disadvantages of inkjet printers:

  • Much slower than laser printers
  • Ink cartridges have to be replaced quite frequently
90
Q

How does a dot-matrix printer work?

A

In a dot-matrix printer, the print head has a matrix of pins which strike the surface of the paper through an inked ribbon to form letters.

91
Q

What is multi-part stationery?

A

Multi-part stationery is printing paper stacked on top of each other (instead of being individual pieces of paper) that are used to make carbon copies.

92
Q

What are the advantages of dot matrix printers?

A

Advantages of dot-matrix printers:

  • Useful when multi-part stationery is required
  • Can operate in damp or dirty environments
93
Q

What are the disadvantages of dot matrix printers?

A

Disadvantages of dot-matrix printers:

  • Noisy
  • Slow
  • Poor quality
94
Q

What are 3-D printers typically used for?

A

3-D printers are typically used for creating spare parts for obsolete equipment and to produce prototypes of new products.

95
Q

What are the benefits of a multimedia projector to students?

A

Advantages of a multimedia projector to students:

  • Creates a big picture on a screen, making it easier for students to see and take notes from
  • Having an image to focus on while a teacher is explaining a concept can aid concentration
  • Watching educational videos adds interest to a lesson
96
Q

What are the benefits of a multimedia projector to teachers?

A

Advantages of a multimedia projector to teachers:

  • Can prepare one lesson to use for several classes without having to re-write things on the board – more consistence in lesson quality
  • Can present text, graphics, audio and video on the screen; giving more freedom to best express and teach concepts
97
Q

What are actuators?

A

Actuators are motors commonly used in conjunction with sensors to control a mechanism.

98
Q

What are some examples of mechanisms controlled by actuators?

A

Examples of actuators:

  • Opening a window or valve
  • Turning a wheel
  • Controlling devices in a “smart home”
99
Q

What is the basic method by which all storage devices store data?

A

All storage devices use a technique which allows them to create and maintain a toggle state without power to represent either a 1 or a 0.

100
Q

How does a hard disk work?

A

Firstly, iron particles on the hard disk are polarised to a north or south state, representing a 1 or a 0. The disk is divided into concentric circles called tracks, which is divided into sectors. The disk spins very quickly and a drive head moves across the disk to access different tracks and sectors, either reading data from them or writing data to them.

101
Q

What does the drive head do when the disk is not in use (and why)?

A

When the disk in not in use, the drive head parks to one side in order to prevent damage from movement.

102
Q

What are the 3 formats of optical disks?

A

The 3 formats of optical disks are read-only, recordable and rewritable.

103
Q

How are optical disks written to?

A

An optical disk works by using a high-powered laser to burn sections of its surface, making a pit. The remaining spaces are called lands. A laser at a lower power is used to read the disk by shining light onto the surface and a sensor is used to measure the amount of light that is reflected back. Reflective and non-reflective areas are read as 1s and 0s.

104
Q

What are the advantages of optical storage?

A

Advantages of optical storage:

  • Very cheap to produce
  • Easy to distribute
105
Q

What is the main disadvantage of optical storage?

A

The main disadvantage of optical storage is that it can be easily corrupted or damaged by excessive sunlight or scratches.

106
Q

In what capacity is data stored in pages?

A

Pages are typically 4KB each, grouped into blocks of around 512 KB.

107
Q

What are the advantages of SSDs?

A

Advantages of SSDs:

  • Consume far less power than hard disks, meaning battery life in laptops is extended and they stay cooler
  • Less susceptible to damage than hard disks
  • Silent in operation
  • Lighter and more portable than traditional hard drives
  • Faster access speed than hard disks as there are no moving parts
108
Q

What are the disadvantages of SSDs?

A

Disadvantages of SSDs:

  • Much more expensive than hard disks per GB
  • Have a lower capacity than hard disks
109
Q

What is virtual memory?

A

Virtual memory is an extension of memory provided by the hard drive that stores the least frequently used programs in the primary storage (RAM) when it gets full.

110
Q

How are optical disks read from?

A

A laser at a relatively low power is used to read the disk by shining light onto the surface and a sensor is used to measure the amount of light that is reflected back. Lands and pits are read as 1s and 0s.