3. Hardware Flashcards

1
Q

Define CPU
Central processing unit

A

responsible for the execution or processing of all the instructions and data in a computer

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

Define Von Neumann Architecture

A

a type of computer architecture which introduced the concept of the stored program in the 1940s

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

Define ALU

A

the component of the CPU that carries out all arithmetic and logical operations

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

Define ACC [Accumulator]

A

temporary general-purpose register that stores numerical values at any part of a given operation

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

Define MAR (memory address register)

A

a register that stores the address of the memory location currently being read from or written to

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

Define CIR [current instruction register ]

A

a register that stores the current instruction being decoded and executed

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

Define MDR [memory data register]

A

a register that stores data that has just been read from memory or data that is about to be written to memory

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

Define PC [Program couunter]

A

a register that stores the address where the next instruction to be read can be found

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

Define PC [Program couunter]

A

a register that stores the address where the next instruction to be read can be found

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

Define clock cycle

A

s temporary memory using static RAM to hold frequently used data/instructions by the CPU thereby increasing CPU performance. More generally, cache means any area of storage used to quickly access frequently-used data - other examples include web cache, database cache, DNS cache

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

Define register

A

a temporary component in the CPU which can be general or specific in its use; it holds data or instructions as part of the Fetch–Decode–Execute cycle

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

Define address

A

a label for a memory location used by the CPU to track data

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

Define memory location

A

a numbered place in memory where values can be stored

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

Define system bus

A

a connection between major components in a computer that can carry data, addresses or control signals

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

Define address bus

A

the system bus that carries the addresses throughout the computer system

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

Define data bus

A

the system bus that allows data to be carried from CPU to memory (and vice versa) or to and from input/ output devices

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

Define control bus

A

– the system bus that carries signals from control unit to all other computer components

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

Define unidirectional

A

can travel in one direction only

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

Define bidirectional

A

can travel in both directions;

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

Define over clocking

A

changing the clock speed of a system clock to a value higher than the factory/recommended setting

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

Define core

A

a unit on a CPU made up of an ALU, control unit and registers

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

Define dual core

A

A CPU containing 2 cores

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

Define Fetch-Execute-Decode

A

– a cycle in which instructions and data are fetched from memory, decoded and finally executed

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

Define BIOS

A

– a suite of programs on firmware that are used to perform the initialisation of a computer system during the boot-up process

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
25
Define opcode
– part of a machine code instruction that identifies what action the CPU has to perform
26
Define operand
part of a machine code instruction that identifies what data is to be used
27
Define instruction set
the complete set of machine code instructions used a particular microprocessor
28
Define embedded system
a combination of hardware and software designed to carry out a specific set of functions
29
Define barcode
a series of dark and light lines of varying thickness used to represent data; the code has to be scanned using laser or LED light source
30
Define keyfield
the field that uniquely identifies a record in a file
31
Define QR code
a matrix of dark and light squares which represent data
32
Define frame QR code
a type of QR code that includes a space for advertising
33
Define DAC
device that converts digital data into electric currents that can drive motors, actuators and relays
34
Define ADC
a device that converts analogue data (for example, data read from sensors) into a form understood by a computer
35
Define CCD
a light sensitive cell made up of millions of tiny sensors acting as photodiodes
36
Define virtual keyboard
an onscreen keyboard which uses the features of the touch screen to emulate a physical keyboard
37
Define touch screen
a screen that allows the user to select or manipulate a screen image using the touch of a finger or stylus; touch screens most frequently use capacitive, infra- red or resistive technology
38
Define RSI (repetitive strain injury)
pain felt in the muscles, nerves and tendons caused by a repetitive action (for example, excessive clicking of a mouse button over a period of time)
39
Define optical mouse
a pointing device that uses a red LED to track the movement of the device and then relays its coordinates to a computer
40
Define pointing device
an input device that allows the user to control the movement of an onscreen cursor or to allow onscreen selection by clicking a button on the device
41
Define CMOS
a chip that generates an electric current (or pulses) when light falls on its surface
42
Define DSP
a processor that calculates, for example, the coordinates of a pointing device based on the pulses of electricity received
43
Define optical character recognition
technology that can convert hard copy text or images into a digital format to be stored in a computer memory
44
Define CAD
software used to create drawings
45
Define CT scanner
technology that can create a 3D image of a solid object by slicing up the object into thin layers (tomography)
46
Define capacitive touch screen
a type of touch screen that uses the change in the screen’s capacitance (the ability to store an electrical charge) when it is touched by a finger or stylus
47
Define infra-red touch screen
a type of touch screen that uses infra-red beams and sensors to detect where the screen has been touched
48
Define resistive touch screen
a type of touch screen that uses two conductive layers which make contact where the screen has been touched
49
Define actuator
an output device that converts electrical energy into mechanical movement
50
Define DMD
a chip that uses millions of tiny mirrors on its surface to create a video display
51
Define thermal bubble
inkjet printer technology whereby tiny resistors create heat and form an ink bubble which is ejected onto paper in an inkjet printer
52
Define piezoelectric crystal
a crystal located in an ink reservoir within an inkjet printer; the crystal vibrates and forces ink out onto paper
53
Define direct 3D printing
a 3D printing technique in which the print head moves in the x, y and z directions
54
Location of a device on a network
IP address
55
Number that uniquely identifies device
MAC address
56
What does a control bus do?
Carries signals to synchronise the fetch-execute cycle Directs the CPU Can be unidirectional or bidirectional
57
What does a data bus do?
Carries data that is being processed - Bidirectional
58
What does an address bus do?
Carries address locations of next item to be fetched - Unidirectional
59
List the 5 different registers
MDR MAR PC CIR ACC
60
What is meant by the stored program concept?
Programs / instructions are stored in memory Data is stored in memory Instructions are fetched and executed one after another
61
Describe the role of the Program Counter
Holds the address … - … of next / current instruction
62
What does a Program counter do?
Increments to point to the address of the next instruction to be fetched
63
What does an accumulator do (ACC)?
It holds the result of a calculation, It is located in the Arithmetic Logic Unit (ALU)
64
What does a memory data register do (MDR)?
Temporary storage between the central processing unit (CPU) and primary memory
65
Describe the role of the ALU
− Carries out calculations − Carries out logical operations − Holds temporary / interim values during calculations − …in a register called the accumulator (ACC)
66
5 examples of output devices
Inkjet printer Laser printer 3D printer Speaker Projector
67
5 examples of input devices
Scanner Microphone Keyboard Sensor Barcode reader
68
How does a capacitive touchscreen work?
Made up of many layers of glass that act like a capacitor, creating electric fields between the glass plates in layers. When the top glass layer is touched, the electric current changes, and the coordinates where the screen was touched is determined by a microprocessor
69
4 benefits of a capacitive touchscreen
Medium cost technology Screen visibility is good even in strong sunlight Multi-touch capacity Very durable screen
70
2 drawbacks of a capacitive touchscreen
Only the use of bare fingers is permitted - Special stylus is allowed
71
How does a heat-sensitive INFRA-RED touchscreen work?
Uses glass as the screen material - Needs a warm object as an input
72
3 benefits of an INFRA-RED touchscreen
Allows multi-touch capacity Good screen durability Optical system allows bare fingers, gloved fingers or a stylus for input
73
3 drawbacks of an INFRA-RED touchscreen
Heat-sensitive system only allows the use of bare fingers for input Very expensive Good screen visibility in strong sunlight
74
How does an optical INFRA-RED touchscreen work?
Uses glass as the screen material Sensors form a grid The location of the touch is calculated using the coordinates in the grid
75
How does a touchscreen work (general)?
Sensors are located on the edge of the screen Electric field all over the screen When the finger touches the screen, the charge is transferred to the finger Coordinates of the touch is calculated
76
How does a resistive touchscreen work?
Top layer: polyester Bottom layer: glass When the polyester layer is touched, the top layer and the bottom layer complete a circuit Signals are interpreted by a microprocessor, the calculations determine the coordinates of where the screen was touched.
77
2 benefits of a resistive touchscreen
Cheap - Can input with bare fingers, gloved fingers, or a stylus
78
3 drawbacks of a resistive touchscreen
Bad screen visibility in sunlight Does not permit multi-touch capability Bad screen durability
79
How does an inkjet printer work?
Data is stored in printer buffer Uses liquid ink cartridges Uses thermal bubble Rollers used to move the paper Uses a moving print head Sprays ink onto the paper Different colour inks are mixed to create required colors
80
How does a laser printer work?
Uses dry powder ink/toner Data stored in printer buffer Uses charged print drum Uses static electric charges Toner is fused to the paper Positive charge is replaced by negative charge
81
How do 3D printers work?
Uses resin Solid is built up in thin layers Uses a moving print head
82
What does QR stand for?
Quick Response
83
Explain how the system scans the QR code and checks if a person can enter.
Laser shone on QR code Black squares reflect different light to white squares Pattern is converted from analogue to digital by an ADC The data is sent to a microprocessor There is a database of valid QR codes The data is compared to stored values If data matches, entry is allowed If data does not match, entry is no allowed
84
How does a barcode reader work?
Shines light at the barcode and light is reflected back The black bars in the barcode reflect less light than the white bars Sensors read the data The pattern is converted from analogue to digital data by the ADC Microprocessor interprets data
85
Advantages of using barcodes to the management
Can check stock levels Can check if there is stock in a different location When new stock items arrive, the stock levels are automatically updated in the database Can check price
86
2 examples of primary storage
RAM (Random access memory) and ROM (Read-only memory)
87
2 examples of secondary storage
SSD (Solid-state drive) and HDD (Hard disk drive)
88
3 features of ROM
Non-volatile Cannot be changed Used to store the start-up instructions when the computer is first switched on
89
4 features of RAM
Volatile Used to store data and files Can be changed Never runs out of memory, it just gets slower and slower
90
Drawbacks of HDD
Very slow compared to RAM Large number of head movement needed Expensive to change technology
91
Advantages of HDD
Cheaper for large amounts of data - Greater longevity for read/write functions
92
Advantages of SSD
More reliable Light Portable Lower power consumption Faster than HDD
93
Example of SSD
USB flash drive
94
What does MIDI stand for?
Musical Instrument Digital Interface
95
What is MIDI?
− Musical Instrument Digital Interface (file) − Stores a set of commands/instructions (for how the sound should be played) − Does not store the actual sounds − Data in the file has been recorded using digital instruments // produced by synthesizer − Specifies pitch of the note // specifies the note to be played − Specifies when each note plays and stops playing // Specifies key on/off − Specifies duration of the note − Specifies volume of the note − Specifies the tempo − Specifies the type of instrument − Individual notes can be edited
96
What is MP3?
− MP3 is a format for digital audio − MP3 is an actual recording of the sound − MP3 is a (lossy) compression format − Recorded using a microphone
97
What format does MP3 use?
Lossy compression format
98
Is a thermometer a sensor+why
No, it is a tube filled with alcohol or mercury that can be read by a human eye in comparison to a scale, computers cannot see the level so it needs something else.
99
Whast sensor do you use to measure motion
Infra-red
100
What sensor do you use to measure temperature
Temperature sensor
101
Where would you use a pH sensor
In a pool
102
Where is an acceleromenter used
In a car
103
What are sensors
Input decives that can read or measure physical properties from their surroundings.
104
Explain real data+1 eg,
Real data is anologue in nature, meaning that there are infinite no of values and the data requires interpretation/best judgemnent from user Computers cannot make sense of real data Thermometer
105
What is an ADC
An Anologue Digital Converter Takes real life data/physical quantities and converts them to digital format/discrete digital values.
106
What is a DAC+eg of when they are used
Digital to anologue converter When a computer is used to control devices eg.valve Actuators are used
107
What is an actuator
A device thatelps achieve physical movements by converting energy to mechanical force
108
What is feedback
When the output readings of a sensor are recieved by the microproccessor and may impact the next input to bring the system within the desired parimetres.
109
What are the 2 types of applications for sensors
Monitoring and control
110
Explain monitoring sensor use+eg.
If the new data recieved is outside the acceptable range,a warning message/alarm appears The microprocessor/computer has no effect on what is being monitored, they simply observe and notify Pollution in river
111
Explain sensor applications:control Eg.
If the new data recieved is outside the acceptable range, the computer/microprocessor sends signals to control aspects of the system/device. Output from the system affects the next set of inputs (feedback loop) Chemical process control(maitnaining pH)
112
Where are magnetic field sensors used
Anti-lock braking systems
113
What does the CPU consist of
CU-control unit ALU- arithmetic and logic unit Registers and buses
114
What is a CPU
Central processing unit Responsible for execution/processing of all instructions and data in s computer Often installed as an integrated circuit on a microchip
115
What did John van Neumann do What features did it have
Developed a stored program computer in the 1940’s Concept of CPU CPU could access RAM directly Memory could store programs and data Stored programs were made up of data in sequential order
116
What are the main components of the CPU
ALU-arithmetic and logic unit CU-control unit Registers
117
What does the ALU in the CPU do
Allows arithmetic, logic and or operations to be carried out whilst a program is being run There can be more than one ALU to carry out specific functions
118
What does the CU in the CPU do
Reads instruction from memory/controls flow of infor Address of location where instruction is found is stored in the PC (program counter) Generates command signals along control bus System clock is used to produce timing signals for^(without system would crash)
119
How is the instruction from the PC interpreted
Fetch-decode-execute cycle
120
Where + how does the CU access its data and programs
In the RAM/IAS(immediate access store) The CPU takes data and programs held in a backing store and temporarily puts them into RAM This leads to faster operations
121
What are registers function in CPU
General or special purpose eg. ACC-actuator(carries out ALU+temporarily stores data) PC-program counter(stores address where next instruction is found) MAR-memory access register(stores address of memory currently being read/written from)
122
Logic Gates
OR )> AND |) NOT |>º NOR )>º NAND |)º XOR ) )> XNOR ) )>º
123
Truth Tables
Truth tables are compiled in numerical order OR: A OFF , B OFF = 0 A OFF , B ON = 1 A ON , B OFF = 1 A ON , B ON = 1 AND: A OFF , B OFF = 0 A OFF , B ON = 0 A ON , B OFF = 0 A ON , B ON = 1 NOT: A OFF = 1 A ON = 0 NOR: A OFF , B OFF = 1 A OFF , B ON = 0 A ON , B OFF = 0 A ON , B ON = 0 NAND: A OFF , B OFF = 1 A OFF , B ON = 1 A ON , B OFF = 1 A ON , B ON = 0 XOR: A OFF , B OFF = 0 A OFF , B ON = 1 A ON , B OFF = 1 A ON , B ON = 0
124
Logic Statements
Writing a logic statement, steps: X (or other) = final logic gate in the middle brackets on either side of gate in the middle logic gate in middle of either bracket for both sides and continue working backwards
125
Logic circuits
From information or logic statement, work from middle gate and place last and continue working from middle till done.
126
Computer Architecture
Stored program concept (Von Neumann Architecture) single processor in computer system processor uses sequential fetch-execute cycle data (files) and instructions (software) both stored in same memory (RAM) Prior to this if a computer wanted to carry out another task it would have to be physically rewired
127
Processor Cycle
Main stages of the processor’s cycle Fetch - the instruction Decode - the instruction Execute - the instruction
128
Parts of a processor
Memory Unit: temporary storage areas for data and instructions inside the processor (not within RAM) Arithmetic-Logic Unit (ALU): carries out mathematical equations on data evaluates relational comparisons inside the ALU is a general-purpose register called the accumulator (data needs to be placed in the accumulator for calculations to be carried out by the ALU) Control unit: co-ordinates what and where data goes when it enters or leaves the processor it also controls the interactions between the different parts of the processor (e.g. the registers) IAS/Immediate Access Memory (Cache memory): A processor also has built-in cache memory. This is super-fast memory (much faster than RAM) that is stored within the processor.
129
Parts of Processor (Image structure) Processor image (3 images)
Refer to IG Computer Science OneNote for answer OneNote > Content Library > Unit 3 > Parts of a Processor
130
What is a register
A temporary memory location within the processor. Registers store data and instructions whilst they are being processed. Registers are also used to move data and instructions into and around the different parts of the CPU.
131
Special types of Registers
MAR - memory address register Contains the location in RAM of the current instruction being processed MDR - memory data register Contains the contents (values, instruction) returned from RAM CIR - current instruction register Contains a copy of the contents of the MDR Responsible for decoding the instruction PC - program counter The location (memory address) in RAM of the next instruction to be fetched
132
General Purpose Register
ACC (accumulator) - stored in ALU Keeps track of data that needs to be accessed over a period of time during processing
133
Buses
Buses are wires used to transmit data within the processor and on the motherboard. Three types of buses: Address bus - used by PC and MAR to transmit locations in RAM (i.e. addresses) Control bus - used by the PC and the MDR to send instructions Data Bus - used to carry data between RAM and the MDR, and between the MDR and the CIR
134
Stages in the fetch-execute cycle
Fetch execute cycle steps PC has address of next instruction PC copied to the MAR Lookup MAR and get contents. Copy contents into the MDR Copy MDR contents into the CIR PC is then incremented by 1 The instruction is decoded and then executed Repeat
135
Input devices - 2D scanners How a 2D scanner works: How a (_____) works: OCR:
An input device digitised by a scanning device such as flatbed or barcode scanner. How a 2D scanner works: Scanner shines a light beam onto document. Scanner detects level of reflected light from positions on the document. Light intensity is converted by software for each pixel position into a combination of 0s and 1s by sensing different intensities of light and dark from the document. How a flatbed works: Place document - raise cover, put document on panel and close Very bright light - (xenon lamp) Scan head - moves across the document and image is created and sent to a lens using mirrors Charge Couple Device - focused image falls on CDD, IC’s etched into silicon and software produces digital image OCR Optical character recognition: OCR alongside 2D scanner used in airport for passport to face identification eg. Distance between the eyes Width of the nose Shape of the cheek bones Length of the jaw line Shape of the eyebrows
136
Input devices - Linear Barcodes
Linear Barcodes are 1D and the most commonly used Steps: Infra-red laser light shines onto linear barcode. Light reflected back into the moving mirrors/prism The barcode reader’s charge-coupled device (CCD) measures the amount of reflected light input. Light measurement is converted into an electrical charge (1 or 0). Data from the bar code is sent to the computer’s processor in binary form.
137
Input devices - QR Codes
Quick response codes are faster to read and have a greater storage capacity than UPC linear barcodes. Scanned digitally by phone’s image sensor then interpreted by microprocessor.
138
Input devices - Keyboards
Keyboard works using plungers at the bottom of each key which when pressed pushes 2 electrical contains completing a circuit (key matrix). Key matrix (circuits) stored in ROM
139
Input devices - Mouses
Trackerball Mouse: - Similar to the concept of the original mouse but upside down. The movement of the ball in the socket contains sensors. The data from the sensors processed by a software determines the movement of the pointer. Optical Mouse: - A red LED bounces light off the surface onto a CMOS sensor which sends each image to the DSP for processing. The DSP detects if the mouse has moved, at what distance and at what speed.
140
Input devices - Microphones
All microphones need to input a varying pressure wave and then convert this to an electrical reading. Sound vibration hits a diaphragm. Movement of the diaphragm causes a coil to move. Movement of the coil induces a current through the electromagnetic effect. The electrical current is digitised (ADC - analogue-digital converter) The digital content is played back using software.
141
Sensors - Light, Temperature, Pressure, Motion, Gas, pH, thermal, moisture, humidity
Light: Light Sensors are photoelectric devices that convert light energy (photons) into an electrical (electrons) signal eg. barcode scanner, automatic lights as it gets dark Temperature: A temperature sensor is a device, typically, a thermocouple or RTD, that provides for temperature measurement through an electrical signal. eg. thermometer Pressure: A Pressure sensor measures the amount of force exerted. eg. old-style electric doors, pressure inside gas canisters
142
What are registers function in CPU
General or special purpose eg. ACC-actuator(carries out ALU+temporarily stores data) PC-program counter(stores address where next instruction is found) MAR-memory access register(stores address of memory currently being read/written from)
143
Primary/Main Memory/Storage
All computers must use Primary storage and it is directly accessible by the processor because it is connected directly to the motherboard. - RAM random access memory RAM is volatile and directly connected to the CPU.
144
RAM
RAM stores data and instructions that are currently open and running. If a file or program is not open, it will not be in RAM. RAM contains parts of the operating system that are currently in use. Contents stored in RAM are directly accessible to the processor. When you load a stored file it is first loaded into RAM before any changes made to the file are processed by the CPU. RAM is volatile so when power to the computer system is lost so are the contents of RAM. Storage capacity is in GB and has read and write ability. Its contents change every time we use a computer.
145
ROM
ROM stores your computer system’s BIOS and bootstrap loader. Basic Input Output System (BIOS) Most do not need to access the BIOS on a regular basis, if at all. The BIOS allows us to change things like the bootable drive. Bootstrap loader When you first turn on (‘boot’) your computer, the operating system has not yet loaded. Your computer performs a self check of its hardware. It makes sure that it recognises it has RAM and a bootable drive of some sort. ROM is non-volatile memory between 4-8 MB storage
146
Secondary Memory/Storage Types Use in a laptop or computer What it is
Magnetic/Solid state/ off-line A laptop or desk top computer either has an (HDD) or an (SSD) as its main secondary memory/storage device. Secondary storage devices are not directly accessed via the processor. Their contents are first be loaded into RAM before being transferred to the CPU for processing.
147
How HDDs work
An HDD platter is magnetic the film stores data (bits) bits are written to using the magnetic read/write head the positive or negative charge (polarity) is different for a 1 and 0
148
SSD
SSDs are non-volatile storage devices No moving parts Uses flashing light to store data on chips Solid state external device Large storage capacity
149
HDD vs SSD
HDD: cheaper longer lifespan larger storage capacity SDD: uses less power skinny compact no delay when reading or writing data less heat produced quieter more durable (harder to break)
150
Secondary storage device Types and examples
Magnetic: Magnetic tape Floppy discs/drives HDD Optical: CDs DVDs Blu-ray DVD-RAM Solid state: SSDs USB Flash memory/memory sticks SD cards
151
Offline storage Types and examples
Offline storage is external to the computer system and can be taken away from the computer. Magnetic: - external HDD Optical: CD DVD Blu-ray Solid state: external SSD memory stick (not USB on it’s own) SD cards
152
How a CD works
Data is stored on the CD on a single spiral track in pits (0s) and lands (1s). The CD drive spins the CD at a constant speed. A red laser shines on the CD’s surface. Light is reflected from the disc from the pits and lands, which is how binary data is read from the CD.
153
Primary storage vs. Secondary Storage Types Volatility Contents Placement Read/Write access speeds Relationship to CPU
Primary Storage: RAM - volatile, ROM - non-volatile RAM - currently running programs and files, ROM - BIOS and bootstrap loader (start-up instructions) Internal placement RAM - plugged onto motherboard ROM - soldered onto motherboard Faster than secondary storage Directly accessible by the processor (CPU) Data and instructions must be in RAM before being sent to the CPU for processing CPU loads the operating system when the bootstrap loader in ROM runs when the computer is turned on Secondary Storage: HDD, SSD Both are non-volatile Both - stores files and programs for long-term storage Internal and external options Inside computer case, attached to motherboard via cable Portable HDD or SSD, connected via USB port Slower than primary storage Contents are not directly accessible by the processor (CPU) Data and instructions on HDD and SSD (internal and external) is loaded into RAM first
154
Blu-ray vs. DVD
DVD red laser Blu-ray blue laser and more storage
155
DVD vs. DVD-RAM
DVD read only and one spiral track DVD-RAM read and write (at same time too) and multiple concentric tracks
156
Flash memory vs. CD-RWs Type of offline storage media How data is read/written Read/write access speed Hardware
Flash memory: solid state transistors/logic gates faster than CD-RW because no moving parts plugs directly into computer via USB port CD-RW: optical red laser slower than flash memory requires a separate CD drive to read or write data
157
Output devices - Inkjet printer
They operate by heating the ink as it flows through a set of tiny nozzles. The heating process causes a small droplet of ink to form. This is then released as a single dot which forms part of a letter or image. Either thermal uses heating element to make air bubble or piezoelectric crystal to vibrate adv. Cheap, compact, faster than dot matrix, quiet disadv. colour is slow, wet ink can smudge
158
Output devices - Laser printer
Laser printers used the same technology as photocopiers. (Image refer to laser printer image in OneNote) Laser beam and rotating mirror used to draw image of page on drum. Image converted on drum into electrostatic charge, this attracts and holds toner. Charged paper rolls against the drum. Charge pulls the toner away from drum and onto paper. Heat fuses the toner to the paper. The electrical charge is removed from the drum and the excess toner is collected. NB - for multiple colours, multiple drums
159
Output devices - Dot matrix printer
Comparatively noisy and low quality but cheap to run and used when carbon copies or duplicates are needed. Useful in dirty environments such as a garage because they are very sturdy.
160
Output devices - 3D printer
3D printers use an additive printing process, using melted layers of plastic (filament) to create 3D objects. A 3D printer builds up an object from adding more and more layers of material usually PLA.
161
Output devices - Speaker
A loudspeaker takes an electrical signal and translates it into physical vibrations to create sound waves. The speaker is carrying out the exact reversal of what is done by a microphone. Main components are a voice coil, diaphragm and magnetic.
162
Output devices - Flat panel display screen (LCD & LED) LCD Technology LED Technology LCD v LED
Liquid Crystal Display (LCD) Uses light modulating properties of liquid crystals 1. The screen comprises individual red, green and blue (RGB) pixels that are organised into small blocks. 2. Each ‘block’ is made of liquid crystals (hence the name, LCD!) 3. When the electric current being sent to the block of liquid crystals changes it causes the pixels to also change by turning solid or transparent. Light-Emitting Diodes (LED) Display - Uses an array of light-emitting diodes as pixels LEDs use the same technology as LCDs to create an image LCD advantages: less power low manufacturing cost LED advantages: no added light sources needed works well in very hot or cold temps fast doesn't need an AC drive
163
Output devices - Touch screens
(Refer to OneNote for images) Capacitive: Made up of an insulating layer of glass that is coated with transparent conductive material. When an area of the screen is touched the voltage drops there. The processor uses the change in the electrical field to calculate where the screen was touched. (refer to OneNote for image) Resistive: Made up of two separate layers, bottom glass top plastic. When touched the two layers meet and this sends a signal to the processor, which uses the coordinates of the screen to calculate where it was touched. Infra-red: Screen is made of glass and requires human input for touch, if touched in multiple places the location can’t be determined. Works with matrix of IR beams like lasers in spy movie.
164
Output devices - Projectors
Liquid Crystal Display (LCD) projectors: sharper/better image quality Quieter pixels are more visible uses less power and runs cooler than a DLP projector projects light through three prisms (RGB) three lights (RGB) merge when they pass through a fourth prism to display an image onto a large screen Lamp > separation prism > colour filter > combining prism > lens = image Digital Light Projectors (DLP) : lighter, more portable produces ‘blacker blacks’ often more expensive than regular LCD projectors uses a thousands of micro mirrors (built onto on integrated circuit (chip)) to project an image onto a large screen Lamp > condensing lens > colour filter > shaping lens > DMD > lens = image
165
Operating systems
An operating system is a collection of programs that form the basis of the main system software found in a computer system. An operating system provides a platform for application software to be installed.
166
Interrupts
An interrupt is an electronic signal from hardware or software that requests the processor’s attention. An operating system contains a program called an interrupt handler. The role of the interrupt handler is to prioritise the interrupt signals as it receives them and places them in a queue to be handled. Interrupts can be hard or software based, are handled by the operating system, allow a computer to multitask, does not work out priority and a computer cannot function without interrupts. ––––––––––––––––––––––––– Interrupts are signals sent to the CPU by external devices to indicate that an event needs immediate attention They tell the CPU to stop what it is currently doing and give priority to the interrupt Hardware interrupts are generated by hardware devices eg. printer out of paper Software interrupts generated by programs eg. divide by zero
167
Software Software Categories Software types
Categories: System software, Application software System software: Programs that are needed to run the computer eg. windows Application software: Programs that are needed to perform tasks for the user Free software, freeware, shareware: Most commercial software has to be paid for Using an unlicensed copy of software is a copyright infringement and is illegal Some software is free of charge and allows users to study, modify and distribute it
168
Free software
Free software is software that comes with permission to use, copy and distribute it with modification either gratis or for a fee
169
Open source software
Open source software is free of charge and the source code is given to a user to use in any way they like
170
Freeware
Freeware may be used without payment it may permit redistribution but not modification as the source code is not available. Examples: Google chrome Skype Adobe reader
171
Shareware
A software that is initially free on a trial basis The software is copyright and after trial must be paid for, the source code is not available and it can not be modified but is often encouraged to be made copies of and shared to help distribute it.
172
Operating Systems System software types Examples of OS Definition and function
System software: Operating systems Utility programs Program translators Examples: IOS Android OS X Windows Google chrome Linux Definition and function: Software that manages a computer’s hardware and provides a user interface Also provides security
173
User interface mini def Types x 6
Without user interface we would communicate in binary Types: GUI , graphical user interface; most commonly associated Menu-driven interface; music players and ATM machines CLI, command line interface; all user commands types in as text and no graphics, uses less space on disk and RAM Voice activated Real-time Windows; WIMP - Windows, Icons, Menus and Pointers; user can click on icons using a pointer or cursor and right click to display a menu
174
How computers handle Memory Management
Data used by the computer is copied into main memory The operating systems keeps a record of where each program and its data are located It must not overwrite pre-existing programs
175
Multi-Tasking
When running multiple programs on a computer, the programs in the background running are taking turns to get processor time to execute instructions The OS Manages how the programs share the processor Task manager
176
Peripheral management
Peripherals are all the devices outside of the CPU, input/output devices and secondary storage, access speed of these is relatively slow
177
Print buffer
Status of each job on a printer screen displaying whether it is printing or waiting to print
178
Storage device and disk file management who manages and what they do def
OS manages: Copying files from disk to main memory Copying data files back to secondary storage Hard disk in computer is a storage peripheral: OS manages where on disk files are written, keep track of their location to be fetched, making sure no file overwrites another file
179
Logic Gates types
OR )> AND |) NOT |>º NOR )>º NAND |)º XOR ) )>
180
Describe truth table of NOT,AND,OR,NAND,NOR,XOR gates
Not- 1 input becomes 0 vice version And- Only 1 and 1 gives 1 output Or- Gives 1 when there is atleast 1 in inp Nand- Gives 1 every time except 1 and 1 Nor- Only gives 1 when input 0 and 0 Xor- Gives 1 when only 1 input is 1
181
What is the stored program concept
Stores instructions, programs and data in the memory, - Instructions fetched and executed one after another one by one
182
Describe the fetch-execute cycle
PC holds address of next instructions Address held in PC sent to MAR via address bus MAR goes to location in memory where instruction is stored Instruction sent to MDR via data bus Instruction then sent to CIR Control unit sends signal to manage process using control bus Value in PC incremented by 1 Then instruction is decoded and executed
183
Describe buses in Von Neumann
Address bus- carries signal relating to addresses between the processor and the memory; unidirectional Data bus- can transfer data between the processes and memory and I/O devices; bi-directional Control bus- carries signals relating to the control coordination of the fetch-execute cycle ; uni and bi-directional Memory unit- Uses MAR and MDR, made up of partitions. Each has an address and contents. CPU only refers to main memory Main memory- IAS, RAM, holds data/instructions currently in use. Directly accessed by CPU, Volatile memory
184
Components of Von Neumann: ALU, ACC, PC, CIR, MAR, MDR
ALU - Arithmetic and Logic Unit, allows for arithmetic calculations and logic operations to be carried out ACC- Accumulator, register which acts as a temporary storage location for immediate result from the ALU and values from calculations PC- Program counter, register used by CPU to hold address of next instruction to be executed CIR- Current instruction register, holds instruction currently being executed or decoded MAR- Memory address register, holds memory location of data that needs to be accessed MDR- Memory data register, holds data content waiting to be written or read from location pointed by MAR
185
Interrupts and buffer
Interrupt: To identify that the processor’s attention is required To stop the current process To allow multitasking To allow for efficient processing To allow for efficient use of hardware Buffer: -Region of memory used to temporarily store data while it’s being moved from one place to another Examples of interrupts: Hardware issue, such as a printer paper jam Key press by the user, e.g. CTRL ALT DEL Software error
186
Describe how keyboard works
Circuit board present at base of keys When key is pressed that presses a switch When pressed the circuit is complete Location of key press is calculated Each character has an ASCII value Key press generates an interrupt
187
Describe how a 2D scanner works
A light is shone on the surface of the document Light source is automatically moved across the document Reflected light captured by mirror and lenses. Used to scan sheets of paper
188
Describe how a 3D scanner works
Works using laser or light source which is shone across the object The width,height,depth of object measured Model is replicated and created Used to scan patient bodies, scan an object to create copies
189
Describe how a barcode reader works
-Input device Scanned using a barcode reader − Shines (red) laser/light − Light is reflected back, white lines reflect light, black lines reflect less light − Sensors/photoelectric cells detect the light − Different reflections give different binary values − Pattern is then converted to binary values − Microprocessor interprets the data Has to be bought separately But Quicker to scan than type, less human errors
190
Describe how a QR works
Illuminator/Light shone on code Black squares reflect different light to white Corner squares used for alignment Reflected light is focused on photosensitive cells or CCD Pattern converted to digital data Data sent to microprocessor
191
Describe how an interactive whiteboard works
Output device Fixed on walls User can calibrate the device to make sure sensors align with projected image Can use finger or pen to interact Where touch is performed, location is calculated and output is shown
192
Describe how a microphone works
Input device Takes analogue sound and converts them into electrical signals So computer can understand and process it
193
Describe how a microphone works
Input device Takes analogue sound and converts them into electrical signals So computer can understand and process it
194
Types of sensors
Light- Detect light, street lights Temperature- detects temp, ovens Pressure- detects pressure, collision Magnetism- uses earth magnetic field Humidity/Moisture- used in greenhouses Acidity- pH of water, treatment of water Motion- detects motion, burglar alarm
195
Describe how a laser printer works
Uses static electricity Uses powdered ink Rotating drum used to transfer image on paper Has negative charge Laser removed negative charge from areas and scans Toner transfers from drum to positively charged paper -Prints high volume, cheaper cost per page, fast speed, expensive to buy, toner is expensive, has warm up time, heavy
195
Describe how a 3D printer works
Uses a moving print head Produces output using materials like plastic and resin Uses layer upon layer of material to create output Products can be customised but does have limitations to what can be made Uses piezoelectric or thermal technology -Can create prototypes easily, prosthetic arms, dangerous objects could be created
195
How is a sensor and microprocessor used to control a thing
Sensors take reading and data is sent to microprocessor Analogue signal from sensor converted into digital using analogue to digital converter (ADC) Microprocessor compares data against pre-set values If matched no action taken If not matched microprocessor sends signal and decreases or increases value accordingly Process is continuous and repeated
195
Describe how an inkjet printer works
Rollers used to move paper Nozzles sprays liquid ink onto paper Ink jet drops ink on paper Different coloured inks mixed to create ideal color May use thermal or piezoelectric tech -Prints high quality, cheap to buy, no warmup time, more expensive per per, ink could smear
196
Describe how a 3D cutter works
-Design is created on the computer / software / CAD -Material is loaded to cutter -Different types of material can be used -Uses lasers to cut material that use infra-red that produces extreme heat that is focussed using a special lens -Can work on both the x, y and z axis
197
Describe how a LCD works
− Liquid crystal display − The display is made of pixels arranged in a matrix − Uses a flat panel display − Backlit display with CCFLs/LEDs − Uses light-modulating properties of liquid crystals − Crystals can be turned between opaque and transparent (to allow light to pass) − Colours created using RGB − Not good at low temp as crystals can become solid − Low power consumption − Runs at cool temperature − Do not suffer image burn − Do not suffer flicker issues − Bright image/colours − High resolution image − Cheaper to purchase than e.g. LED screen
198
Describe how a LED works and its benefits
− Light emitting diodes (technology) − The display is made up of pixels that are arranged together as a matrix − Each is formed of three LEDs/filters − Shades of colour are achieved by mixing red, blue and green − The screen can be back-lit/edge-lit − Energy efficient // low power consumption − Long lasting // longevity − Focussed beam // less light strays from beam − Brighter/vivid colours − High resolution − No flicker − Display is thinner − Mercury free technology // environmentally friendly − Fewer pixel failure − Increased viewing in sunlight
199
Describe how a resistive touchscreen works
Screen has 2 layers Needs pressure to be applied to create a circuit, top layer is pressed Calculation carried out where layers connect and output is produced accordingly It’s cheaper but easily damaged Used in GPS, printers, digital cameras
200
Describe how a capacitive touchscreen works
Electrical field spread across the screen Sensors located around the screen When finger touches screen, the charge is transferred to the user as it is affected by conductivity of the human body Coordinates of touch determination or calculated Used in smartphones, iPads Has multi-touch capabilities Can’t be used wearing gloves
201
Describe how an actuator works
Operated by signals to cause a physical movement, controls the movement of a machine
202
Describe how a DLP/Projector works
Uses thousands of tiny mirrors that can move very quickly to create an image
203
Describe how a mouse works
− Uses rolling ball / optical sensor / laser to detect motion − Movement echoed on screen /moves curser (on screen) − Has scroll wheel / Buttons to allow data input
204
Describe Primary Storage
− Memory that is directly accessed by the CPU − An example is RAM / ROM − RAM stores programs and data that are currently in use and ROM stores boot-up instructions − RAM is volatile and ROM is non volatile − RAM typically has more storage than ROM − Volatile memory means data is lost if device is powered off, non-volatile is when data remains even after device is powered off.
205
Describe Secondary Storage
− Storage that is not directly accessed by the CPU − An example is HDD / SSD − Stores data / files that can be accessed at a later stage − Non volatile
206
Describe why is SSD better than HDD and vice versa
SSD better than HDD: − Faster read/write operation − Less latency − Produces less heat // needs less cooling − Less susceptible to interference/magnets − Less power consumption HDD better than SSD −Cheaper − Infinite amount of read/write cycles
207
Describe how a SSD works
SSD − Flash storage − Uses transistors and controls gates − Can be NAND/NOR technology − Stores data by flashing it onto the silicon chips − Controlling using the flow of electrons through transistors/chips/gates − The electric current reaches the control gate and flows through to the floating gate to be stored − When data is stored the transistor is converted from 1 to 0 / 0 to 1 − Some use EEPROM technology
208
Describe how a HDD works and benefits
− It has platters − Platters/disk divided into tracks − Platter/disk is spun − Has a read/write arm that moves across storage media − Read/writes data using electromagnets − Uses magnetic fields to control magnetic dots of data − Magnetic field determines binary value Benefits: − Has more longevity than solid state storage − Has more read/write cycles than solid state storage − Cheaper per unit of data − Trusted technology used for many year
209
Describe how off-line storage works
How its read − Red laser is used, laser beam shone onto disk − Disc is rotated on a constant speed to be read − Surface is covered in track − Data is represented on the surface using pits and lands − Pits represent binary valves − Pits reflect light back differently How data is written − Laser beam is used − Laser makes indentations on the surface of the disc − Data is written in spiral track − Pits and lands represent binary values − It is non-volatile − Can be easily disconnected from the computer or inserted − It is not directly accessed by the CPU − Suitable example e.g. CD, DVD, USB flash memory − Portable, small − Expensive to buy per GB
210
Examples of optical, solid state, magnetic storages
Optical- CD, DVD, Blu-ray Solid state- USB flash drive (important to mention flash drive) , SD cards Magnetic- HDD
211
Difference between DVD and Blu-ray
− DVD uses red laser/light whereas blu-ray uses blue/violet laser/light − DVD has a smaller (storage) capacity // Blu-ray has a larger (storage) capacity − DVD has two layers (of polycarbonate) whereas Blu-ray disks have a single layer (of polycarbonate) − DVD has a slower transfer rate (of approximately 10 mbps) // Blu-ray has a faster transfer rate (approximately 36 mbps)
212
Describe how an infra-red screen detects a users touch
Infra red rays are sent across the screen from the edges Sensors are around the edges and capture beams Infra red is broken by a finger blocking it Calculation is made to locate the touch based on where the beam was broken
213
what is an IP address
location of a device on a network
214
what is a MAC address
number that uniquely identifies a device
215
Ram types (2)
DRAM - SRAM
216
DRAM(8)
Constructed of tiny capacitors that leak electricity Requires a recharge every few milliseconds to maintain its data Inexpensive Slower SRAM Can store many bits per chip Uses less power Generates less heat Used for main memory
217
SRAM(8)
Constructed of circuits Hold its contents as long as power is available Expensive Faster than DRAM Can store many pits per chip Uses more power Generates more heat Used for cache
218
ROM(4)
Non-volatile memory chip Primary memory In a microprocessor holds the BIOS Can’t be written to
219
Types of ROM(3)
PROM (Programmable read-only memory) – It can be programmed by user. Once programmed, the data and instructions in it cannot be changed. EPROM (Erasable Programmable read only memory) – It can be reprogrammed. To erase data from it, expose it to ultra violet light. To reprogram it, erase all the previous data. EEPROM (Electrically erasable programmable read only memory) – The data can be erased by applying electric field, no need of ultra violet light. We can erase only portions of the chip.
220
EEPROM(4)
NAND More expensive Faster read Erase singular byte
221
SSD (4)
NOR chips Less expensive Slower read Erase blocks of bytes
222
Cache (5)
Cache holds the information from the RAM that is most actively used, and accessed most frequently. The computer system will run faster as the slower main memory will need to be accessed less frequently. When the processor needs to read from the main memory, it first checks if a copy of the data exists in the cache. If the data to be read do not exist in the cache, the data are first copied to the cache and then used. When the processor needs to write to the main memory it does so through cache memory.
223
Remote control car example
-RAM Contains instructions currently in use -ROM Contains the startup/bootstrap program -SSD Stores program data to operate the car
224
Types of secondary storage (2)
HDD - SSD
225
HDD(6)
Uses platters Platters divided into tracks Platter is spun Read write arm moves over platter Magnetic fields control magnetic dots of data Magnetic field determine binary value
226
SSD(2)
Non-volatile memory - Uses NAND flash memory
227
Why SSD>HDD(6)
No moving parts (more reliable in a portable device) Use less power Smaller (good for portable devices) Faster data access Run cooler Run quieter
228
Why HDD>SSD for webservers
Cheaper for large amounts of data Greater longevity for read/write functions Don’t need faster speed of SSD Expensive to change technology
229
Optical storage examples(3)
CD DVD Blu Ray
230
DVD(3)
Uses 1 spiral Red laser used to read/write Dual layer technology
231
DVD-RAM(2)
Uses concentric tracks - Allows read/write operations at same time
232
DVD-R Vs DVD-RAM(4)
DVD-R one spiral track DVD-RAM several concentric tracks DVD-RAM can be written to and read at same time;DVD only allows read DVD-R only allows read; DVD-RAM allows read and write DVD-RAM can have direct access because of concentric tracks
233
Blu Ray (2)
Uses blue laser - Uses single1.1mm polycarbonate disc
234
Blu Ray vs DVD
Larger Capacity Blue laser rather than red laser Single polycarbonate layer not two layers
235
Tape vs SSD in severs (5)
Greater longevity – more read and writes Speed is sufficient Cheaper per unit of data – better value No portability requirement Trusted technology
236
two more types of portable storage
portable HD USB flash drive
237
what does an operating system do? (6)
loads software Manages hardware Manages error handling Manages user accounts Allows multitasking Provides an interface
238
how does interrupt work (4)
A signal sent to the processor Requests processor time Processor stops to service interrupt Interrupts have different priorities
239
name 3 devices that use interrupt
Printer Keyboard Mouse
240
name the 3 buses
Control bus Address bus Data bus
241
what does a Control bus do (3)
Carries signals Directs the CPU Can be unidirectional or bidirectional
242
what does an Address bus (2)
Carries address locations of next item to be fetched - Data travels one way ( unidirectional)
243
what does a Data bus(2)
Carries data that is being processed - Data travels in both directions (bi-directional)
244
name the 5 registers used
PC; Program Counter MAR; Memory address register MDR; Memory data register CIR; Current instruction register ACC; Accumulator
245
role of the control unit (4)
Controls operation of memory, processor and input/output Fetches each instruction in turn Interprets instructions Sends signals to other components telling them what to do
246
role of the ALU (arithmetic logic unit) (3)
Carries out calculations Carries out logic operations Holds values during calculations in a register called an accumulator (ACC)
247
explain the stored program concept
Programs / instructions are stored in memory Data is stored in memory Instructions are fetched and executed one after another
248
Input Device =
A device that allows data to be entered into a system
249
Output Device=
A device that allows the user to see/hear data
250
explain how execute fetch system operates (6)
PC has address of next instruction to fetch PC copied to MAR via address bus Instruction copied from memory to MDR Instruction copied from MDR to the CIR Value in PC incremented to point at next instruction to fetch Address of instruction placed in MAR Instruction decoded and executed
251
how does a 2D Scanner work (5)
Paper placed on a glass panel Bright light illuminates the document (modern scanners use a xenon light) Scan head moves across the document Lens focuses on the document image Scanned image turned into electric form by the CCD
252
application of 2D scanner (2)
At airports to read passports - OCR software used to read text
253
application of 3D scanner (2)
CT Scanners - MRI Scanners
254
how does a barcode Scanner work (6)
Red laser shone at barcode Light is reflected back Sensors detect the light back Pattern converted to digital Microprocessor interprets the data Each digit made up of 2 dark and 2 white lines
255
advantage of using a barcode scanner to the company (3)
Easy to change prices on stock items No need to price every item on the shelf Allow for automatic stock control
256
advantage of using a barcode scanner to the customers (3)
Faster checkout Reduces errors Itemized bills
257
how does a QR code Scanner work (8)
QR Code scanned by camera Light reflected back Black squares reflect less than white squares Three large squares used to define alignment Squares data is decoded – each square has a binary value Processed by an app Links to website or document QR code can be saved and used again
258
QR Code v Barcode (4)
Barcode 1D QR is 2D QR code can contain more data QR code can be read from any angle QR codes faster to scan than bar codes
259
Benefits Concept Keyboard (3)
Fewer typing errors because one button is pressed to order an item Speeds up time to order because fewer buttons pressed May require less training
260
how does a microphone work (2)
A diaphragm vibrates producing an electric signal - Signal goes to a sound card and is converted into digital values
261
how does Voice recognition system work (4)
Users voice converted into digital signal Spoken words produce a digital pattern Software compares wave pattern to patterns stored in memory If they match person is identified
262
speech recognition=
Spoken words recognized and shown on screen
263
problems of speech recognition (2)
The software needs to be trained - Some dialects and accents can cause problems
264
application of speech recognition (2)
Cars - Siri
265
how does resistive touch screen work? (2)
Uses multiple layers of material that transmit electric current When top layer is touched into the lower layer current changes and location is found
266
advantage of resistive touch screen (2)
Cheap to make - Can use when wearing a glove
267
how does Capacitive touch screen work (4)
Conductive layer Current flows from 4 corners – electric field created Sensors monitor field When screen is touched charge transferred to finger - current changes and location is calculated
268
disadvantage of resistive touch screen (3)
Poor in sunlight Easily scratched Doesn’t allow multi touch
269
advantage of capacitive touch screen (3)
Good in sunlight Durable Allows multi touch
270
disadvantage of capacitive touch screen (2)
Screen can crack on impact - Can’t use while wearing gloves
271
how does infra red work? (2)
1. Invisible grid of infra-red beams on screen 2. When screen is touched beam is broken and location is calculated
272
advantage of infra red (3)
Durable Allows multi touch Can use with gloves
273
disadvantage of infra red (3)
Expensive to make Screen can crack on impact Sensitive to dirt
274
types of sensors (6)
1. Temperature Aircon, central heating 2. Motion Detects if an infra-red beam has been broken and sends a signal to the microprocessor 3. Pressure Detects a change in pressure and receives current if a circuit is created sending a signal to the microprocessor 4. pH 5. Light 6. Magnetic fields 7.Anti-lock brakes on a car
275
examples of Monitoring Applications (3)
Burglar Alarm Street Lights ABS Brakes
276
Control Systems Process (7)
Sensor detects input (Name the sensor) Analogue data converted to digital Signal sent to microprocessor Microprocessor compares signal to stored value If value outside range signal sent to device Actuator used to operate device Process is in a continuous loop
277
Printers (2)
Interrupt - Signal sent to computer about no paper - Buffer – Area of memory used to temporarily store data being sent to the printer
278
Types of Printer (3)
Laser Inkjet 3D
279
Inkjet (8)
Used for low quantities of documents Used for photographs - Uses liquid ink cartridges - Uses thermal bubble - Rollers used to move the paper - Uses a moving print head - Sprays ink onto the paper - Different colour inks are mixed to create required colours
280
Laser (5)
Used for high volume quality output User toner cartridges Uses charged print drum Uses static electric charges Toner is fused to the paper
281
3D(4)
Used to make physical model from blueprint Used to create physical model from CAD Uses resin Solid is built up in thin layers Uses inkjet technology with a moving head
282
Binder 3D printing (3)
Similar to direct but uses two passes 1st pass sprays dry powder 2nd pass sprays a binder (type of glue)
283
2D & 3D Cutters(1)
-Very complex designs can be made as the cutters are controlled by computers
284
Speakers & Headphones(3)
Sound produced by passing digital data through a digital to analogue converter (DAC) then through an amplifier Sound produced by voltage differences vibrating a cone Rate with which DAC can translate the digital signals is know as sampling rate
285
LCD & LED Screens Advantages over CRT(5)
Brighter image Higher resolution Thinner screen Uses less power Last longer
286
OLED advantages(6)
Organic layers are thinner, lighter and more flexible OLED layers can be made from plastic so are lighter Brighter than LED No backlighting required so use less power Can be made into large thin sheets for advertising boards Very large field of view
287
DLP projectors (4)
Uses millions of micro mirrors on a DLP chip Micro mirrors can switch on/off thousands of times a second Bright white light passes through colour filter on its way to the DLP chip Light split into primary colours RGB
288
LCD projectors (6)
Older technology than DLP Beam of light generated by a bulb Light sent to group of chromatic-coated mirrors that reflect the light back at different wavelengths corresponding to RGB Three different light components pass through three LCD screens Images are then combined using a prism to create full colour image Finally image passes through projector lens onto a screen
289
What is an ISP?
a company that provides the user with access to the internet - usually with a monthly fee gives a user an account and email address
290
What is a MAC address?
uniquely idenitifies a devic connected to the internet - the MAC address does not change but can be LAA or UAA
291
Define Operating System
the software running in the background of a computer system - it manages many of the basic functions
292
What is an interrupt?
a signal sent from a device (or other software) to the processor requesting its attention
293
What is a buffer?
a temporary memory area in a device
294
Define computer architecture
how a computer system is designed
295
What do buses do?
buses move data around the computer and also send out control signals to synchronise the internal operations
296
What are registers?
high-speed storage areas within the computer
297
What is a memory unit made up of?
it is made up of addresses and contents
298
What is a control unit?
it controls the operation of the memory, processor and input/output devices
299
Give 5 examples of operations/tasks Operating Systems do
human-computer interface (HCI) multitasking multiprogramming batch processing error handling load/run applications management of user accounts file utilities processor management memory management real-time processing interrupt handling security input/output control
300
What are examples of devices that do not require an operating system?
ovens washing machines
301
Why do some devices not need an operating system?
they carry out simple, unchanging tasks which are initiated by a user pressing a button
302
What do interrupts cause the processor to do?
temporarily stop what it is doing and service the interrupt
303
Why are buffers used?
to compensate for the slower operating speed of peripherals when compared to a processor
304
What do buffers allow processors to do?
to carry on with other tasks
305
What is an example where buffers are used?
printers music/video streaming
306
What is the von neumann architecture?
a concept that holds programs and data in memory data moves between the memory unit and processor between processor, memory unit and input/output devices
307
What does an address bus do?
carries signals relating to addresses between the processor and memory uni-directional
308
What does a data bus do?
sends data between the processor, memory unit and the input/output devices bi-directional
309
What does a control bus do?
carries signals relating to control and coordination of all activities within the computer, it can be uni-directional or bi-directional due to internal connections
310
Where must data be represented before it is processed?
in registers
311
What are 5 different types of registers in the von neumann architecture?
Memory address register (MAR) Memory data register (MDR) Arithmetic and Logic Unit (ALU) Program counter (PC) Current Instruction Register (CIR)
312
What does a control unit do?
read instructions interprets instructions sends out signals along control bus to synchronise all computer components
313
What does the fetch part of the fetch execute cycle entail?
the next instructions are fetched from the memory address stored in the PC this is then stored in the CIR the PC is incremented by so the next instruction can be processed
314
What does the execute part of the fetch execute cycle entail?
the decoded instruction is then passed as a set of control signals to the appropriate components of the computer system
315
What is the Input-Process-Output Model?
It is an abstract way of describing the structure of a system or algorithm. An input is taken, processed, and results in an output. It has the practicality to standardize inputs and outputs, leaving the process unimportant. input → process → output
315
What is the extension of the IPO Model?
A feedback loop is added from output to input, and storage is added to the process. The storage can be used as a cache.
316
What is the CPU?
It is a central procession unit and controls the manipulation of data. It uses data to perform operations. It includes: ALU CU Registers
317
What are CPU cores?
A core is a set of CU, ALU, and registers. Some CPUs have multiple cores, which means they can process instructions much more quickly.
318
What is done by the MDR?
It stores the current data needed to carry out instructions.
319
What is the ALU?
It is the arithmetic logic unit, where mathematical and logical calculations are done.
320
What is the CU?
It is the Control Unit, which controls the activities done by the CPU
321
What are Registers?
They are quick, small stores of data within the CPU.
322
What is the Von Neumann Architecture?
It contains three major characteristics: The Main Memory Stores Binary Values The CPU Inputs and Outputs
323
What is the Fetch-Decode-Execute Cycle?
Fetch: The Address of the next instruction is copied from the PC into the MAR The PC is incremented by 1 Decode: The CU obtains the address of the current instruction from the MAR via the RAM The RAM returns the data to the MDR via the data bus Execute: The data from the MDR is copied into the CIR and decoded by the ALU which results are stored in the ACC
324
What are the 5 Registers?
Memory Data Register Memory Address Register Program Counter Current Instruction Register Accumulator
325
What is done by the MAR?
The MAR stores the address of the current data that the processor requires.
326
What affects a CPU’s Speed?
The number of cores The Cache Size The Clock Speed
327
What is done by the PC?
The Program Counter stores the address of the next instruction, and it increments once the address is copied into the MAR.
328
What is done by the AC?
The accumulator stores mathematical and logic results being transferred from or to the memory unit.
329
What is done by the CIR?
The Current Instruction Register contains the current instruction which is being carried out.
330
Why do computers need a clock?
The clock provides timing signals to synchronize the circuits. CPUs are designed to operate at their respective clock speeds, the faster the clock speed the faster the CPU. The faster the clock speed, the faster the fetch-execute-decode cycle.
331
What is Clock Speed?
The Clock Speed refers to the amount of electrical pulses that the clock inside the CPU can produce every second.
332
What is the Main Memory (Primary Storage)?
It is what is directly accessible by the CPU and includes RAM, ROM, and Cache.
333
What in included in the Main Memory?
It is memory directly accessible by the CPU, which includes RAM, ROM, and Cache - although predominantly it refers to the RAM.
334
What are the two kinds of memory?
Volatile and Non-Volatile. Volatile Memory is temporary and lost when power is, whilst Non-Volatile memory retains data when power is lost. Memory is normally Volatile, besides ROM. Storage is Non-Volatile
335
What is the RAM?
Random Access Memory is RAM. Ram has quick read/write times. It loads open programs and operating system data currently in use. Essentially it stores the data of what is currently being used.
336
What is ROM?
Read-only memory is Non-Volatile, and can only be read and cannot be changed. It contains essential programs, like the programs used to boot the computer.
337
What is Cache Memory?
It is Volatile, and stores copies of frequently used data. CPU Cache sits between the CPU and RAM and is checked before RAM in the fetch phase. Because it stores commonly used data, it is placed much closer to the CPU, although browsers and storage may also have caches.
338
What is Virtual Memory?
It is a temporary memory, it is a memory management procedure used when the RAM is full. It is created from secondary storage that is temporarily converted into volatile memory. Data from non-current processes are sent as pages from the RAM to the Virtual Memory, and it is much slower.
339
What is Flash Memory?
It is Non-Volatile, a part of SSD (Solid-State Memory; non-mechanical). It is more reliable and durable, but can only be overwritten a finite amount of times.
340
What are the Buses(Connections)?
Buses carry data around the computer, the names are representative of the data they carry. They are a collection of wires through which data is transmitted, and they are: Data Bus Address Bus Control Bus (Instructions)
341
Which directions can the buses go?
CPU → Address Bus → RAM (UniDirectional) CPU ←→ Data Bus ←→ RAM (Bidirectional) CPU ←→ Control Bus ←→ RAM (Bidirectional)
342
What is the Secondary Storage?
It is storage not directly connected to the CPU and is Non-Volatile.
343
What are the keywords for Secondary Storage?
Portability Durability Reliability Cost Capacity Speed
344
What is Optical Storage?
It is storage stored through pits and lands. Data is written via laser to burn pits through the disks, light is then shone on the disks in which the reflection of light is used to read data. It includes: CD DVD Blu-Ray
345
What are the advantages and disadvantages of Optical Storage?
Advantages: Good Portability Can be Rewritten Disadvantages: Small Capacity Easily Damaged
346
What is Magnetic Storage?
Magnetic Storage uses read/write heads that contain electromagnets. Parts of the disc are magnetized (1) or demagnetized (0) - and the heads read this.
347
What is Solid-State Storage?
It is a form of flash memory, so it is non-mechanical. Electrons are stored in transistors and capacitors, in which data is stored. When it is connected to power, these electrons ‘flash’ into the device.
348
What are the Advantages and Disadvantages of Magnetic Storage?
Advantages: Cheaper Larger Storage Disadvantages: Easily Broken Noisy and generates heat
349
What are the Advantages and Disadvantages of Solid-State Storage?
Advantages: Much Faster Reliable because non-mechanical silent portable don’t produce heat Disadvantages: Expensive Degrades over multiple read-write cycles
350
What is Cloud Storage?
Cloud Storage is data stored on multiple servers, in remote locations. Servers use magnetic/solid-state storage. It operates through a web-based API.
351
What are the Advantages and Disadvantages of Cloud Storage?
Advantages: Easily Accessible anywhere with an internet connection Can share files with other people easily Disadvantages: If no internet, no access Must trust Provider Can be expensive
352
What are Embedded Systems?
They are special-purpose computers that perform very specific tasks and aren’t easily programmed. They include: Dishwashers Heating Systems Microwaves Calculators
353
What are Logic Statements?
Logic Statements can be evaluated as either true or false.
354
What is a Truth Table?
A Truth Table is a method of representing every possible output based off on the inputs to a Boolean Expression.
355
What are the Logical Operators?
AND NOT OR NAND NOR
356
What is a NOT gate?
Not Reverses an Input. Ā = B 1 → 0 0 → 1
357
What is an OR gate?
An or gate returns true if either conditions are true, aka if a 1 is present. A V B = C / A + B = Q 1 & 1 → 1 1 & 0 → 1 0 & 0 → 0
358
What is an AND gate?
AND gates are the opposite of OR gates, it returns true if both values are true. 1 & 0 → 0 0 & 0 → 0 1 & 1 → 1
359
describe 2D scanner
The user places the document face down on the glass Light moves across document Reflected light is captured Uses mirrors and lenses Captured image is converted into a digital file Produces a 2D digital image
360
describe 3D scanner
Scanners shines a laser (or light) over the surface of a 3D object Records measurements of the geometry/dimensions of the object Measurements are converted to digital file Produces a 3D digital model this could be used in CAD
361
describe barcode scanner operation
Shines light / (red) laser at barcode Light is called an illuminator Light is reflected back White lines reflect light Black lines reflect less light/absorbs light Sensors / photoelectric cells detect the light Different reflections / bars will give different binary values pattern converted to digital values A microprocessor interprets the data
362
how barcode scanner is applied
barcode identifies a (unique) product barcode can be used to look up product (in a database) data about stock levels can be stored on a system stock can be automatically deducted from the system can check stock is below a certain level // check stock level automatic re-order automatically update new stock level to locate if an item of stock is available in another location
363
advantages of barcode scanner
To management: much easier and faster to change prices on stock items no need to price every stock item on the shelves (this reduces time and cost to the management) allows for automatic stock control possible to check customer buying habits more easily by linking barcodes to loyalty cards. To customers less errors faster checkout
364
describe QR code operation
quick response code scans the QR code with the mobile device Black squares reflect light different to white Corner squares are used for alignment App is used to read/interpret/decode the QR code converts to digital data links to a website/opens a document can store the QR code to refer to again for the information
365
differences between QR code and barcode
barcode 1D and QR code 2D barcodes contain vertical lines and QR codes contain ‘squares’ QR code can hold more data than a barcode QR code can be read from any angle, some barcode readers have to be lined up with the barcode QR codes are faster to scan than barcodes barcodes are frequently used at checkouts while QR codes are used for advertising
366
operation of digital camera
The camera will break up what it sees through its lens into a grid of pixels Each pixel is given a binary value – Pixels form a grid (to create the image) Each pixel has a color Pixels are stored in sequence (in a file) A shutter will open letting light onto a CCD sensor that is at the back of the lens This information is interpreted as digital information and stored in the cameras memory.
367
operation of keyboard
circuit board present at base of keys A key is pressed that presses a switch When a key is pressed it changes the current in a circuit The location of the keypress is calculated An index of characters is searched to find the corresponding keypress
368
operation of microphone
Converts sound into an electrical signal/voltage used for voice recognition systems used for computer interpreting words being said
369
operation of interactive whiteboard
allows a user to write on a surface using a pen, the text and drawings can then be captured and stored for later use.
370
types of touchscreens
resistive touchscreens capacitive touchscreens infrared touchscreens
371
describe operation of resistive touchscreen
Screen has two / multiple layers User presses on top layer Top layer connects to bottom layer creating a circuit Calculation is carried out on where layers are connected signals interpreted by microprocessor to determine location
372
describe operation of capacitive touchscreen
is made up up of layers of glass current sent/flows out from all 4 corners of the screen sensors are used to read the electric field when finger/stylus touches screen, charge transferred to user and current changes the location of “touch” is calculated
373
describe operation of infrared touchscreen
an “invisible” grid on the screen sensors detect where the screen has been touched through a break in an infrared beam(s) − the position where the screen touched is calculated needs a warm object to carry out operations heat sensitive
373
features of resistive touchscreen
This touch screen can be used whilst wearing gloves doesnt have multi touch capabilities it is cheaper than others visibility in sunlight poor screen wears out/scratches
374
features of capacitive touchscreen
has quick response time good visibility in sunlight This touch screen has multi-touch capabilities screen (glass) will shatter/break/crack (on impact) (very) durable surface This touch screen cannot be used whilst wearing gloves
375
what are sensors
A sensor is a hardware device that will take measurement of physical properties like temperature, pressure or acidity.
376
types of sensors
Gas Infra-red Light Temperature Pressure Moisture / Humidity Acoustic PH Magnetic Field
377
stupid sensor microprocessor question
Suitable sensor (motion/infra-red) Data converted (from analogue) to digital (using ADC) Data sent to microprocessor Data is compared to stored value/range if data matches/out of range action taken nothing could happen Continuous loop/process
378
describe operation of inkjet printer
Rollers are used to move the paper through the printer Nozzles spray ink onto the paper print head are moved across the paper (to distribute the ink) Different colour inks are mixed to create required colours Technology could be piezoelectric Technology could be thermal bubble Ink is heated evaporates into a bubble Electrical current is applied to a crystal which forces a drop of ink through nozzle
379
what is the actual process of printing
data sent from computer to printer The printer driver ensures that the data is in a format that the printer can understand printer driver ensures printer is ready to print Data is then sent to the printer and stored temporarily in the printer buffer then whichever printer it is carries on process
380
differences between inkjet and laser printer
inkjet uses liquid ink/ laser uses powdered ink and toner cartridge inkjet uses thermal bubble and piezoelectric technology while laser printer uses a charged printing drum inkjet sprays ink in droplets on the paper while laser printer makes use of static electricity charges inkjet uses a moving print head while laser printer does not use a moving printing head inkjet is suitable for low volume (high quality) output while laser printer is suitable for high volume and quality output e.g a photo/ e.g leaflets
381
describe operation of lazer printer
makes use of toner/powder ink uses (positive and negative) charged drums // rotating drum uses static charge no moving head faster at printing high volume output/high speed producing flyers/leaflets/magazine
382
Describe operation of 3D printer
This is an output device that creates an object by building layer upon layer of material by additive manufacturing Produces output using materials such as plastic and resin uses prototype from CAD to create physical model
383
types of cutters and operation
Uses a high powered laser to create the output Creates 3D prototypes Outputs a physical 3D product
384
features of LED
reaches maximum brightness quickly colours are vivid good colour definition/contrast can be achieved screens can be thinner/thin more reliable as LED’s are long lasting consume very little/less energy
385
describe the operation of a LED Display screen
It is a flat panel display It creates images using red, green and blue diodes It is also used in mobile devices such as smartphones and tablets
386
OLED
has 6 layers Glass/plastic top layer Cathode layer Emissive layer Conductive layer Anode Glass/plastic bottom layer
387
define primary storage
Memory that is directly accessed by the CPU An example is RAM / ROM RAM stores programs and data that are currently in use and ROM stores boot-up instructions RAM is volatile and ROM is non volatile Faster than secondary storage Is internal to computer
388
what is secondary storage
non-volatile storage that isn't directly accessed by CPU Stores data / files that can be accessed at a later stage An example is HDD / SSD internal to the computer has a slower access speed
389
what is offline storage
Non-volatile storage Off-line storage is storage that is removable from a computer/device/ portable An example of off-line storage would be CD/DVD/USB stick/SD card Used to store files as a backup
390
features of RAM
random access memory stores instructions currently in use It is volatile It is temporary Has a larger capacity than ROM Data can be read and written from (edited)
391
different types of RAM and explanations
DRAM ‐ needs to be constantly refreshed to retain the data; it uses millions of transistors and capacitors. SRAM ‐ doesn’t need to be constantly refreshed to retain its data; it uses flip flops.
392
features of ROM
read only memory stores boot instructions / BIOS It is non-volatile It is permanent Hs lower capacity than RAM Data can only be read from
393
features of HDD
Hard disk drive stores files / applications Most common method to stored data on pc It uses magnetic properties to store data It has moving parts It is non-volatile storage
394
advantages of HDD
It is cheap Can store large amounts of data Relatively fast write speed Great longevity
395
features of SSD
solid state drive Stores files/ applications It has no moving parts It is non-volatile storage It uses flash memory to store data It has a limited number of read/write cycles Sometimes uses EEPROM technology Uses NAND chips When data is stored the transistor is converted from 1 to 0
396
advantages of SSD
More durable (no moving parts) Very fast (no moving parts) Faster start up time (No Latency) ​Less noise less heat Smaller portable
397
features of CD
compact disc Optical storage device Single layer Red laser used to read data Single track Data stored in pits and bumps Smallest storage capacity
398
features of DVD
Digital Versatile Disc Optical storage device Dual layering Red laser used to read data Stores data in spiral track Single track
399
features of DVD-RAM
uses concentric tracks allows for editing greater longetivity
400
features of blu-ray
optical storage device Dual layering Read using blue laser Concentric track Largest storage capacity
401
differences between hdd and ssd
Differences in HDD AND SSD * HDD has moving parts but SSD does not * HDD uses magnetic storage whereas SSD uses flash memory * HDD is slower to access data than SSD * HDD will create noise/heat, whereas SSD runs quieter/cooler * HDD has higher power consumption than SSD * HDD have more read-write cycles whereas SDD has limited number of read-write cycles * HDD larger in physical size/heavier than SSD * HDD is normally cheaper for the same capacity of storage as SSD * HDD is available in a larger storage capacity than SSD
402
Types of storage devices
Solid state storage optical media storage magnetic storage
403
explain how solid state storage works
It stores data electronically and does not have any moving parts. It is made of silicon chips. It uses less power and produces less heat. It can be found in three types i.e. drives, cards, and modules. The transfer of data is much faster because of no mechanical parts.
404
explain how optical media works
laser is used (Laser beams) shines onto surface of the disk It is rotated (at a constant speed) to be read Data is represented on the surface using pits and lands Pits and lands represent binary values Pits reflect light back differently (to the area in between/land) Optical device can determine the binary value from the light reflection
405
explain how magnetic storage works
Storage device has platters Platters/disk divided into tracks Storage platter / disk is spun Has a read/write arm that moves across storage media Read/writes data using electromagnets Uses magnetic fields to control magnetic dots of data Magnetic field determines binary value its cheap with high longevity
406
explain how flash memory works
Uses solid state storage Connect directly to computer through usb port Small and lightweight NAND chips are used
407
What is the definition of primary storage and what are the three types?
Any storage directly accessed by the CPU RAM, ROM and Registers/Cache
408
Why is primary storage (PS) needed?
It’s much faster to access data from PS than SS
409
What are the characteristics of RAM? Random Access Memory
Volatile - All data lost when computer turns off The computer’s working memory Can be written to, and read from
410
What are the characteristics of ROM?
Non-volatile - data permanently on disk Used for computer’s start-up instructions (Bootstrap) Read-only - can’t be changed
411
Why is secondary storage necessary?
Needed for longer term storage of data because it is non-volatile. External devices are also portable and can have large capacities
412
What are the benefits of an SSD compared to other forms of secondary storage? Solid State Drive
Require little power and generate little heat Lack of moving parts, therefore small, reliable and portable Much faster than hard disks, and don’t require cooling equipment
413
What are the benefits of an HDD compared to SSDs? Hard Disk Drive
Cheaper than SSDs
414
What are the uses of CDs and DVDs?
Short/medium term storage of music/video Can last 10-25 years
415
How do SSDs work?
Microscopic transistors act as control gates and floating gates to control the flow of the current Current flowing = 1 No current = 0 Use NAND or NOR gates
416
How does an optical drive work? CD / DVD / Blu-Ray
A laser reflects light off the surface of a disk with a spiral track of lands and pits When the laser hits the the curved start/end of a pit, the light is refracted and a 1 is recorded When light is reflected either from the land or pit, a 0 is recorded
417
Describe the operation of a hard disk drive
Hard disks are magnetic surfaces divided into tracks and sectors They rotate around a spindle and a read/write head is moved onto the correct track Particles on the magnetic disk are polarised (north = 0, south = 1) The read/write head must be parked once operation is finished, otherwise it will break
418
When is virtual memory used?
When there isn’t enough space in RAM for all of the programs and data that are being used
419
Describe the process of virtual memory
Small section of hard drive reserved to act like RAM When program in VM is needed, it is swapped with something in RAM This could cause your computer to slow down as it is a further distance to get to hard drive than to RAM
420
What is cloud storage?
Remote file storage on someone else’s servers. Often done with major third-party companies.
421
What is important to remember about cloud storage?
Physical devices are still needed to store data in cloud storage
422
What are the advantages of cloud storage compared to local storage?
No need to purchase local storage devices Files are automatically backed up without user input Remote access to your files from any Internet connected device, anywhere in the world Enables easier file-sharing/collaboration More environmentally friendly (One cloud storage server > millions of individual servers
423
What are the disadvantages of cloud storage compared to local storage?
May need to commit to annual subscription Backup/restoring could be slower than local storage Security of the data will be managed by a third party (outside of user’s control) Need an Internet connection to access data
424
Suggest reasons why cloud storage has become increasingly popular.
Network security has improved, so users more comfortable with risks assosicated with cloud storage Large capacity data storage costs have improved 4G and 5G networks have enbaled much faster browsing/download speeds to access data
425
What is Von Neumann architecture?
A computer whose programs and data it uses is stored in the same memory
426
Describe the fetch-execute cycle
An instruction is brought from the RAM. It is then decoded by the CU to find out what to do with the instruction The instruction is then carried out
427
What is the purpose of the CPU? Central Processing Unit
To continuously process instructions and data that are inputted by repeatedly carrying-out the FE cycle
428
What is the function of the ALU?
Carries out the mathematical and logical operations (e.g. AND, OR, NOT) and compares values held in registers
429
What is the function of the CU?
Coordinates all of the CPU’s actions in the FE cycle Decodes all instructions Sends and receives control signals to fetch and write data
430
What is the function of the clock?
It regulates the speed and timing of all signals and computer functions
431
What are the registers in the CPU?
PC MAR MDR ACC CIR
432
What is the purpose of the registers?
They are very small, fast memory locations that temporarily store memory addresses, instructions and data
433
What does the CIR do?
Holds the instruction currently being executed
434
What does the MDR do?
Holds data or a program instruction after it is stored/fetched from memory
435
What does the ACC do?
Where the ALU stores its results (from its operations)
436
What is the PC?
Holds the memory address of the next instruction to be executed
437
What are the seven steps in the FE cycle?
The memory address held in the PC is copied into the MAR The PC is incremented. It now holds the address of the next instruction The processor sends a signal across the address bus to the memory address held in the MAR The instruction/data held in that memory address is sent along the data bus to the MDR The instruction/data in the MDR is copied into the CIR The instruction/date held in the CIR is decoded and then executed (results held in ACC) The process repeats
438
What three factors affect CPU performance?
Clock speed Cache size Number of cores
439
How does clock speed affect CPU performance?
One tick of the clock counts as one FE cycle. So the faster the clock, the more ticks there are, the more FE cycles there are
440
How does the number of cores affect CPU performance?
A CPU can contain multiple cores, with each core processing one operation per clock cycle A dual/quad-core can perform two/four operations simultaneously therefore more clock cycles
441
Why might a computer with a dual-core not necessarily be faster than a single-cored computer?
If the software used is only written for one core, additional cores may be redundant
442
What is cache memory?
It is a small amount of very fast memory that can be accessed faster than RAM RAM is further away from the processor than cache
443
What are the benefits of cache?
Makes the CPU more efficient as less time is spent waiting for data to be transferred
444
Which is (theoretically) faster? 1) A dual-core processor running at 3.2GHz with 4MB of cache memory 2) A dual-core processor running at 2.7GHz with 4MB of cache memory 3) A single-core processor running at 3.2GHz with 2MB of cache memory 4) A quad-core processor running at 1.5GHz with 8MB of cache memory
1) 2 x 3.2 GHz = 6.4 GHz + 4MB 2) 2 x 2.7 = 5.4GHz + 4MB 3) 1 x 3.2 GHZ = 3.2GHZ + 2MB 4) 4 x 1.5GHZ = 6GHz + 8MB Therefore 1 is fastest But 4 is slightly slower with more cache/cores so it could be faster
445
What is an embedded system?
Used to control the function of electronic devices that don’t need a full OS since they perform specific tasks. Their input is also frequently controlled by a switch/button
446
What are some examples of embedded systems?
Air conditioning, microwaves, vending machines, lighting systems
447
What is an NIC?
Hardware required to be able to access any network Can be wireless or use an Ethernet cable to connect
448
What is a MAC address?
A unique, hexadecimal, static ID number assigned to every NIC used in network devices Static = It does not change
449
What is a MAC address format?
12 character (6 byte) hexadecimal address e.g. 30-A5-BD-6F-CF-63
450
What do the first three bytes of a MAC address tell us?
Makes up the unique manufacturer code 30-A5-BD-6F-CF-63
451
What do the last three bytes of a MAC address tell us?
Makes up the unique serial code of that specific device 30-A5-BD-6F-CF-63
452
What is an IP address?
A static or dynamic address allocated to each device. It can be assigned by a router Internet Protocol
453
What is a router?
A device for connecting network-connected devices together to form a network They collect knowledge of available routes to transmit data and then determine the most suitable route for sending data.
454
Where do routers ‘sit’ in a network?
Between local networks and the Internet to join them together with the public IP address from the Internet and the private IP address from the local network
455
What is an ISP?
Assigns the IP address for your network Internet Service Provider?
456
What is an input device?
Any device that allows you to pass information from the outside world into a computer system
457
How does a barcode scanner work?
It shines a red laser at a barcode to illuminate it. White lines reflect the light back, whereas the black lines absorb the light The strength of reflection is interpreted by a microprocessor and then converted into a binary value
458
When is a barcode scanner used?
Scanning goods at checkouts Checking library books in and out Tracking packages out for delivery
459
Why are barcode scanners needed?
Faster checkout queues Reduces errors caused by manual input More detailed tracking informaiton Automatic stock control
460
How does a digital camera work?
Light enters the camera and falls onto a sensor Each pixel in the sensor measures the light intensity A microprocessor converts these values into digital data that represents colour values
461
When is a digital camera used?
Integrated into most smartphones Proffesional photography Security and surveillance systems
462
Why are digital cameras needed?
Largely replaced traditional, film-based cameras Instant photographs (i.e. no development needed) Digital photos can easily be transmitted via WiFi, Bluetooth etc Embedded software can adjust photos
463
How does a keyboard work?
Each character on a keyboard has a corresponding character set value Key presses are converted into a digital signal; this is what the computer interprets
464
When is a keyboard used?
Built into laptops Connected to most desktop computers via USB/wireless Tablets and smartphones use virtual keyboards
465
Why is a keyboard needed?
One of the most common forms of text-based data input
466
How does a microphone work?
Vibrations caused by sound waves cause a coil to move around a magnet, resulting in electrical field changes These changes are converted by a microprocessor and an ADC into a digital representation of the sound
467
When is a microphone used?
Music recordings Dictation Radio, TV and films Online communication
468
Why is a microphone needed?
Captures any real-world sound and stores it as a digital approximation Digital sounds can be modified
469
Why does an optical mouse work?
Uses a red LED and a sensor to determine the movement of the mouse relative to the surface beneath A microprocessor analyses both the speed and distance of the movement and it replicates this on-screen via a virtual cursor
470
Why is an optical mouse used?
Navigation and interaction with almost all elements of a graphical user interface (GUI)
471
Why is an optical mouse needed?
Easy interaction with applications and other GUI elements More reliable as there are no moving parts, unlike mechanical mice No need for a special surface (i.e. mouse mat)
472
How does a QR code scanner work?
Reads using a camera (usually from a mobile device) An app processes the image and converts the squares into readable data
473
When is a QR code used?
Advertising products Quick links to websites so don’t need to type in a URL Sharing contact details instantly
474
Why are QR codes needed?
Holds far more information than a traditional barcode Barcode holds: 30 digits QR code holds: 4296 characters (7089 digits)
475
How does a resistive touchscreen work?
Consists of two conductive layers The two layers are separated by an insulating layer (gap/inert gas) When the screen is pressed, the two layers contact and complete the circuit
476
What are the advantages of a resistive touchscreen?
Cheap to produce Can be activated with any object (gloved finger, stylus etc) Very resistant to surface contaminants
477
What is a disadvantage of a resistive touchscreen?
Lower image clarity and precision compared to other types
478
How does a capacitive touchscreen work?
LEDs shine infrared light across a screen, forming a matrix When the screen is touched the beams are interrupted
479
How does a capacitive touchscreen work?
Composed of a protective layer, transparent conductive layer, glass substrate Touching the screen with a barefinger/stylus changes the electrostatic field of the conductive layer
480
When are resistive touchscreens used?
Cash machines Information kiosks Medical equipment
481
When are capacitive touchscreens used?
Tablets Laptops Smartphones
482
What are the advantages of a capacitive touchscreen?
Excellent image clarity Very high precision Durable screen Allows for multiple touches at the same time
483
What is a disadvantage of a capacitive touchscreen?
Requires a bare finger or capacitive stylus for activation
484
How does an infrared touchscreen work?
LEDs shine infrared light across a screen, forming a matrix When the screen is touched the beams are interrupted
485
When is an infrared touchscreen used?
Very large-scale commercial displays Information kiosks Medical equipment
486
What are the advantages of an infrared touchscreen?
Excellent image quality Unlimited touch-life Scales very well
487
What is a disadvantage of an infrared touchscreen?
Sensitive to interference from ambient light, water, snow etc.
488
How does a 2D (flatbed) scanner work?
They shine a bright line across a document to measure the levels of reflected light and create a digital version of it
489
When is a 2D (flatbed) scanner used?
Creating digital versions of documents and photographs Reading passports at airports Photocopiers
490
Why are 2D (flatbed) scanners needed?
A simple, cheap and effective way of generating a digital representation of 2D objects for further manipulation
491
How do 3D scanners work?
They shine a laser over the surface of an object to record its geometry and dimensions and create a digital model of it
492
When are 3D scanners used?
Creating 3D models for use with CAD software Dentistry Product development Quality inspection Research
493
Why are 3D scanners needed?
A simple, cheap and effective way of generating a digital representation of 3D objects for further manipulation
494
What does an actuator do?
It carries out physical movements
495
What are actuators used for?
Opening and closing an automatic door Turning a wheel Operating an aircraft’s wing flaps
496
Why is an actuator needed?
Used with sensors to control many kinds of mechanisms Translates digital signals into movement of physical objects
497
What does DLP stand for?
Digital Light Processing projector
498
How does a DLP projector work?
It is a matrix of millions of micro-mirrors on a small microchip White light is shone through a rotating colour filter to produce an image
499
What are DLP projectors used for?
Projecting a computer output onto a wall/whiteboard
500
What are the advantages of a DLP projector over a LCD projector?
Higher contrast and definition Smoother video quality Smaller, lighter and more portable
501
How does an LCD projector work?
Three mirror filters separate an image into red, blue and green wavelengths The three images are then combined to produce one full-colour image
502
What is an LCD projector used for?
Projecting a computer output onto a wall/whiteboard
503
What are the advantages of an LCD projector over a DLP projector
Cheaper Quieter Less power and heat output
504
How does an inkjet printer work?
Tiny droplets of ink are forced through a fine nozzle onto a sheet of paper
505
What is an inkjet printer used for?
Small-scale print jobs High-quality professional photos
506
What are the advantages of an inkjet printer?
They are small and compact They are excellent for high-quality colour photos
507
What is a disadvantage of an inkjet printer?
Paper can be damp/wrinkle after printing
508
How does a laser printer work?
The printer generates a mirror image of the printed page and draws the image onto a drum using a laser (creates negative charged areas) Toner (powdered, positively electrostatic ink) is attracted to the drum The toner is transferred to the paper and bonded using a heat roller
509
What are the advantages of a laser printer?
Fast and accurate for black and white documents Lower running costs per page
510
What are the disadvantages of a laser printer?
Colour printers and toner cartridges are expensive
511
How do speakers work?
A digital signal is sent through a DAC (digital to analogue converter) and then passed on to a speaker to create sound
512
How do 3D printers work?
It deposits laters of materials on top of each other to slowly build a 3D object
513
What are 3D printers useful for?
Inexpensive prosthetics Spare parts Rapid prototyping
514
Why are 3D printers useful?
Allows us to produce real-world models of virtual objects created using CAD software Can be used to design products that are more easily repairable
515
Define input device
Devices which are used to input data and instructions into a computer. Input devices allow us to enter raw data into a computer. The computer processes the data and then produces outputs that we can understand using an output device. Input devices can be manual or automatic.
516
How does a 2D scanner work and where may it be used?
Mechanically scans illuminated surface of paper document with a single row of hundreds of light sensors Scanner computer digitises analogue signals, processes and sends to computer Flatbed scanner – paper document places on glass ‘platen’. Saved as image OCR software can convert images into text data which can be edited by a word processor May be used in offices to scan documents
517
List some advantages and diadvantages of 2D scanners
Advantages: Flat-bed scanners are very accurate and can produce images with a far higher resolution than a digital camera Disadvantages: Can produce very large image files which need a lot of computer memory to view and edit
518
What is a 3D scanner, how does it work and where may it be used?
A 3D scanner is a device that analyses a real-world object or environment to collect data on its shape and possibly its appearance (i.e. colour). The collected data can then be used to construct digital three-dimensional models. Contact scanners probe object Non-contact scanners use light or radiation, detects reflection or radiation passed through objects May be used by architects to scan scale models of projects
519
List some advantages and disadvantages of 3D scanners
Advantages: industrial computed tomography scanning can be used to construct digital 3D models, applying non-destructive testing Disadvantages: many limitations in the kind of objects that can be digitized optical technologies encounter many difficulties with shiny, mirroring or transparent objects
520
How does a barcode scanner work and where may it be used?
Barcodes consist of short parallel lines in contrasting colours and different thicknesses Reflected laser light detects differences in lines Combination of scanner hardware & software Processor and decoding software in scanner ID codes used to look up description & price in database Used for identification of items Commonly used in shops to scan items or airports to scan boarding passes
521
List some advantages and disadvantages of barcode readers
Advantages: saves time (automatic inventory) are efficient in recording information durable Disadvantages: cannot read damaged or obscured barcodes
522
How does a digital camera work and where may it be used?
Grid of light sensors that pick up optical image Computer scans analogue signal, digitises data and displays on monitor screen When user presses shutter button, shutter opens to let in light Stores data as image file in memory
523
List some advantages and disadvantages of digital cameras
Advantages: No cost to purchase and process film Display acts as viewfinder No processing delay: can view and delete immediately Easier and quicker to edit Easily sent over network Disadvantages: Uses a lot of power Small handheld digital cameras cannot store many photos. A corrupted memory card may result in lost photos. Cost - top specification digital cameras can be far more expensive than their equivalent roll film cameras
524
How does a keyboard work and where may it be used?
A user enters values and commands into a computer by pressing keys on a keyboard A standard keyboard each key has a value printed on it Users of English usually type on a QWERTY keyboard, named from the first 6 letters on the first row A concept keyboard consists of rectangular grid of keys. A flat overlay sheet covers the keyboard. It has a suitable picture, symbol or word for each key. Often used in restaurants. A numeric keyboard: A rectangular block of keys with the numerals 0 to 9. Can be used for inputting PINs when we pay by credit card, on mobile phones, or on keyboards next to the QWERTY layout.
525
List some advantages and disadvantages of keyboards
Advantages: simple, familiar, reliable technology (typewriters used the same QWERTY layout) Disadvantages: It is slower as human operator takes more time in thinking and typing. Only one letter can be typed at a time. Slow compared with devices for automatic data capture. Prone to vandalism in public locations
526
How does a mouse work and where may it be used?
Allows user to point by moving a cursor User selects items by clicking switch buttons on mouse A mechanical mouse has a small ball underneath that can roll over a flat surface. The mouse detects and converts the rotations of the ball in two dimensions into digital signals. An optical mouse has no moving parts, detects movement by changes in reflected light Used with a graphical user interface (GUI)
527
List some advantages and disadvantages of using a mouse
Advantages: Fast method on inputting commands, feels natural Moves the cursor faster than the arrow keys of keyboard Disadvantages: Needs flat surface on which to operate, can be easily vandalised Hard to use by people with physical disabilities Not always suitable to carry around, especially with PCs Picks up dust and dirt easily - ball may become stuck Textual data can’t be input
528
How does a touch screen work and where may it be used?
Screen is sensitive to the touch of a finger or stylus Three types of systems to recognize touch: resistive, capacitive, and surface acoustic wave Resistive system consists of glass panel covered with a conductive and a resistive metallic layer. When the user touches the screen and the layers make contact the electric current running through the layers changes. The change in the electric field is used to calculate where the screen was touched. Capacitive system has a layer storing electrical charge placed on monitor’s glass panel. Charge is transferred to user’s finger, and the charge decrease is detected and used to calculate where the screen was touched. Surface acoustic wave system consists of two transducers (one receiving, one sending) placed along the x & y axes of the monitor’s glass panel, along with reflectors to reflect an electrical signal sent between the transducers. The receiving transducer can tell if the signal was disturbed by touch. Used in phones, portable gaming consoles, Point-Of-Sale terminals, tourist information kiosks and systems to find out about public transport.
529
List some advantages and disadvantages of touch screens
Advantages: Difficult to vandalize Don’t need separate keyboards or mice which can be stolen Can be made reasonably weatherproof Users need no previous computer knowledge to be able to use them, feels intuitive Less prone to malfunction due to dust and dirt Combines output device (screen) with input device so reduced space requirements Makes use of finger gestures, such as pinch to zoom Disadvantages: People with disabilities may find them difficult to use Not suitable for inputing large amounts of data Long periods of usage can be tiring Generally more expensive
530
How does a microphone work and where may it be used?
Converts sound vibrations into an analogue signal. Usually connect the microphone’s signal to the computers sound card with a cable Diaphragm in microphone vibrates with sound. This may move a magnet or coil that induces current to flow in the wire. Used in phones, webcams, and laptops for adding sound to a multimedia presentation, mixing music and video conferencing
531
List some advantages and disadvantages of microphones
Advantages: Voice recognition software can be used to convert your voice into text or to control menu options on a phone system Disadvantages: Stored audio files can take up a lot of memory Voice commands can be difficult to recognise by the software
532
What is a sensor, and why are they used?
A sensor is a device that produces an electrical signal in response to a stimulus. Detects or measures a physical property and usually sends the data to a computer which can then record, indicate, or otherwise respond to it Can collect data more frequently, accurately and reliably than a person Can collect data from places unsafe for humans, e.g. lava flows, nuclear reaction vessels
533
Describe how a light sensor can be used to input data into a computer system, and how it is used in real-life scenarios
Produces a signal that depends on the level of light falling on it. Can be used as an input to an automated system that controls a device’s level of light output, e.g. the brightness of headlights, streetlights, or screens.
534
Describe how a temperature sensor can be used to input data into a computer system, and how it is used in real-life scenarios
Produces a signal that depends on the temperature of its surroundings. The computer processes the digitized signal to display a measurement or to control an appliance. Used in electronic thermometers or thermometers in controlling heating systems in buildings including greenhouses and chemical reaction vessels.
535
Describe how a magnetic field sensor can be used to input data into a computer system, and how it is used in real-life scenarios
Produces a signal depending on the magnetic field surrounding it Can detect changes and disturbances in a magnetic field like flux, strength and direction. Rotation, angles, direction, presence and electrical current can all be monitored. Magnetic sensors are divided into two groups, those that measure the complete magnetic field and those that measure vector components of the field. The vector components are the individual points of the magnetic field. The techniques used to create these sensors involve various combinations of physics and electronics. Can be used to detect the earth’s magnetic field, or smaller magnetic fields Used for compassing in cell phones and handheld GPS receivers, as well as in vehicles. Also used in industrial processes and scientific measuring
536
Describe how a gas sensor can be used to input data into a computer system, and how it is used in real-life scenarios
Produces a signal depending on the concentration of a particular gas or vapour Used in breathalysers, environmental monitoring and chemical process control
537
Describe how a pressure sensor can be used to input data into a computer system, and how it is used in real-life scenarios
Produces a signal depending on the pressure to which it is exposed Used in blood pressure monitors, chemical reaction vessels and robots
538
Describe how a moisture sensor can be used to input data into a computer system, and how it is used in real-life scenarios
Produces a signal depending on how wet it its surroundings are Used in irrigation systems to measure water ocncentration in soil
539
Describe how a humidity sensor can be used to input data into a computer system, and how it is used in real-life scenarios
Produces a signal depending on the concentration of water vapour in the atmosphere Can be used in greenhouses, for controlling heating, ventilating and air conditioning systems, or for recording information for weather records
540
Describe how a pH/acidity/alkalinity sensor sensor can be used to input data into a computer system, and how it is used in real-life scenarios
The pH meter has a rod-like probe, usually made of glass, with a bulb at the bottom which contains the sensor. The probe produces different voltages at different pH levels; theoretically producing 0 volts at pH 7 (neutral), negative voltages at acid pH levels and positive voltages at alkaline pH levels. Used in chemical and pharmaceutical manufacturing, as well as in schools for lab experiments
541
Describe how a motion/infra-red sensor can be used to input data into a computer system, and how it is used in real-life scenarios
Produces signal depending on the level of infrared radiation falling on it Infrared radiation may be detected by temperature differences (using the thermoelectric effect), pyroelectricity (where materials are able to generate a temporary voltage depending on temperature), or changes in resistance. A change in an area’s infrared radiation is detected as movement. Used in alarm systems, remote controls, weather monitors and sensor-operated traffic lights.
542
Define output device
An output device is any piece of computer hardware equipment used to communicate the results of data processing carried out by an information processing system (such as a computer) which converts the electronically generated information into human-readable form Taken from Wikipedia LAWL
543
How does a inkjet printer work?
Uses a printhead to propel droplets of ink from fine nozzles onto paper Printhead passes left and right across paper while roller feeds paper forwards
544
List some advantages and disadvantages of inkjet printers
Advantages: Good colour production (good for printing pictures) Low purchase cost Disadvantages: Ink is expensive Water-soluble ink smudged when damp Slow output rate
545
How does a laser printer work?
Uses a laser scanning a drum to print with powdered ink, called toner Printer paces an even, negatively static charge on a photoconductive drum Laser beam scanned on the rotating drum causes negative charge to leak away Drum revolves past negatively charged toner supply which is attracted to the regions on the drum where no charge remains
546
List some advantages and disadvantages of laser printers
Advantages: High resolution and rate of output - useful when printing multiple copies of one sheet as the same pattern of negative charge is used Toner is not water-soluble, so does not get smudged when wet Toner is cheaper than inkjet printer ink Disadvantages: Expensive to buy Toner is toxic Colour production not as precise as inkjet printers
547
How does a 3D printer work?
Makes a three-dimensional solid object of any shape from a digital model. Some 3D printers use inkjet technology. Others use lasers to fuse granules of plastic, metals, ceramic or glass. It can also be done by successive layers of material being laid down in different shapes. Construction of a model can take anywhere from several hours to several days, depending on the method used and the size and complexity of the model.
548
List some advantages and disadvantages of 3D printers
Advantages: Can produce a wide variety of manufactured products, including customisable products and personal designs Rapid prototyping Fast manufacturing of printed products Even though the initial setup costs are higher, 3D printing is becoming cheaper than cheap labour in third world countries More Jobs: engineers to design and build 3D printers, technicians to maintain, use, and fix 3D printers Potential in medicine to print customisable human body parts or organs Disadvantages: Currently, 3D printers only manufacture products out of plastic, resin, certain metals, and ceramics. Printing of copyrighted products to create counterfeit items will become more common and nearly impossible to determine. Easy to print dangerous items such as guns or knives Currently, 3D printers are limited with the size of the products that they can create
549
How does a 2D cutter work and where may it be used?
Use laser to cut precise patterns in most materials Approx. 20mm limit for depth of the cut Used in industry, for example to cut a sheet of metal
550
List some advantages and disadvantages of 2D cutters
Advantages: Quick way to cut through many different materials Disadvantages: The laser cutter can only cut on a single flat face and does not recognize the other faces of an object like a 3D cutter
551
How does a 3D cutter work and where may it be used?
A three-dimensional laser cutter is like a regular laser cutter, except the laser is able to recognize all sides of a shape and not just the shape’s face. Can be used to make models of objects
552
List some advantages and disadvantages of 3D cutters
Advantages: Can cut many different types of materials, such as glass, crystal, metal and wood. Can be set to cut the inside of the material, allowing more complex shapes Disadvantages: Ordinary 3D cutters using a rastering motion do not allow for 3D shapes of the sort that have ledges or require undercutting, or any kind of cutting/machining that can’t be done from vertically above and perpendicular to the X-Y plane.
553
How do speakers and headphones work?
An electromagnet causes a diaphragm to vibrate depending on the electrical current. The diaphragm’s vibrations causes the air to vibrate, which produces sound Headphones and earphones are small versions of speakers designed to fit on or in your ear, used to prevent other people from hearing private content
554
What are actuators?
An output device used for controlling a system, though it does not always provide output directly to the user Usually paired with sensors that provide feedback to the control program Actuators can act to affect the real-world depending on the signal or reading received
555
What are flat panel display screens?
Very thin display screens Small, light and easy to fit on a table or mount on a wall The screens are backlit to make it easier to read Different types include: Liquid Crystal Display (LCD) Light-Emitting Diodes (LED)
556
How do Liquid Crystal Display (LCD) screens work and where may they be used?
Uses two sheets of material with a liquid crystal solution between them Monitor’s control program scans and sends signals to individual liquid crystal pixels to allow certain amounts of light and colour to pass through Used in some types of digital watches and PCs
557
List some advantages and disadvantages of LCD screens
Advantages: Sharp images Zero geometric distortion at the original resolution of the screen Bright images - best for brightly lit environments. Consume little electricity and produce little heat Immune to screen image burn-in Disadvantages: The colour and contrast from various viewing angles is inconsistent Poor colour production of black and very dark grays - not suitable in darker environments Motion blur is common With brightness from backlighting, imagery may appear flat Pixel-based display may be stuck on screen Fixed resolution Newer technology costs more
558
How does an LED screen work and where may it be used?
Stands for Light Emitting Diode A diode that glows when voltage is applied as the result of moving electrons Allows the flow of current in a single direction only Typically used outdoors in store signs, billboards or information screens
559
List some advantages and disadvantages of LED screens
Advantages: LEDs are much smaller than LCD fluorescent lamps so the screen itself can be made thinner and lighter — good for mobile phones LEDs are high-efficiency light sources, and low power consumption leads to significant energy savings Switch on rapidly, even when cold Disadvantages: The colour of white LEDs can be very inconsistent
560
How does an LCD projector work and where may it be used?
An LCD projector is a video projector used to display images, videos and computer data on a screen or other flat surface LCD projectors send light through a prism that separates light into three panels, red, green and blue components of the video signal The images stack on each other on the screen to produce the image Used in home theatres, school classrooms, etc.
561
List some advantages and disadvatages of LCD projectors
Advantages: Can achieve greater brightness at a lower energy consumption Sharp image Possible to achieve greater zoom magnification with an LCD projector Disadvantages: Because there are three panels, it is possible for one to fall out of alignment. This will cause one of the three stacked images to be shifted slightly. Filters need to be cleaned periodically, causing an LCD projector to be more maintenance intensive
562
How does a DLP projector work and where may it be used?
Stands for Digital Light Processor. Uses a digital micromirror device, where microscopically small mirrors are laid out to create the image. In a single chip DLP projector, colours are produced either by placing a colour wheel between a white lamp and the DLP chip or by using individual light sources to produce the primary colours, e.g. LEDs or lasers. A three-chip DLP projector uses a prism to split light from the lamp, and each primary colour of light is then directed to its own DLP chip, then recombined and directed out through the lens. Used in some cinema systems and large venue projectors.
563
List some advantages and disadvantages of DLP projectors
Advantages: Unlike LCD projectors, DLP screens do not rely on fluids and are therefore not limited in size by their inherent mirror mechanisms, making them ideal for increasingly larger high-definition theatre and venue screens. Disadvantages: May use more electricity, and generate more heat, than competing technologies. People may be bothered by the “rainbow effect”, particularly in older models.
564
What is the symbol for a NOT gate?
|>º
565
What is the truth table for a NOT gate?
1 → 0 0 → 1
566
What is the symbol for an AND gate (with two inputs)?
|)
567
What is the truth table for an AND gate (with two inputs)?
0 & 0 → 0 1 & 0 → 0 0 & 0 → 0 1 & 1 → 1
568
What is the symbol for an OR gate (with two inputs)?
)>
569
What is the truth table for an OR gate (with two inputs)?
0 & 0 → 0 0 & 1 → 1 1 & 0 → 1 1 & 1 → 1
570
What is the symbol for a NAND gate (with two inputs)?
|)º
571
What is the truth table for a NAND gate (with two inputs)?
0 & 0 → 1 0 & 1 → 1 1 & 0 → 1 1 & 1 → 0
572
What is the symbol for a NOR gate (with two inputs)?
)>º
573
What is the truth table for a NOR gate (with two inputs)?
0 & 0 → 1 0 & 1 → 0 1 & 0 → 0 1 & 1 → 0
574
What is the symbol for an XOR gate (with two inputs)?
) )>
575
What is the truth table for an XOR gate (with two inputs)?
0 & 0 → 0 0 & 1 → 1 1 & 0 → 1 1 & 1 → 0
576
What is the symbol for an XNOR gate (with two inputs)?
) )>º
577
What is the truth table for an XNOR gate (with two inputs)?
0 & 0 → 1 0 & 1 → 0 1 & 0 → 0 1 & 1 → 1
578
|>º
NOT gate
579
1 → 0 0 → 1
NOT gate
580
|)
AND gate
581
0 & 0 → 0 1 & 0 → 0 0 & 0 → 0 1 & 1 → 1
AND gate
582
)>
OR gate
583
0 & 0 → 0 0 & 1 → 1 1 & 0 → 1 1 & 1 → 1
OR gate
584
|)º
NAND gate
585
0 & 0 → 1 0 & 1 → 1 1 & 0 → 1 1 & 1 → 0
NAND gate
586
)>º
NOR gate
587
0 & 0 → 1 0 & 1 → 0 1 & 0 → 0 1 & 1 → 0
NOR gate
588
) )>
XOR gate
589
0 & 0 → 0 0 & 1 → 1 1 & 0 → 1 1 & 1 → 0
XOR gate (with two inputs)?
590
XOR gate
591
XNOR gate
592
XNOR gate
593
) )>º
XNOR gate
594
0 & 0 → 1 0 & 1 → 0 1 & 0 → 0 1 & 1 → 1
XNOR gate
595
What is computer data storage?
Computer data storage refers to computer components and recording media that retain digital data used for computing for some interval of time. Computer data storage provides one of the core functions of the modern computer, that of information retention. It is one of the fundamental components of all modern computers.
596
Describe the characteristics and state examples of: primary storage
Directly connected to and accessed by a computer’s CPU Typically volatile memory (except ROM), meaning it can only retain data as long as there is power provided Used for processing data Data on primary storage is accessed about a million times faster than data on secondary storage Typically smaller than secondary storage Examples: Read Only Memory (ROM), Random Access Memory (RAM) and DVD-RAM
597
Describe the characteristics and state examples of: secondary storage
Indirectly accessed, typically by a cable Non-volatile memory, meaning data is retained when the computer is turned off Used for storing long-term data Data accessed slower than on primary storage, as it must first be copied into the primary storage in order to be used Typically larger than primary storage Examples: Hard Disk Drive (HDD) and Solid State Drives (SSDs)
598
Describe the characteristics and state examples of: off-line storage
Removable from computer Cannot be accessed without human interaction (physically inserting/removing the device) Used to transport data Can be used to backup data Can increase security when stored in a remote location, therefore not vulnerable to computer-based attacks (e.g. viruses) Examples: Digital Versatile Disks (DVDs), Compact Disks (CDs), Blu-ray, USB flash memory and removable disks
599
What is the difference between memory and backing storage?
processor can only use data or software in the memory memory is not large enough to store all the data and software required by user RAM is lost when computer is turned off and ROM cannot be changed, so there is nowhere in the memory for data to be stored long term and be changeable. backing storage (auxiliary storage) stores programs and data for future use data in backing storage is usually changeable and non-volatile access to backing storage is slower than access to internal memory, as data needs to be copied into the memory in order to be used
600
What is the difference between a storage medium and a storage device?
The storage device is the machine that reads/writes the data; the storage medium is the material on which the device stores data.
601
Describe the characteristics and give examples of: magnetic storage media
Data held magnetically on a medium that moves past a read/write head Tiny areas magnetised in different ways to store bits Data read by detecting the presence of a change or the absence of a possible change in magnetisation between successive regions If the device can read the medium then it can turn it back into codes for the computer Examples: hard disk drive (HDD), magnetic tape
602
Describe the characteristics and give examples of: optical storage media
Held on surface by ‘pits’ burnt by a laser Laser shined on pits. The differences can be used to store the code Media can be read by a shining less intensive laser and detecting the intensity of light reflected from successive regions Examples: CDs, DVDs, Blu-ray
603
Describe the characteristics and state examples of: solid-state storage media
Like internal memory, it is electronic and made as integrated circuits or chips No moving parts (makes it robust) Fits directly into the computer The device and the medium are the same thing Examples: solid-state drives (SSDs), USB flash memory, flash memory disks
604
What is meant by the term ‘computer architecture’?
The structure of a computer system - the hardware components it has and how they work together to execute programs
605
Give the core elements used in von Neumann architecture.
Input & output mechanisms Main memory Central processing unit (CPU)
606
John von Neumann proposed the concept of a stored program. State the two items he proposed to store in main memory.
Program instructions Data
607
Describe the function of the central processing unit.
To decode and execute program instructions fetched from memory
608
State what is meant by the term ‘program instruction’.
A task that is carried out by the CPU
609
(Exam-style question) Von Neumann developed the stored program concept. Describe the stored program concept. (2)
Instructions and data are stored in main memory Instructions and data are fetched, decoded, and executed in a sequence by the CPU
610
(Exam-style question) Describe how the CPU and main memory work together to run programs. (4)
Program instructions and data are stored in main memory and are fetched by the CPU one at a time, where they are decoded and executed Results of operations carried out in the CPU are stored in memory
611
(Exam-style question) Explain one reason why the stored program concept enabled computers to become general purpose machines capable of performing a variety of different tasks. (2)
Computers could be reprogrammed to carry out different tasks because they were able to store program instructions and data in memory
612
Give some examples of input devices and output devices.
Input - Keyboard Mouse Scanner QR code reader Sensor Microphone Touchscreen / tablet Output - Monitor Printer Projector Speaker Touchscreen / tablet
613
Describe the characteristics of main memory.
It holds the program instructions and data that the CPU is currently using It consists of a collection of storage locations, each with its own unique address (a storage location can hold a program instruction or an item of data)
614
State what is meant by the term ‘memory address’.
A pointer to a location in memory
615
Main memory is volatile. Describe what is meant by this.
Power is needed to retain its contents When the computer is switched off, its main memory is completely wiped
616
Why is main memory classed as primary storage?
The CPU has fast, direct access to it
617
Why is main memory often referred to as random-access memory?
The storage locations can be read from and written to in any order
618
Give some characteristics of random-access memory (RAM).
Stores currently executing programs and data Volatile - if a computer loses power, all data stored in its RAM is lost Not suitable for long-term storage of software/data Contents of RAM can be manipulated while computer running
619
Give some characteristics of read-only memory (ROM).
Memory that cannot be changed by program or user Retains its memory after computer turned off - its contents are permanently embedded Used to store instructions/software for the computer to boot up when turned on - e.g. BIOS
620
Give some characteristics of cache memory.
Cache memory stores commonly used instructions and is used to speed up processing Cache located on same microchip as CPU, so can be accessed much quicker than ordinary RAM Executing a program from cache memory means it runs more quickly Computers don’t have much cache memory because it is much more expensive
621
Give some characteristics of virtual memory.
It’s an area on a secondary storage device used to store programs if you do not have enough physical memory to store them Programs that are open but not currently active are transferred to virtual memory to make room in main memory Not physical
622
Give some characteristics of flash memory.
Physical, secondary storage devices Non-volatile storage Solid state technology, so non-mechanical More reliable and durable than alternatives - can only be overwritten limited number of times
623
Describe the function of the control unit (CU).
Handles all processor signals Controls flow of data within the system Fetches instructions from memory sequentially, decodes them and directs operations of other parts of the system to execute them
624
Describe the function of the arithmetic logic unit (ALU).
Performs arithmetic and logic operations on data
625
Describe the function of the clock in a computer system.
Controls the rate at which program instructions are executed Each ‘tick’ of the clock triggers the CPU to carry out one action Its speed is measured in cycles per second: 1Hz = 1 cycle per second (Modern CPUs have clock speeds of around 3GHz)
626
What are general-purpose registers in a computer system?
Direct-access storage which temporarily stores data and instructions within the CPU
627
The fetch-decode-execute cycle is the cycle the central processing unit (CPU) follows in order to process instructions. Name two registers used in the cycle.
Any two from: Program counter / PC Current instruction register / CIR Memory address register / MAR Memory data register / MDR Accumulator / ACC
628
Describe the function of the program counter (PC).
Holds the memory address of the next instruction to be fetched from main memory Memory address incremented during the fetch process
629
Describe the function of the current instruction register (CIR).
Holds the instruction currently being executed or decoded
630
Describe the function of the memory address register (MAR).
Holds the memory address of current data that is to be fetched from memory
631
Describe the function of the memory data register (MDR).
Holds data found at memory address held in MAR, or data that is to be transferred to main memory
632
Describe the function of the accumulator (ACC).
Holds the result of a calculation performed by the ALU
633
What is a core within a computer system?
A processing unit within the CPU, containing an ALU, control unit and registers
634
What is a bus within a computer system?
A collection of wires that is used to transfer data between the CPU, main memory and input/output devices
635
Give the 3 types of buses used in a computer.
Control bus Address bus Data bus
636
Describe the function of the control bus.
Carries signals from the processor between the components of the CPU and other parts of the computer system (bidirectional)
637
Describe the function of the address bus.
Holds the address of the memory location that the CPU will read from or write to (unidirectional)
638
Describe the function of the data bus.
Transfers program instructions and data between memory and the CPU (bidirectional)
639
(Exam-style question) Describe how the width of the address bus determines the size of the memory that a CPU can use. (3)
Each memory location has a unique binary address Each wire in the address bus represents one bit of the address Therefore, the number of wires it has determines how many unique addresses can be generated
640
(Exam-style question) Describe one reason the data bus needs to be bi-directional. (2)
The CPU needs to be able to read program instructions and data from memory and write the results of operations to memory
641
(Exam-style question) Describe how program instructions stored in memory are processed by the central processing unit. (3)
Instructions are fetched from memory into the CPU one at a time, where they are decoded and executed by the control unit (CU) Arithmetic and logic operations are performed by the ALU
642
Describe what happens in each stage of the fetch-decode-execute cycle.
Fetch - Memory address of current instruction held in program counter is copied into MAR Address in program counter is then incremented by one - program counter now holds address of next instruction Processor sends signal containing memory address of current instruction along address bus to main memory RAM retrieves instruction/data stored at that address and passes it back along the data bus to MDR - instruction is then copied into CIR Decode - Control unit (CU) reads contents of CIR, checking if it is a part of its instruction set Execute - Instruction held in CIR is then decoded and executed by CU - the results of processing are stored in ACC
643
(Exam-style question) Zakir wants to buy a new laptop. Explain why the laptop needs both hardware and software. (2)
Any one from: Software allows instructions to be passed to the hardware so that it can carry out tasks Software is the set of instructions that controls the hardware
644
Give some factors that affect the performance of the CPU.
Clock speed Number of processor cores Size of cache Type of cache
645
Give one benefit of having a higher clock speed.
Any one from: More instructions can be carried out per second Processes run faster Programs executed faster
646
Give one drawback of having a higher clock speed.
Any one from: The CPU/computer could overheat More cooling required Needs more power
647
(Exam-style question) Increasing the size of the cache will improve the performance of the CPU. Explain how increasing the size of the cache improves the performance. (2)
Any one from: Cache stores frequently used data so the processor does not have to wait because cache is checked before main memory / because RAM is further away from the processor It speeds up processing because cache is a faster type of memory
648
Describe the speed, closeness and accessibility of each level of cache.
Level 1 (L1) cache - extremely fast, usually embedded in the CPU, closest to the processor Level 2 (L2) cache - slower than L1 cache, one stage further from the processor, may be located on CPU or separate chip Level 3 (L3) cache - specialised memory that works to improve performance of L1 and L2, can be significantly slower than L1 or L2 cache, usually double speed of RAM
649
Describe the effect having a greater number of cores has on the performance of the CPU.
The performance increases CPUs with multiple cores have more power, allowing for more processes to be ran at the same time with greater ease
650
Give some differences between primary storage and secondary storage.
Primary: Volatile Short-term Directly accessed by CPU Limited storage capacity Secondary: Non-volatile Long-term Programs/data must be transferred to memory in order for them to be accessed by CPU Large storage capacity
651
(Exam-style question) Describe one reason a computer needs both primary and secondary storage. (4)
Primary storage is needed to provide the CPU with fast, direct access to the program instructions and data that it is currently using - it only retains its contents temporarily Secondary storage is non-volatile and is needed to keep programs and data for the long term when not in use
652
Give the three main types of secondary storage.
Magnetic Optical Solid-state
653
Describe how how data is stored using magnetic storage.
Use of read-write heads that contain electromagnets Parts of surface is either magnetised (1) or demagnetised (0), read-write heads control this when writing and can tell what state surface of disk is in when reading
654
Describe how data is stored on optical media.
Write data: Laser used to burn pits and lands into surface of disk More reflective areas ‘lands’ represent 1s and less reflective areas ‘pits’ are 0s Read data: Laser beam shone onto surface of disk - light that hits a land reflects differently to where it hits a pit Amount of light reflected translates to 1s & 0s by a sensor
655
Describe how data is stored on a solid-state drive.
Write data: Electrical current applied to transistor, forcing electrons through a barrier and trapping them in pools Full pool represents 0 and an empty pool 1 Read data: Small voltage is applied If electron pool is empty, transistor turns on and 1 is read - if full, transistor does not turn on and 0 is read
656
Give instances in which magnetic storage is used, and give advantages and disadvantages of using this form of secondary storage.
Used in: HDDs Internal/external hard drives Tape drives Advantages: High capacity Fast data access Disadvantages: Has moving parts that will eventually fail Noisy
657
Give instances in which optical storage is used, and give advantages and disadvantages of using this form of secondary storage.
Used in: CD, DVD and Blu-ray drives Advantages: Portable Disks are cheap Disadvantages: Slow to access Prone to scratches
658
Give instances in which solid-state storage is used, and give advantages and disadvantages of using this form of secondary storage.
Used in: Solid-state drives USB sticks SSD cards Mobile devices and wearables Advantages: Very fast data access No moving parts Low power Quiet Disadvantages: Relatively expensive Has a limited number of read-write cycles
659
Describe what is meant by ‘cloud storage’.
Data is stored and is accessible from multiple connected resources that comprise a cloud via the internet
660
List some advantages of using cloud storage.
Unlimited storage capacity - cloud computing offers limitless storage Automatic backup - hard disk crash could destroy valuable data that is stored on a device, but if the data is stored in the cloud, computer crash should not affect it Universal access - all documents and files stay in the cloud, can be accessed whenever you have a computer or phone with internet connection; all documents instantly available wherever you are Device independence - user not limited to having documents stored on a single computer or network, can change device and documents follow you through cloud
661
List some disadvantages of cloud storage.
Requires a reliable internet connection, impossible without a connection Will not work as well with low-speed connections Large documents and images require a lot of bandwidth User loses control over what happens to data as this is managed by cloud service provider
662
What is an embedded system?
A specific-purpose computer within a larger system
663
List some features of an embedded system.
Specific-purpose No or minimal user interface Low power consumption Its functionality cannot be changed/upgraded by users Functions in real time Uses sensors to interact with external environment Has customised software and hardware Has limited, integrated memory Small physical size
664
What is an address?
A number assigned to the storage location so that it can be accessed.
665
What does volatile mean?
Data is permanently lost when the power is switched off.
666
What does BIOS stand for?
Basic Input/Output System
667
What is the function of the BIOS?
The BIOS system controls the computer when it is first switched on. It tests the system hardware and loads the operating system. It is specially written for each motherboard and performs any other operations that are needed by that particular motherboard.
668
What does ROM stand for?
Read-Only Memory
669
What is ROM? HINT: THINK IN TERMS OF HARDWARE
ROM is an integrated circuit on a chip. It is programmed with specific data to perform a particular function then it is manufactured.
670
List the functions of the BIOS:
the BIOS controls what happens when the computer is first switched on the BIOS checks the hardware devices to ensure there are no errors the BIOS loads basic software so that it can communicate with these hardware devices. It then locates and passes control to the operating system.
671
What does it really mean to say that ROM is ‘Read-Only’?
The data can be read but it cannot be changed; the computer cannot write to the chip, unlike RAM.
672
ROM is non-volatile. What does non-volatile mean?
ROM is non-volatile as the data is not lost when the power is turned off.
673
What does RAM act as?
A temporary store of program instructions and data.
674
What is RAM made up of?
RAM consists of billions of memory locations with unique addresses which can be accessed in any order.
675
What is ROM used to store?
Basic information and instructions that a computer needs when it is starting up (booting).
676
What are applications?
Programs that are called up by the systems software and which perform specific tasks.
677
When could RAM become full?
When the computer is running the operating system and several applications.
678
Explain the 4 steps of the computer calling in virtual memory and swapping in and out data stored in RAM.
a process running on the computer may need to store data in the physical memory. if there is no free memory, the memory manager will ‘swap out’ some of the data stored in RAM to the swap area on the hard disk drive and ‘swap in’ the requested data into the now free area. usually the least recently used stored data is swapped out. if data is swapped out and then is needed again, it is swapped back in, from the swap area, at the expense of the data.
679
True or false: the size of the area on the hard disk drive to be used for virtual memory can be set by the user.
True
680
What are the three main disadvantages of virtual memory?
the read/write speed of a hard drive is much slower than RAM, as the technology of a hard drive is not geared towards accessing multiple small pieces of data at a time. if the system has to rely too heavily on virtual memory, there will be a significant performance drop. often the operating system has to constantly swap information back and forth between RAM and the hard disk drive, which operates all of the time. You can hear the disk drive operating continuously. This is called ‘disk thrashing’ and significantly slows down the execution of programs.
681
What is virtual memory?
Virtual memory is the use of secondary storage as additional primary memory.
682
What is disk thrashing?
Often the operating system has to constantly swap information back and forth between RAM and the hard disk drive, which operates all of the time. You can hear the hard disk drive operating continuously. This is called ‘disk thrashing’ and significantly slows down the execution of the programs.
683
Why will inserting more RAM significantly improve the performance of a computer?
The more RAM a computer has then the less virtual memory will be needed. Virtual memory has a much slower read/write speed as the technology of a hard drive is not geared towards accessing multiple small pieces of data at a time.
684
What is execution?
When a program or part of a program is run by the computer.
685
What are secondary storage devices?
Devices that store information but which do not lose the data when they are switched off; usually not on the main circuit (motherboard).
686
What is optical storage?
Storing data using optical devices such as CDs and DVDs.
687
What is solid state storage?
Storing data using devices such as flash memory. This is sometimes called ‘electrical’ storage.
688
What are the three types of secondary storage?
magnetic storage optical storage solid state storage
689
What are the three types of secondary storage?
magnetic storage optical storage solid state storage
690
Why do we use secondary storage devices?
Because RAM is volatile, data must be stored on devices called secondary storage devices so that the data is not lost when the power is turned off.
691
How does optical storage work?
Optical storage uses light from lasers to read and write data on discs. To write data to a disk, a laser beam encodes data onto a disk via burning pits onto the disk’s surface in a spiral track.
692
How much data can a CD typically store?
CDs typically store 700MB.
693
How much data can a DVD typically store?
DVDs typically store 4.7 GB.
694
What does CD stand for?
Compact Disk
695
What does DVD stand for?
Digital Versatile Disk
696
How much data can a Blu-ray disk typically store?
128 GB
697
Give two advantages of optical storage:
cheap easy to transport from one site to another
698
Give five disadvantages of optical storage devices:
less storage space than hard disk drives slow access speeds stored data degrades over time risk of disk scratching data cannot be written over unlike with hard disk drives
699
Give three examples of magnetic storage devices:
hard disk drives magnetic tape floppy disk drives
700
What do hard disk drives consist of and how do they work? HINT: THINK HARDWARE
Hard disk drives consist of stacks of non-removable disks coated with magnetic materials. The disks spin and read-write heads move across them. Electro-magnets in the read-write heads read and write the data.
701
What is magnetic storage?
Storing data using magnetic media such as a hard disk drive.
702
When is magnetic storage most suitable?
Hard disk drives are suitable for the storage and backup of large amounts of data that do not need to be transported.
703
When is optical storage most suitable?
Optical disks are most suitable for distributing program files and images, and backing up data which can then be stored at another site.
704
Give two disadvantages of magnetic storage:
not very portable susceptible to physical knocks that may cause the read-write heads to hit the disks and corrupt data
705
Give four advantages of magnetic storage:
very fast access speeds random access: data can be read instantly from any part of the disc low cost can store large amounts of data; hard disk drives that store terabytes of data are common in most home computers
706
What does SSD stand for?
Solid State Drive
707
What does SD card stand for?
Secure Digital card
708
Give five examples of solid state storage:
SSDs SD cards Micro SD cards SDXC (extended capacity) cards USB drives
709
How much data can an SD card typically store?
4 - 32 GB
710
How much data can a Micro SD card typically store?
4 - 32 GB
711
How much data can an SDXC (extended capacity SD card) store?
2 TB
712
How much data can a USB drive typically store?
256 GB - 1 TB
713
When is solid state memory most commonly used?
Data storage in cameras, mobile phones and embedded devices. It is also increasingly used as the main secondary storage device in computers, especially in laptops as SSDs.
714
What is the main secondary storage device used by the MacBook Air?
SSD
715
When are solid state drives most suitable?
Solid state memory devices are ideal for transporting data as they are light and have no moving parts which could be damaged.
716
Give four advantages of solid state storage:
very fast access speed; much faster than optical discs portable - small and light quiet has no moving parts that could be damaged if the device was knocked or dropped and therefore there is less chance of losing data
717
Give three disadvantages of solid state storage:
more expensive than a HDD or optical disc less storage capacity than a HDD limited number of erase/write cycles, up to 100000 for high quality SSDs and so it cannot be used indefinitely
718
Analyse magnetic storage devices in terms of capacity, speed, portability, durability, reliability and cost:
capacity - very large speed - fast portability - not very portable as physical knocks may cause the read-write heads to hit the discs and corrupt the data durability - very durable reliability - very reliable cost - very low
719
Analyse optical storage devices in terms of capacity, speed, portability, durability, reliability and cost:
capacity - low speed - slow portability - more portable than HDD but discs are still relatively slow durability - easily scratched and data can be damaged. Data cannot be overwritten reliability - very reliable if not scratched cost - very low
720
What is cloud storage?
721
What is cloud storage?
Off-site storage accessed over the internet.
722
What are bits (also known as binary digits)?
0 and 1
723
Explain how the CPU carries out the program instructions.
The CPU carries out all of the program instructions by carrying out millions of calculations each second. These calculations are performed by billions of transistors acting as switches. The transistors are either on or off - they have two states, they either transmit an electric current or they do not.
724
Explain the Fetch part
The address in the PC is copied to the MAR PC increments Instruction stored at the location held by the MAR is copied to the MDR
725
Explain the Decode part
Control Unit will decode the instruction and send control signals to the component that needs to act
726
Explain the Execute part
The component that is needed performs the operation This may be the: ALU
727
How does a Bubblejet printer work?
It uses tiny resistors to create a heat bubble, which then forces ink out of a tiny nozzle as it expands. When the bubble collapses, it creates a vacuum sucking more ink into the cartridge.
728
How does a Piezoelectric Inkjet printer work?
It applies an electrical charge to piezoelectric crystals which vibrate inwards causing it to push ink out of a nozzle. When the crystals vibrate, it causes a vacuum which further causes more ink to draw into the cartridge.
729
Advantages and disadvantages of laser printers
PROS: - Cheaper to run - Better print quality CONS: - Print quality inferior to inkjet on photographic paper - Expensive to buy
730
Advantages and disadvantages of Inkjet:
PROS: - Cheap to buy - Good image quality if used with photographic paper CONS: - Higher running costs as it uses a lot of ink - Printing bleeds through paper
731
How does a laser printer work?
It uses a laser beam to give a photoreceptor drum a static charge. The static electricity causes toner to be attracted to the positively-charged areas of the drum. As the paper approaches the drum, it is given a strong positive electrical charged, which causes the toner to transfer onto the paper. The paper goes through a pair of rollers where the toner fuses into the paper.
732
What is a MAC address?
A unique identifier hat is used to identify a device on the internet. It is a 12 character hexadecimal string that is broken down into 2 parts, first part is the manufacturer ID and second part is Unique serial number of that device.
733
Uses of Hexadecimal
Memory Dumps HTML colours
734
Give 3 characteristic of an IP address
Unique address Public or Private Static or Dynamic
735
How do speakers and headphones work?
By pushing and pulling the surrounding air molecules in waves. The waves are created by moving a speaker cone with electromagnets.
736
LCD (Liquid Crystal Display) how does it work?
It uses the light modulating properties of liquid crystals which can be changed into a solid or a liquid using an electrical field. The change of state allow light to shine through or to block it off for individual pixels. To get a colored display, we would need to add a layer of colored sub-pixels.
737
LED-backlit display How does it work?
It works the same way as LCD but the light source is an array of LED bulbs.
738
True LED display how does it work?
They use an array of LEDs as pixels to produce the image.
739
What is an actuator?
Mechanical output device that is responsible for moving or controlling a mechanism.
740
How does a DLP work?
It uses a large number of tiny mirrors which are arranged in a grid and can be tilted away or towards from the light source, reflecting light towards a projection lens. Each mirror creates one pixel in the projected image. To add color, the light passes through a color wheel.
741
What is an output device?
Transfer of data from inside a computer to an external media.
742
Scanning a barcode
Shines a laser onto the barcode and the barcode reflects the white spaces back. Photoelectric cells detect the reflected light and convert it to digital data which can be read by a computer.
743
How does a mouse work?
A red LED light is reflected off a surface and any movements are detected be a sensor made up of an array of photo-sensitive diodes
744
What is an input device?
Transfer of data from outside a computer to its main memory.
745
What happens during the fetch execute cycle?
The computer retrieves a program instruction from its memory. Then it establishes and carries out the actions that are required for that instruction.
746
What repeats the feth-decode-execture cycle continuously?
The CPU
747
What is the definition of cache?
An extremely fast memory type that acts as a buffer between RAM and the CPU. It holds frequently requested data and instructions and can provide this immediately to the CPU when needed
748
What is a CPU?
Central Processing Unit The primary component of a computer that processes instructions. It runs the OS and applications. Constantly receiving inputs from the user. (+ CONTROLS FETCH-DECODE-EXECTURE cycle)
749
What is ROM?
A type of storage medium that permanently stores data on personal computers (PC’s) and other electronic devices
750
What is an address bus?
A computer bus architecture. Used tp transfer data between devices. The devices are identified by
751
What are some features of the ‘Von Neumann’ and the stored program concept?
Instruction data and program data are stored in the same memory still used in most computers today
752
What are the two items which reside in memory?
Data and Instructions
753
What is virtual memory?
uses hardware and software to allow a computer to compensate for physical memory shortages (by temporarily transferring data from the RAM to HDD/SSD
754
How is virtual address space increased?
using active memory in RAM and inactive memory in HDD’s to form connecting addresses that hold both the application and data
755
Computers have a ______ amount of RAM
finite
756
Virtual memory was developed because at the time _______ memory (RAM) was expensive
physical memory (RAM)
757
A system with virtual memory uses a section of ______ to emulate the ram.
the hard drive
758
The OS divides memory into ______ which are stored on a disk
pagefiles (or swapfiles)
759
What happens when a page is needed?
The OS copies it from the disk to the main memory and translates the virtual addresses into real addresses.
760
What are the two different types of storage devices? (in a computer)
Primary Storage device (eg. RAM) - Secondary Storage device (eg. HDD)
761
What are the two most common storage systems / devices in use today?
Magnetic - Optical
762
Give an example of a magnetic storage device:
HDD Floppy disk Tape cassette
763
Give an example of an optical storage device:
Blu-ray disk CD-ROM CD-R and CD-RW
764
How do magnetic storage devices work?
The surfaces of the disks and magnetic tapes are coated with million of tiny iron particles so that data can be stored on them. The write/ read heads contain electromagnets that generate magnetic field in the iron as the head passes over the disk or tape.
765
How do optical storage devices work?
The data is recorded by making marks in a pattern that can be read back with the aid of light (usually a laser) which is precisely focused on the spinning optical disc
766
Types of Scanners
2D Scanners 3D scanners Barcode Scanners/readers
767
2D scanner
Most common form of scanners generally used to input hard-copy paper documents image is converted into electric form which can be stored in computer
768
Stages of scanning using 2D scanner (7 steps)
1) cover raised, document placed on glass panel, cover closed 2) bright white light illuminates document, modern scanners usually use type of xenon lamp 3) scan head moves across document until whole page scanned 4) image of document produced and sent to a lens using series of mirrors, lens focuses image 5) focused image falls onto charge couple device (CCD) integrated circuits etched into silicon 6) CCD made of 1000s of light sensitive elements or pixels, each element creates electric charge when light falls on it 7) scanned image now turned into electric form, software produces digital image from electric form
769
what software allows the scanned image to be turned into text file format
OCR optical character recognition software, scanned image can now be edited and manipulated by importing into word processor
770
what format is original 2D scanned image
JPEG or another image file format
771
3D Scanner
scan solid objects and produce 3D image solid objects have x,y,z coordinates scanner takes several points along these coordinates digital image which represents object is formed scanned image can be used in computer aided design, CAD, printed through 3D printer producing working model of scanned image
772
technologies used in 3D scanner
lasers magnetic resonance white light
773
application of 2D scanner at airport
used to read passports use OCR technology to produce image of passport page due to OCR tech digital images can be manipulated OCR can review image, select text part and automatically put it into existing database image of passport stored as jpeg passenger face photographed and compared to digital image of passport photo face recognition/detection software compares these two images
774
positions of face which face recognition/ detection software uses
distance between eyes width of nose shape of cheek bones length of jaw line shape of eyebrows these key position are compared to see whether images belong to same face
775
application of 3D scanning - computed tomography CT scanner
used to create image of 3D object based on tomography technology builds up an image of object through series of very thin slices each slice built by use of X ray, radio frequencies, or gamma imaging each slice stored as digital image in computer memory whole of solid object represented digitally in computer memory
776
Types of tomographic scanner based on which technology is used
X ray - CT scanners - computerised tomography gamma ray - SPECT - single photon emission computed tomography radio frequency - MRI - magnetic resonance imaging
777
UPC
Universal Product Code
778
barcode
series of dark and light parallel lines of varying thickness The numbers 0 to 9 are each represented by a unique series of lines
779
Universal Product Code
adopts different codes for digits appearing on the left and for digits appearing on the right
780
actual left-hand and right-hand sides of the barcode are separated using
guard bars (two thin lines)
781
each digit in a barcode is represented by how many bars
7 thin bars coloured black and white
782
what is the relationship between same number code for barcodes but on different sides
they are the inverses of each other, anything coloured black on left side for same number will be white on right side
783
special feature of barcode
can be scanned in any direction
784
what happens when a barcode is scanned
barcode read by red laser or red LED (light emitting diode) light reflected off barcode dark areas reflect little light or no light, white areas reflect more light which allows bars to be read reflected light read by sensors photoelectric cells as LED light scanned across barcode, pattern generated and converted to digital data this allows computer to understand barcode
785
where are barcode readers most frequently found
at the checkout at supermarket
786
what happens after barcode is read
barcode number looked up in database, barcode is known as the key field in stock item record key field uniquely identifies each stock item when barcode number found stock item record looked up price and other stock item details sent to checkout or point of sale terminal POS number of stock items in record reduced by one each time barcode is read new value for number of stock items is written back to the stock item record number of stock items is compared to the re-order level; if less than or equal to value, more stock items are automatically ordered. Once an order for more stock items is generated, a flag is added to the record to stop re-ordering every time the stock item barcode is read. When new stock items arrive, the stock levels are updated in the database.
787
Advantages of using barcodes to the management include
* much easier and faster to change prices on stock items * much better, more up-to-date sales information/sales trends * no need to price every stock item on the shelves (this reduces time and cost to the management) * allows for automatic stock control * possible to check customer buying habits more easily by linking barcodes to, for example, customer loyalty cards.
788
Advantages of using barcodes to the customers include
faster checkout queues (staff don’t need to remember/look up prices of items) errors in charging customers are reduced the customer is given an itemised bill cost savings can be passed on to the customer better track of ‘sell by dates’ so food should be fresher.
789
barcodes can be used in other areas such as
library: borrowing books, borrower’s library card Every time a book is taken out, the borrower is linked to the book automatically. This allows automatic checking of when the book is due to be returned, for example.
790
QR codes
Quick Response codes, another type of barcode
791
Quick Response codes
made up of a matrix of filled-in dark squares on a light background
792
what does CPU stand for? and what does it do?
CPU is a central processing unit A CPU is the portion of a computer that retrieves and executes instructions
793
what is an output device?
A device that receives or displays output from a computer system
794
What are examples of output devices?
monitors Printers speakers projectors
795
what are examples of input devices?
microphone Keyboard Mouse
796
Virtual memory enables a system to load _____ or ______ programs
larger or multiple programs
797
Drive
A device that reads and writes data from secondary storage
798
3 types of optical storage
CD DVD Blu-ray
799
Secondary storage and Primary Storage differences
Secondary storage is non-volatile whilst Primary is volatile Secondary storage is not directly accessed by the CPU whilst Primary storage is directly accessed by the CPU. Secondary storage typically have have more memory capacity than Primary storage.
800
How is data read and written in optical storage?
Data is written with a laser burning “pits” and “lands” into the disk. These reflect light differently which is how it is interpreted as binary when reading data. When reading the disk, it spins and a light is reflected off of the surface and the reflections are then interpreted as data.
801
Optical storage advantages
Good portability Cheap
802
How is data read and written in magnetic storage?
Magnetic storage has read and write heads which contain electromagnets. These electromagnets magnetize or demagnetize parts of the surface to represent binary. The data is read with the read head.
803
Optical storage disadvantages
Doesn’t have a large memory capacity Can be scratched easily which makes data inaccurate
804
Magnetic storage advantages
Large memory capacity Cheap per unit of storage
805
Magnetic storage disadvantages
Can create noise Data can be erased by nearby magnets High power consumption
806
How is data read and written in solid-state storage?
Solid state storage works by controlling the movement of electrons within NAND or NOR chips. The data is stored as 1s and 0s in millions of transistors within the chip.
807
Solid State storage advantages
Does not make any noise because no moving parts Durable and not affected by physical shock Fast access times
808
Solid State storage disadvantages
Expensive Limited read/write cycles
809
Cloud storage
This is when data is stored remotely in server farms or data warehouses
810
Cloud storage advantages
Can access data anywhere on any device
811
Cloud storage disadvantages
Cannot access without internet Susceptible to cybercrime Can be expensive
812
Virtual memory why it is used
When RAM is too full there need to be some way for the CPU to execute instructions that are not currently available in RAM
813
Virtual memory process
An area of memory in secondary storage is found Unused and inactive instructions in RAM are moved to that area in secondary storage Pages of required instructions are moved from secondary storage into the RAM The CPU can now access the instructions it needs Once complete, the instructions can be moved back into the RAM from secondary storage
814
How Keyboard works
Underneath each key on the keyboard there is a small peg, which sits inside a hole in the keyboard’s base. As you push down on the key, the peg pushes through the hole to touch the contact layers below. The contact layers consist of 2 conducting layers separated by an insulation layer which keeps them apart. A electrical signal is created when the peg pushes the layer together which tells us that a particular key has been pressed
815
Computer mouse
A red LED light is reflected off a surface and any movement is picked up by sensors made up of an array of photo-sensitive diodes.
816
Touch screen resistive
Pushing on the screen makes 2 conductive layers make that are separated by an insulating layer make contact which creates an electrical signal and we can figure out the position of the contact by a microprocessor.
817
Touch screen capacitive
Human bodies can act as an electrical conductor So when we touch the screen we distort its electrostatic field The position of the distortion can be interpreted by a microprocessor
818
Touch screen infra-red
They utilize an array of LED beams which have corresponding detectors So it can detect touch events
819
Microphone
Diaphragm vibrates when hit by sound waves Vibrations are detected and converted into an electrical signal using an ADC
820
Digital camera
When the shutter opens, light falls onto the charge-coupled device array which breaks it up into millions of pixels The sensor measures color and brightness of each pixel and stores it as a number Digital photographs are simply a file consisting of information about each pixel and meta-data about the file itself
821
2D scanner
It uses an array of light-sensitive diodes on a charge-coupled device sensor This converts light into an electrical charge Bright light illuminates the documents and a scan head goes across Mirrors and lenses reflect the documents onto the diodes and the varying electrical charges are converted into digital values
822
What is a Musical Instrument digital interface?
MIDI for short the storage of music files - consists of lists of commands which instruct a device on how to produce a musical note/sound
823
What is MPEG-3 (MP3)?
uses audio compression to store music in MP3 file format
824
What is MPEG-4 (MP4)?
can store multimedia rather than just music
825
What is Joint Photographic Experts Group (JPEG)?
JPEG uses a lossy format file compression method to store photographs at a reduced file size
826
What is lossless file compression?
all the data from the original files are reconstructed when the file is uncompressed
827
What is lossy file compression?
unnecessary data is removed forming a file that cannot be reconstructed to its original file
828
What are examples of primary memory?
RAM, SRAM, DRAM, ROM
829
What are examples of secondary storage?
hard disk drives solid-state drives offline storage (CDs, DVDs, DVD-RAM, DVD-ROM and blu-ray disks)
830
Why are MIDI files so small?
don’t contain actual audio tracks suitable for storing sounds/music on devices with limited memory
831
What is perceptual music shaping?
removing sounds that the human ear can not clearly distinguish
832
How is text usually stored?
ASCII file format lossless: accuracy of data is important
833
Which primary memory is volatile?
RAM
834
How does SRAM work?
does not need to be constantly refreshed to retain its data uses flip-flops
834
Can RAM be written to and read from?
yes
834
How does DRAM work?
needs to be constantly refreshed to retain the data uses millions of transistors and capacitators
835
Which primary memory is non-volatile?
ROM
836
What does ROM store?
used to store start-up procedures or BIOS
836
What do hard disk drives use?
circular platters coated in magnetic material
837
What is used so that all surfaces can be accessed?
read-write heads
838
How is data stored in hard disk drives?
sectors and tracks in block
839
What is latency?
the time taken for a specific block of data on a track to rotate around to the read-write head
840
Why is latency not an issue in SSD?
they have no moving parts all data retrieved at the same rate therefore no latency
841
What do the most common types of SSD use to control the movement of electrons (and therefore data)?
NAND chips
842
What do EEPROMS (electronically erasable programable read-only memory) use?
NOR chips
843
What are the advantages of SSDs over HDD?
more reliable and robust (no moving parts) much lighter and thinner consumer less power and run cooler does not need to get up to speed faster data access rate
844
What do CDs and DVDs use to write and read data?
red laser light
845
What does the suffix -R on CDs/DVDs mean?
write once and then only be read
846
What does the suffix -RW on CDs/DVDs mean?
can be written to and read from several times
847
Why do DVDs hold more data than CDs?
dual layering technology (they have two individual recording layers)
848
What type of technology is nearly obsolescent?
DVD-RAM
849
How does DVD-RAM work?
uses a number of concentric tracks enabling simultaneous read-write operations to take place
850
Why are DVD-RAM ideal for archiving data?
they have great longevity
851
What do blu-ray disks use to read and write data?
blue laser light
852
Why can blu-ray disks hold more data than CDs and DVDs?
wavelength of blue light is 405nm wavelength of red light is 650nm can store more data
853
Why do blu-rays not suffer from birefringence (light reflection into two separate beams causing reading errors)?
they use single polycarbonate disks rather than DVDs which use a sandwich of two polycarbonate disks
854
What technology do flash memory/memory sticks use?
solid-state technology
855
How do flash memory/memory sticks usually connect to the computer?
USB port
856
Why are flash memory/memory sticks ideal for transferring files and photos between different computers?
small and lightweight
857
What needs to happen for flash memory/memory sticks to retain their data integrity?
read every now and again
858
What is the main difference between monitoring and controlling of a process?
Monitoring a process: Sensors send data Data converted to digital data (using ADC) Computer analyses/compares data If outside the range (when compared to stored values) . . . . . . it sends a signal to sound alarm or produce warning message on a screen. Controlling a process: (First four lines are the same as above) . . . it sends signals to actuators Signals converted to analogue using DAC Pumps/va lves (etc.) are opened/closed (etc.) to alter the process conditions The output affects the next input.
859
Describe how a computer and sensors are used to monitor the greenhouse environment; the temperature m ust be between 25°( and 30°( and the soil pH must be between 4 and 5.
Data gathered from temperature and pH sensors Signals sent to ADC where they are converted to digital Information is sent to the computer where it is compared to pre-set/stored values If the temperature 30°C, a signal is sent by the computer to the motors to open the windows (again DAC and actuators used) and to switch off the heaters If the temperature is between 25°C and 30°C, no action is taken If the pH 5, a signal is sent by the computer to open valves to add acidic water (again use of DAC and actuators) If the pH is between 4 and 5, no action is taken In all cases, the output from the system will affect the next input to the system Alarm is sounded if there is an error in the system Monitoring and control continues until system turned off.
860
Name three other sensors and describe three different applications which use these sensors.
Light sensor - automatic doors in a hotel Acoustic sensor - picks up sounds, for example,a burglar alarm Infra red sensor - counting items every time the beam is broken.
861
Monitoring and controlling processes
Many monitoring and control applications do not use a computer system; a microprocessor is used instead but the methodology and the outcome are the same.
862
Actuators
Actuators are used in many control applications involving sensors and computers or m icroprocessors. They are usually electromechanical devices such as a motor, relay or solenoid. Actuators can be digital (solenoid) but others require a digital to analogue converter (DAC) since the actuator needs an electric current/voltage to operate a motor or a valve, for example.
863
Robots are being used to spray some metal components with paint. Describe: (i) Two problems the robots might encounter when spraying these metal components. (ii) How these problems could be overcome.
(i) Two problems - out of paint - component is m issing - something is obstructing the paint spray gun. (ii) Use of sensors to detect out of paint, item is in the correct position, something is obstructing the spray gun, etc Use of CCTV/cameras to show the status of the process (e.g. these can check paint surface of a car for imperfections).
864
In general, what are the advantages and disadvantages of using robots rather than using human workers in a manufacturing company?
Advantages: Can work in conditions hazardous/unpleasant to humans; They can work non-stop (no breaks); Less expensive in the long run (no wages required); More productive (takes less time to do a task than a human); More consistent (everything is always made to the same standard); Removes the need for humans to do boring/ repetitive tasks; Less factory costs (can reduce heating, lig hting levels, etc.). Disadvantages: Difficulty dealing with non-standard situations; Can lead to unemployment; Possible risk of deskilling; Production process can be more easily moved to ‘less expensive’ countries.
865
A computer system has been set up with a graphical user interface and windows environment. Icons are used on the screen to identify applications. What devices could be used to select and open the appropriate applications?
Pointing devices such as mouse - Touch screens
866
A command l ine interface could have been offered instead of G U I . What are the relative benefits and drawbacks of using both G U I and CLI to communicate with the computer system?
Com mand line interface: Direct communication with computer; Increases flexibility (G UI is very restricted); Graphical user interface: No need to understand how computers work; Much quicker/easier to find and open applications rather than have to type in a series of instructions.
867
A mobile robot is used to enter harsh environments to take samples and to carry out maintenance work. (a) The mobile robot is fitted with sensors. r.==�:-L—— sensors � �wheel’ The robot is also equipped with an on-board computer. Describe how the sensors and computer are used to guide the robot as it travels remotely. It needs to travel straight or go around corners without bumping into anything.
(a) - Sensors pick up proxim ity of objects Sensors pick up information from surroundings to make sure trave l ling Straight or can turn when path bends - Data is sent to the computer - This data is analysed by the computer - Signals sent to wheels/motors to turn vehicle as needed (also use of DAC and actuators).
868
Name two types of mobile screen technology. Give two advantages and two disadvantages of each of the chosen technologies.
Capacitive Benefits - this is a medium cost tech nology - screen visibi l ity is good even in strong sunl ight - it permits multi-touch capability - the screen is very durable; it takes a major impact to break the g lass Drawbacks - allows only the use of bare fingers as the form of input; although the latest screens permit the use of a special stylus to be used Infra red Benefits - both systems al low mu lti-touch capabilities - the optical system allows the use of bare fingers, gloved fingers or stylus for input - both systems have good screen durability; it takes a major impact to break the glass Drawbacks it is a relatively expensive technology heat sensitive system only a llows bare fingers to be used for input (gloved fingers or stylus don’t work) both systems (optical and heat sensitive) have fairly good screen visibility in strong sunlight. Resistive - this makes use of an upper layer of polyester (a form of plastic) and a bottom layer of g lass - when the top polyester layer is touched, the top layer and bottom layer complete a circuit - signals are then sent out which are interpreted by a microprocessor; the calculations determine the coordi nates of where the screen was touched. Benefits - it is relatively inexpensive technology - it is possible to use bare fingers, gloved fingers or stylus to carry out an input operation. Drawbacks - screen visi bility is poor in strong sunl ight - it doesn’t permit mu lti-touch capability - the screen durability is only fair; it is vul nerable to scratches and the screen wears out through time
869
A chemical process is being monitored using temperature sensors and pH sensors. These sensors send data to a microprocessor. If the tem perature in the process drops to below 50°( then a heater is switched on and if the acidity rises to a pH of 5, then a valve is opened to admit more acid (pH must be kept below 5). Describe how the sensors and microprocessor are used to control the chemical process.
sensors continuously send data to the microprocessor if the output from the sensors is analogue, then the data is converted to digital, using an ADC, before it is sent to the microprocessor the microprocessor contains optimum temperature and acid/pH val ues (or they are stored on a storage device connected to the microprocessor) if the temperature reading is = 50°( then no action is taken if the pH reading is > 5, then a signal is sent to a valve to open and allow acid to enter chemical process if the pH
870
Von Neumann architecture
A structure in which the hardware is connected and organised. It consists of Main Memory and a Central Processing Unit interconnected by buses. __________Main Memory ________ (Read)!_____¡(Write) Input –> Central Processing Unit –> Output The CPU reads and writes data & program instructions to and from main memory.
871
Main memory
Known as Random Access Memory(RAM) It stores the data & programs the CPU can access. Volatile - Loses content when power is lost. Faster and more expensive than secondary storage
872
Programmable computer
A computer that is multi-purpose, can be programmed to carry out different tasks. They are able to store program instructions and data in main memory.
873
CPU parts
Consists of: - Control Unit (CU) - Arithmetic Logic Unit (ALU) - Registers
874
Control unit (CU)
Decodes instructions received from main memory Coordinates the actions of other components
875
Arithmetic Logic Unit(ALU)
Performs arithmetic and logic operations on data.
876
Registers
Provides fast, temporary storage for instructions.
877
Buses
Buses connect the components inside a computer. Types: - Address bus - Data bus - Control bus