Computer Components
Computer Components
computer systems
In this chapter you will learn about:
★ hardware
★ software
★ analogue and digital data
★ central processing unit (CPU)
★ internal memory (RAM and ROM)
★ input and output devices
★ backing store
★ operating systems
★ types of computer – desktop computers and mobile computers (laptop,
smartphone, tablet and phablet)
★ emerging technologies – artificial intelligence (AI) and extended reality
(virtual and augmented).
Computer systems are now commonplace in every part of our daily life.
This first chapter introduces the basic components that make up these
computer systems; most of which will be described in much greater depth
in later chapters. Basic components, including hardware (both external
and internal) and software (both applications and system), are all briefly
introduced in the following sections.
Comparing books with computers is a good analogy: the actual pages
and the ink used on the pages are equivalent to the hardware used to
make up computers; the words written on these pages are equivalent to
the software. Without the words, the book is useless. Similarly, without
software, computers would be of little use to any of us.
Motherboard: RAM:
HDD:
1.1.2 Software
Software is the general term used for the programs that control the computer
system and process data. The software considered in this book falls into two
categories: applications and system.
Applications software provides the services that the user requires to solve a
given task. For example:
» word processing
» spreadsheet
» database (management system)
» control and measurement software
» apps and applets
» video editing
» graphics editing
» audio editing
» computer-aided design (CAD).
(Refer to Figure 1.3 for more details.)
System software is the software designed to provide a platform on which all
other software can run. For example:
» compilers
» linkers
» device drivers
» operating systems
» utilities.
(Refer to Figure 1.4 for more details.)
4
In Figure 1.5, the graph on the left shows analogue data; an infinite number of
values can exist between 0 and 6 (for example, 2.5, 4.652, and so on) because
the curve is smooth in shape. The graph on the right shows digital data; notice
only the exact values of 0, 1, 2, 3, 4, 5 or 6 can be taken.
If analogue data is being sent to a computer, it must first be converted into
digital data; this is done by hardware known as an analogue to digital converter
(ADC). If the computer is controlling a device (such as a motor) then the digital
output from the computer needs to be converted into analogue form. This is done
by a digital to analogue converter (DAC).
Device Examples
Input devices keyboard, mouse, camera, microphone, sensor, scanner
Output devices monitor, printer, speakers, projector, (graph) plotter
Secondary storage devices hard disk drive, solid-state drive, pen drive
The internal hardware devices were shown in Figure 1.2 – these consist of four
key components:
» the central processing unit (CPU) (contained on the motherboard)
» internal hard disk drive or solid-state drive
» random access memory (RAM)
» read-only memory (ROM).
microprocessor and
internal memory
and storage devices
computer
monitor
printer
mouse keyboard
1.2.1 CPU
The central processing unit (CPU) is the part of the computer that interprets
and executes the commands from the computer hardware and software. It is
normally part of the computer motherboard.
CPUs used to be made up of discrete components and numerous small integrated
circuits; these were combined together on one or more circuit board(s). However,
due to modern manufacturing techniques, the CPU is now referred to as a
microprocessor. This is a single integrated circuit which is at the heart of most PCs
and is also found in many household devices and equipment where some control or
monitoring is needed (for example, the engine management system in a car).
The CPU/microprocessor is made up of a control unit, which controls the input and
output devices; an arithmetic and logic unit (ALU), which carries out calculations
and makes logical decisions, and small memory locations called registers.
RAM ROM
Temporary memory device Permanent memory device
Volatile memory Non-volatile memory device
Can be written to and read from Read-only, data stored cannot be altered
Used to store data, files, programs, part of
operating systems (OS) currently in use Used to store BIOS and other data needed at
Can be increased in size to improve start up
operational speed of a computer
Backing storage can either be fixed (very often internal to the computer) or
removable. The advantage of removable backing storage is that it can be used as
a backup in case of data loss or corruption. Data from the main HDD or SSD can
be copied onto another device (such as a pen drive or portable HDD) and then
stored in a separate location. If the original data on the HDD/SSD has been lost
or corrupted, it can be restored from the backup device.
Examples of removable storage include external hard disk drives (HDD), external
solid-state drive (SSD) and Blu-ray discs.
Table 1.4 summarises the differences between backing storage and internal
memory.
▼ Table 1.4 Comparison of internal memory and backing storage
RAM and ROM are much smaller memories Have considerably larger capacity to store
than backing storage. data than RAM or ROM.
Data access time on RAM and ROM is Has much slower data access time than
extremely fast. RAM and ROM.
RAM and ROM are fixed inside the computer Backing storage can either be fixed
(internal memories). (external or internal) or it can be removable.
10
The statements in Figure 1.7 show how complex it is just to carry out a fairly
straightforward operation using CLI.
Graphical user interface (GUI)
A graphical user interface (GUI) allows the user to interact with a computer (or
MP3 player, gaming device, mobile phone, etc.) using pictures or symbols (icons)
rather than having to type in a number of commands. For example, the whole of
the CLI code in Figure 1.7 could have been replaced by clicking on the Desktop
icon within Windows Explorer.
Simply selecting this icon would automatically execute all the commands shown
in Figure 1.7 without the need to type it in.
GUIs use various technologies and devices to provide the user interface. One
of the most common is WIMP (windows icons menu and pointing device)
which was developed for use on personal computers (PC). Here, a mouse is used
to control a cursor and icons are selected to open/run windows. Each window
11
A window manager looks after the interaction between windows, the applications
and window system (which handles the pointing devices and the cursor’s position).
In recent years, devices such as touch screen smartphones and tablets use post-
WIMP interaction, where fingers are in contact with the screen allowing actions
such as pinching and rotating, which would be difficult to do using a single
pointer and device such as a mouse.
Table 1.5 summarises the main advantages and disadvantages of CLI and GUI.
▼ Table 1.5 Advantages and disadvantages of CLI and GUI interfaces
12
100011
011001
001110
011111
000001
Gesture-based interfaces
Gesture-based interfaces rely on human interaction by the moving of hands,
head or even the feet. Gesture recognition allows humans to interface with a
computer in a more natural fashion without the need for any mechanical devices.
This type of interface uses techniques known as computer vision and image
processing. For example, using our car example again, the following gestures can
be used to carry out certain functions:
» rotating a finger clockwise near the radio will increase the sound volume
(rotating the finger anti-clockwise will reduce the sound volume)
13
» opening the thumb and next finger will change the track being listened to (for
example, in a playlist)
» moving the foot under the rear bumper of the car automatically opens the
boot lid
» moving a hand near a window switch automatically opens a window.
There are many other examples. Either a sensor or a camera is used to pick up the
gesture and a signal is sent to an on-board computer to carry out the required
action. It eliminates the need for an array of buttons and dials on the dashboard.
Table 1.6 summarises the main advantages and disadvantages of dialogue-based
and gesture-based interfaces.
▼ Table 1.6 Advantages and disadvantages of dialogue-based and gesture-based interfaces
14
15
16
Smartphones
Smartphones allow normal phone calls to be made, but also have
an operating system (such as iOS, Android or Windows) allowing
them to run a number of computer applications (known as apps or
applets). They allow users to send/receive emails, use a number of
apps, use a camera feature (to take photos or videos), MP3/4 players
(for music and videos), and so on. Smartphones communicate with
the internet either by using Wi-Fi hot spots or by using 3G/4G/5G
mobile phone networks.
Some of the typical features of smartphones include:
» high-definition, anti-glare displays
» front- and back-facing cameras (which are used to take photos,
videos or act as a webcam when doing video calls over the
internet)
» lower weight and longer battery life than laptops ▲ Figure 1.12 Smartphone
» use Bluetooth for connection to printers and other devices
» make use of flash (solid state) memory and cloud storage
facilities to back up and synchronise (often just referred to as ‘sync’) data
sources
» they use a number of sensors to carry out the following functions:
– proximity sensors to detect if the device is close to, for example the ear,
which allows it to block unintended ‘touches’
– accelerometers, which detect movement and orientation of the device (for
example, move the display from portrait to landscape to view videos, or
allow it to be used as a ‘steering wheel’ in-car racing games)
– can use sophisticated speech recognitions systems (such as Siri) to enable
the user to ask the device to look for things (such as search the address
book).
The new generation of smartphones are becoming even thinner and lighter,
because they make use of OLED (organic light emitting diode) touch screens.
Future smartphones will also use OLED touch screens that are coated with a
crystalline layer that allows the phones to be partially solar powered; this allows
them to use Li-Fi (similar to Wi-Fi, except communication uses visible light rather
than radio waves). Communication using Li-Fi is considerably faster than with Wi-
Fi (much higher data transfer rate); it is also more secure (by stopping internet
‘piggybacking’). The Li-Fi system can also be used during aeroplane flights
because it does not use radio waves and therefore does not interfere with flight
control systems.
Advantages of smartphones:
» They are very small in size and lightweight – therefore they are very easy to
carry and have on your person at all times (this is more difficult with laptops
because they are much bulkier and much heavier).
» You can use them to make phone calls, but also connect to the internet while
on the move.
17
» Because they use Wi-Fi and mobile phone networks they can be used almost
anywhere (this is not the case with laptops or desktops; although tablets also
use the same technology).
» They have apps which make use of sensor data provided by the smartphone,
for instance location data for maps – this can provide services that are not
available on desktops or laptops.
» They have a reasonable battery life compared to laptops.
Disadvantages of smartphones:
» The small screens and keyboards make pages difficult to read.
» It is more difficult and slower when typing things in (laptops and desktops
have much bigger screens and much larger keyboards).
» Web browsing and photography can quickly drain the battery.
» Memory size in most phones is not very large when compared to laptops
and desktops – although it is comparable with tablets (however, the latest
generation smartphones come with 1 TiB memories).
» Not all website features are compatible with smartphone operating systems.
» Because of their small size, it is much easier to lose a smartphone or for it to
be stolen compared to laptops or desktops.
» The data transfer rate using mobile phone networks can be slower than with
Wi-Fi – this makes streaming of video or music, for example,
less than satisfactory at times.
Tablets
Tablets are becoming an increasingly used type of mobile
computer. They work in a similar way to a smartphone. Tablets
use touch screen technology and do not have a conventional
keyboard. The keyboard is virtual; that is, it is part of the
touch screen and keys are activated by simply touching
them with a finger or a stylus. However, it is possible to
buy tablet cases which contain a normal-sized keyboard.
Internet access is usually through Wi-Fi or 3G/4G/5G (mobile
phone) connectivity. Like smartphones, tablets are equipped
with a series of sensors which include camera, microphone, ▲ Figure 1.13 Tablet
accelerometer and touch screen.
The typical features of tablets are identical to those of a smartphone (described
earlier).
Advantages of tablets compared to laptops:
» very fast to switch on (no time delay waiting for the operating system to load
up)
» fully portable – they are so lightweight that they can be carried anywhere
» touch screen technology means they are simple to use and do not need any
other input devices
» can use several apps as standard (such as built-in camera, MP3/4 players and
so on)
18
Some of the latest smartphones have been designed as a hybrid between a tablet
and a smartphone; these are referred to as a phablet. They have much larger
screens than a smartphone but are smaller than a tablet. All the features of a
smartphone (described earlier) also apply to phablets together with the typical
features of a tablet.
19
Exercise 1a
Name a number of devices in the home that contain What are the advantages and disadvantages of using
embedded microprocessors, which can be controlled smartphones, tablets or phablets to control these
by smartphones, tablets or phablets using an app and devices?
the internet.
20
▲ Figure 1.15 An autonomous ▲ Figure 1.16 Robotic research ▲ Figure 1.17 Robots are used to
(driverless) vehicle – we already is leading to improvements in help people carry out dangerous
have driverless trains and technology to help amputees and or unpleasant tasks – for example,
autopilots on aeroplanes, but future people with disabilities. bomb disposal, welding of car
developments include driverless bodies, entering nuclear disaster
cars. areas (such as Chernobyl or
Fukushima) where the radiation
would kill a human in under two
minutes.
There are many more examples and the list becomes longer and longer with time.
Negative impacts of AI
All of the above examples give a very favourable view of the effect of AI on our
everyday lives. However, in any balanced argument, we should also consider the
drawbacks of the new technology:
» could lead to many job losses in a number of areas (although it is true to say
that new technical jobs would also be created); many jobs could be lost in
manufacturing, but other roles are likely to be affected (such as bus, taxi,
lorry and train drivers)
21
» dependency on technology and the inability to carry out tasks done by robots,
for example, could be an issue in the future
» loss of skills – even now, skills from previous generations have been lost as
humans have been replaced by machines and software applications.
Extended reality
Extended reality (XR) refers to real and virtual combined environments, and is a
‘catch all’ term for all immersive technologies. The three most common examples
at the moment are:
» augmented reality (AR)
» virtual reality (VR)
» mixed reality (MR).
In the future, augmented reality will have an impact on all the following areas:
» safety and rescue operations (for example, it is possible to provide 3D images
of an area where a rescue mission is to take place, giving the team the
opportunity to interact with the environment and try out rescue procedures
before doing the real thing)
» entertainment (for example, AR takes users into a virtual environment where
it is possible to interact with the characters; imagine the characters of your
favourite film interacting with you at home)
» shopping and retail (this is one of the big areas – for example, using your
smartphone camera you can try out make-up and see how it looks on you before
buying it, or you can experience a virtual tour of a new car where you can ‘sit’
in the interior and try out the driving experience before buying the car)
22
In the future, virtual reality will have an impact on all the following areas:
» military applications (for example, training to operate a new tank)
» education (for example, looking inside an ancient building as part of a history
lesson)
» healthcare (for example, as a diagnostic tool to recommend treatment)
» entertainment (for example, games where gloves, goggles or helmets are worn
to fully immerse players and make it seem very real)
» fashion (for example, to do fashion shows before doing the real thing – see
the clothes on people, check out the venue and so on)
» heritage (for example, allowing users to walk around and close up to
monuments like Stonehenge)
» business (for example, training courses and role-playing scenarios for staff)
» engineering (for example, seeing how new designs like bridges will look in an
existing environment)
» sport (for example, a golfer trying to improve his swing can use this
technology and get feedback to improve his game)
» media (for example, interactive special effects in movies)
» scientific visualisation (for example, part of a molecular structure in
chemistry, or a cell in biology).
23
Exam-style questions
1 There are a number of different types of computer. Write down the type of
computer that best fits the following descriptions.
a A computer that is difficult to move and has a separate monitor and
keyboard.[1]
b A portable computer that includes a physical keyboard. [1]
c A thin portable computer that has a touch screen and a battery in a
single unit, not normally used to make phone calls. [1]
d A mobile phone that can be used as a computer. [1]
Cambridge IGCSE Information and Communication Technology (0417) Paper 12 Q1,
February/March 2016
2 Tick (✓) whether the following are features of operating systems
containing a command line interface (CLI) or a graphical user
interface (GUI).[2]
CLI (✓) GUI (✓)
24
Data on the chip is stored temporarily and can be deleted by the user
Stores data, files or part of the operating system which is currently in use
25
As the name suggests, these are hardware devices that allow data to be input
into a computer. Many such devices exist, ranging from the more common
ones, such as the keyboard, through to more specialist devices, such as
barcode readers. Some of these are described in this section.
26
» The CPU in the computer can then determine which key has been pressed.
» The CPU refers to an index file to identify which character the key press
represents.
Letter “H”
Conductive interpreted
layers by computer
Insulating layer
Uses of keyboards
» Input of data into applications software (for example, text into word
processors, numbers into spreadsheets, and so on).
» Typing in commands to the computer (for example, Prnt Scrn, Ctrl+P to print
out, and so on).
Advantages of keyboards
» Fast entry of new text into a document.
» Well-known method.
» Easy to use for most people.
» Easier to do verification checks as data is entered (can immediately compare
the source document with typed data on the screen).
Disadvantages of keyboards
» Can be difficult to use if the user has limited arm/wrist use.
» Slow method when compared to direct data entry (for example, Optical Mark
Recognition – see Section 2.2).
» Fairly large device that uses up valuable desk space.
Exercise 2a
Find out about a number of applications that use input/output devices and discuss
the reasons why they were chosen (that is, their advantages and disadvantages).
» Chip and PIN devices when paying by credit/debit cards (key in PIN, amount
of money, etc.).
» Fast entry of numeric data into a spreadsheet.
Advantages of numeric keypads
» Faster than standard keyboards when entering numeric data.
» Because many are small devices (for example, mobile phones) they are very
easy to carry around.
Disadvantages of numeric keypads
» Sometimes have small keys which can make input more difficult.
» Sometimes the order of the numbers on the keypad is not intuitive.
28
Disadvantages of a mouse
» Can be more difficult for people with restricted hand/wrist movement than
using a keyboard for data entry.
» Easy to damage, and the older type of mouse quickly becomes clogged up with
dirt.
» Difficult to use if no flat surface readily available (for example, on an
aeroplane).
Touchpad
Touchpads are used as a pointing device in many laptop computers. The pointer
is controlled by the user moving their finger on the touchpad and then gently
tapping it to simulate the left-hand button of a mouse (that is, selection). They
also have buttons under the touchpad which serve the same function as the left
and right buttons on a mouse.
▲ Figure 2.7 Touchpad
Use of a touchpad
Their uses are the same as those of a mouse.
Advantages of a touchpad
» Same as the mouse (faster than a keyboard for choosing options, used to
navigate applications and the internet, etc.).
» Because the touchpad is integrated into the laptop computer there is no need
for a separate mouse – this aids the portability and is a big advantage if there
are no flat surfaces available.
Disadvantages of a touchpad
» People with limited hand/wrist movement find the device difficult to use.
» Can be more difficult to control the pointer when compared to a normal
mouse.
» More difficult to use when doing certain operations such as drag and drop.
Trackerball
Trackerballs are similar to a mouse, except that a ball is on the top or the side
of the device; the user controls the pointer on the screen by rotating the ball
with their hand. It is easier to use for people with limited hand/wrist movement.
Some trackerballs have two buttons, which have the same function as the left-
and right-hand mouse buttons. If they have a third button, it is equivalent to a ▲ Figure 2.8 Trackerball
double click. Because trackerballs do not physically move, there
is no need for a large amount of desk space.
Uses of a trackerball
» Can be a good alternative to a mouse for people with
conditions such as RSI.
» Used in an industrial control room environment where it is
faster than a mouse to navigate through process screens.
» Used in some luxury cars to select functions such as radio,
telephone, music, satnav and so on.
29
Advantages of a trackerball
» Does not need the same fine control as a mouse.
» Easier to use than a mouse if the operator has problems with their wrist
or hand.
» More accurate positioning of the pointer on screen than a mouse.
» They are more robust than a mouse.
» Needs less desk space than a mouse or keyboard.
Disadvantages of a trackerball
» Not supplied with the computer as standard, therefore more costly.
» User may need training because it is not standard equipment.
30
Uses of a joystick
» Used in video/computer games.
» Used in simulators (for example, flight simulators) to mimic actual controls.
Advantages of a joystick
» Easier than a keyboard to navigate the screen.
» Control is more realistic for some applications than, for example, using a
mouse.
Disadvantages of a joystick
» More difficult to control the on-screen pointer than with other devices, such
as a mouse.
Driving wheel
A driving (steering) wheel is an example of an input device that is similar to
a joystick in many ways. It connects to a computer (or games machine), usually
through a USB port. The wheel allows you to simulate the turning of a steering
wheel, and there are associated devices (such as buttons or pedals) which allow
you to accelerate and brake. Sensors are used to pick up left/right movement so ▲ Figure 2.12 Driving wheel
that the user gets the sensation of steering a car around a circuit or on the road.
Uses of a driving wheel
» Used in video/computer games (for example, car racing games).
» Used in simulators (for example, car-driving simulators) to mimic actual
vehicle controls.
31
2.1.7 Scanners
Scanners are used to enter information from hard copy (for example, text
documents, photographs) into a computer. The most common type is the flatbed
scanner (see Figure 2.14), which is made up of a glass panel and lid. The
hard copy document or photo is scanned by a light source and produces a
computer-readable image.
The subsequent image can then be manipulated using a drawing package. Images
of text can also be used with optical character recognition (OCR) software to
produce editable text documents (see Section 2.2). There are also specialist ▲ Figure 2.14 Flatbed scanner
scanners which are designed to carry out a specific task, for example, barcode
scanners (see later).
Uses of scanners
» Scan in documents and convert into a format for use in various software
packages.
» Scan in old/valuable documents/books, thus protecting the originals, as well
as producing records in case the paper copies are lost/destroyed (this is also
known as archiving).
» Scan in photographs (not all cameras are digital and therefore photographs
are still printed on paper, requiring conversion to computer format for
storage).
» Scan in barcodes at POS terminals.
32
Advantages of scanners
» Images can be stored for editing at a later date.
» When used with OCR, much faster and more accurate (no typing errors) than
typing in documents again.
» It is possible to recover damaged documents and photographs by scanning in
and then using appropriate software to produce an acceptable copy.
Disadvantages of scanners
» Quality can be limited depending on how good a resolution the scanner is
capable of (most scanners have a range of resolutions you can choose from).
» They can be fairly slow at scanning, especially if the colour scanning mode is
chosen or if the chosen scanning resolution is high.
33
2.1.9 Microphones
Microphones are either built into the computer or are external devices connected
through the USB port or using Bluetooth connectivity. Figure 2.16 shows how
a microphone can convert sound waves into an electric current. The current
produced is converted to a digital format so that a computer can process it or
store it (for example, on a CD).
sound waves
output from
the microphone
34
The electric current output from the microphone can also be sent to a computer
where a sound card converts the current into a digital signal which can then be
stored in the computer.
Uses of microphones
» To input speech/sounds to be used in various applications, for example, in
presentations, sampling (in films, music, etc.) and special effects (films).
» Input in voice-recognition software:
– the software converts the speech into text that can be used in, for
example, a word processor or to input commands into a computer
– to recognise commands; for example, some cars now have voice-activated
systems to switch on the lights, turn up the radio volume, etc. (see Chapter 1).
» Microphones can also be used as a sensor to pick up sound (for example, in an
intruder alarm system).
» Used in video-conferencing or Voice over Internet Protocol (VoIP)
applications.
Advantages of microphones
» Faster to read in text than to type it in using a keyboard.
» It is possible to manipulate sound in real time using special software rather
than work on a recording done at some earlier stage.
» If used in a voice activation system, it has the advantage of improving safety
(because the car driver, for example, does not need to take their hands off the
wheel to operate a switch or alter the radio station, etc.).
Disadvantages of microphones
» Sound files can use up a lot of computer memory.
» Voice-recognition software is not as accurate as typing in manually (for
example, the software cannot distinguish the difference between ‘their’
and ‘there’).
2.1.10 Sensors
This section deals with analogue sensors. A sensor is a device that inputs data Link
to a computer; the data is a measurement of some physical quantity that is
continuously changing (for example, temperature, light, moisture, etc.). These For more on the
differences between
physical quantities are analogue in nature. Because computers only understand
analogue and digital
digital data (1s and 0s), the information from the sensors needs to be converted; data see Section 1.13.
this is done using an analogue to digital converter (ADC).
Sensors are used in monitoring and control applications – various types of
sensors are used depending on the application (see Table 2.1). When monitoring,
the data sent to the computer is often transferred directly to a spreadsheet
package (for example, taking measurements in a scientific experiment, measuring
atmospheric pollution, etc.).
35
Uses of sensors
▼ Table 2.1 Uses of sensors
36
S.J.Driver Services on
0840 5661 496
or from abroad
+44 5568 123 123
» Fast data entry, rather than keying in with a keyboard or keypad. TO BE USED ONLY BY THE AUTHORISED SIGNATORY
37
a small chip that emits radio waves embedded in them. The card is held within a
few centimetres of the payment terminal to pay for an item; the terminal picks
up the signal from the chip and allows the transaction to be processed.
The steps taken are:
1 Customers look out for the contactless symbol on the payment terminal.
2 The shop assistant enters the amount for payment.
3 The card reader informs the customer to present their contactless card.
4 The customer holds their card close to the front of the card reader.
5 The terminal display will indicate that the card has been read successfully.
Advantages of using contactless cards
▲ Figure 2.20 Contactless
» Faster transactions (typical transaction takes 10 seconds as opposed to card reader
30 seconds using magnetic stripe reader).
» The contactless card system uses 128-bit encryption systems to protect the
data.
» Customers do not have to worry about typing errors (such as incorrectly typing
in a PIN).
» Retailers no longer have access to the customer’s credit/debit card
information.
» The chip in the contactless credit card responds to the payment terminal
reader with a unique number used for that transaction only; it does not simply
transmit the consumer’s account number; this number is also encrypted.
38
The tags can be passive or battery-powered. Passive tags use the reader’s radio
wave energy to relay back the information; battery-powered tags use a small
embedded battery to power the RFID.
RFID tag
antenna reader
computer
Uses of RFID
» Livestock tracking (so that the whereabouts of each animal on a farm is
known; it also identifies which farm owns the animal).
» Retail (it is similar to barcodes, but does not require any scanning; details
such as price can be stored on the tag and then automatically read at a
checkout – a big advantage is that several tags can be read at the same time,
thus speeding up the checkout process).
» Admission passes (for example, in theme parks RFID cards eliminate the need to
scan or swipe people before ‘rides’, reducing the waiting time; it also allows the
tracking of people in the theme park and certain information, such as height or
age, can be stored to prevent entry to certain rides on safety grounds).
» Libraries (books can be tracked in and out automatically by readers at the
library entrance; no need to scan barcodes or use magnetic stripe cards,
making the process quicker and more accurate).
39
Advantages of RFID
» No line-of-sight contact is necessary; the tags can be read from a distance.
» It is a very robust and reliable technology.
» Very fast read-rate (typically less than 100 milliseconds to respond).
» Bidirectional data transfer (that is, it allows read and write operations to take
place).
» Bulk detection is possible (that is, it can detect several RFID tags at the same
time).
Disadvantages of RFID
» Tag collision (this is when the signals from two or more tags overlap,
interfering with each other).
» Because RFID uses radio waves, they are relatively easy to jam or interrupt.
» It is relatively easy to hack into the data/signal transmitted by the tag.
» RFID is more expensive than a comparable barcode system.
1 2 3
▲ Figure 2.22 OMR
In this example a pencil mark has been made between the dots on option 1. The
position of the mark is stored in the computer’s memory after being read by the
OMR device.
Uses of OMR devices
» Used to read questionnaires, multiple-choice examination papers, voting
papers and many other types of form where responses are registered in the
form of lines or shaded areas.
Advantages of OMR devices
» Very fast way of inputting the results of a survey, etc. The documents are fed
in automatically and there is no user input.
» Because there is no typing, they are more accurate than keying in the data.
» They are more accurate than OCR methods.
40
OCR OMR
Because this method reads handwriting, it is possible for Because this involves shading in lozenges to answer set
customers to extend their answers to questions questions, the information obtained is limited to the choices
offered in each question
This method can read handwriting – but if the handwriting is OMR relies on simply detecting where marks have been
poor it may cause reading errors made on a page; the position of the marks is compared to a
template stored in memory
OCR is used for converting printed documents to an editable OMR simply reads the position of marks so it is ideal for
electronic format multiple-choice exam papers
OCR requires a complex recognition system This method requires complex (and expensive) forms to be
completed; but the recognition system is simpler than OCR
Fewer ‘how to fill in’ instructions are needed for forms While this method requires more ‘how to fill in’
designed to be completed and then read by OCR instructions, it is easier and faster for customers to
complete OMR forms than to complete OCR forms
While OCR is more accurate than data entered into a computer OMR is essentially a more accurate method for reading
by keyboard, there are still problems recognising all types of data than OCR
handwriting leading to inaccuracies
41
42
The three large squares at the corners of the code function as a form of
alignment; the remaining small corner square is used to ensure the correct size
and correct angle of the camera shot when the QR code is read.
Because of modern smartphones and tablets, which allow internet access on the
move, QR codes can be scanned anywhere. This gives rise to a number of uses:
» advertising products (for example, the QR code in Figure 2.26)
» giving automatic access to a website or contact telephone number Boarding Pass
» storing boarding passes electronically at airports and train stations BX 885
(Figure 2.27).
By using the built-in camera on a mobile smartphone or tablet and by
downloading a QR app (application), it is possible to read QR codes on the move
using the following method:
» Point the phone or tablet camera at the QR code. LHR to BUH
» The apps will now process the image taken by the camera converting the March 15 2023
squares into readable data.
» The browser software on the mobile phone or tablet automatically reads the
data generated by the apps; it will also decode any web addresses contained
within the QR code. ▲ Figure 2.27 Sample
» The user will then be sent to a website automatically (or if a telephone boarding pass
number was embedded in the code, the user will be sent to the phone
apps ).
» If the QR code contained a boarding pass, this will be automatically sent to
the phone/tablet.
Uses of QR codes
» Used in advertising to contain data such as business addresses, phone
numbers, email addresses and website addresses; scanning the QR code
gives all the necessary data on the smartphone screen, or the user is sent
automatically to the website embedded in the QR code.
» Contain links to apps (for example, they can be found in app stores to enable
the appropriate apps to be quickly downloaded onto a user’s device).
» Wi-Fi authentication; QR codes can be used to store Wi-Fi network
authentication (proof of identity) details, including passwords and type of
encryption used – when the QR code is scanned using a smartphone/tablet, it
will be able to automatically join that network.
» QR codes can be used to deliver augmented reality (see Chapter 1)
experiences, by helping an AR system to determine the positions of objects in
three-dimensional space.
» QR codes have been used to establish virtual online stores, where a gallery of
product information and QR codes are presented to the customer, for example,
on a train station wall. The customers scan the QR codes, and the products
are automatically delivered to their homes.
Advantages of QR codes
» They can hold much more information than normal barcode.
» There will be fewer errors than with barcodes; the higher data capacity of the
QR code allows the use of built-in error-checking systems; normal barcodes
43
contain almost no data redundancy (that is, data which is duplicated) therefore
it is not possible to guard against badly printed or damaged barcodes.
» QR codes are easier to read; they do not need expensive laser or LED (light
emitting diode) scanners like barcodes – they can be read by the cameras used
on smartphones and tablets.
» It is easy to transmit QR codes either as text messages or images.
» It is also possible to encrypt QR codes, which gives them greater protection
than traditional barcodes.
Disadvantages of QR codes
» More than one QR format is available.
» QR codes can be used to transmit malicious codes; known as attagging.
Because there are a large number of free apps available to a user for
generating QR codes, that means anyone can do this. It is relatively easy to
write malicious code and embed this within the QR code. When the code is
scanned, it is possible the creator of the malicious code could gain access
to everything on the user’s smartphone/tablet (for example, photographs,
address book, stored passwords, etc.). The user could also be sent to a fake
website, or it is even possible for a virus to be downloaded.
While CRT monitors have just about been phased out everywhere, they are
included here because these are the only type of device which allows the use of
light pens (see Section 2.1.11). Consequently, some companies using CAD still
use large CRT monitors to enable the use of light pens as part of the drawing
environment.
CRT monitors
Cathode ray tube (CRT) monitors are the least expensive type of monitor,
although they are becoming increasingly rare as LCD monitors are now taking ▲ Figure 2.28 CRT
monitor
over. They come in various sizes and make use of an electron gun firing against
a phosphor screen. The picture is made up of tiny dots which are coloured red,
green or blue – the intensity of each coloured dot makes up the vast range of
colours interpreted by the eye.
44
46
47
2.3.4 Printers
This section will consider the use of the three most common types of printer:
» laser printer
» inkjet printer
» dot matrix printer.
Laser printers
Laser printers produce very high-quality hard copy output. The print rate per
page is very quick if a large number of pages are being printed. They rely on large
buffer memories where the data for the whole document is stored before pages
can be printed out.
Let us briefly consider how a page is printed:
» The start of the printing process involves a printing drum being given a
positive charge; as this drum rotates, a laser beam is scanned across it
removing the positive charge in certain areas; this leaves negatively charged ▲ Figure 2.31 Laser
areas which exactly match the text/images of the page to be printed. printer
» The drum is then coated with positively-charged toner (powdered ink);
because the toner is positively charged, it only sticks to the negatively
charged parts of the drum.
» A negatively-charged sheet of paper is then rolled over the drum.
» The toner on the drum now sticks to the paper to produce an exact copy of
the page sent to the printer.
» To prevent the paper sticking to the drum, the electric charge on the paper is
removed after one rotation of the drum.
» The paper finally goes through a fuser, which is a set of heated rollers; the
heat melts the ink so that it fixes permanently to the paper.
» At the very end, a discharge lamp removes all the electric charge from the
drum, making it ready to print the next page.
48
Inkjet printers
Inkjet printers are used to produce good-quality hard copies. Unlike laser
printers, inkjet printers do not have large buffer memories, therefore printing is
done a bit at a time. This is why printing is sometimes paused – the whole print
job cannot be stored in the buffer, and it has to wait for the computer to send
more data.
Inkjet printers are essentially made up of:
» a print head, which consists of nozzles which spray droplets of ink on to the ▲ Figure 2.32 Inkjet
paper to form characters printer
» an ink cartridge or cartridges; either one cartridge for each colour (blue,
yellow and magenta) and a black cartridge, or one single cartridge containing
all three colours plus black (note: some systems use six colours)
» a stepper motor and belt, which moves the print head assembly across the
page from side to side
» a paper feed which automatically feeds the printer with pages as they are
required.
49
50
Some plotters are used to cut out material by replacing the pen with a cutting
blade. However, in general, plotters are being phased out, as wide-format inkjet
printers are being produced at lower cost.
Uses of plotters
» Producing architectural drawings.
» Producing engineering drawings.
» Drawing animation characters (cartoon characters).
Advantages of plotters
» Very high-quality output.
» Able to produce large, monochrome and colour drawings to a high accuracy.
» Able to print on a variety of materials (for example, aluminium, cardboard,
plastic, steel and wood) as well as paper.
Disadvantages of plotters
» Very slow at printing.
» Expensive equipment (and software) to purchase initially; although running
costs are low once purchased.
» Have a very large physical footprint compared to a printer.
2.3.6 3D printers
3D printers are primarily used in computer-aided design (CAD) applications.
They are primarily based on inkjet and laser printer technology and can produce
solid objects that actually work. The solid object is built up layer by layer using
materials such as powdered resin, powdered metal, paper or ceramic.
The alloy wheel in Figure 2.36 was made using an industrial 3D printer.
It was made from many layers of powdered metal (0.1 mm thick) using a
technology known as binder 3D printing. ▲ Figure 2.35 3D printer
Other examples are discussed below.
The following information describes some of the features of 3D printing:
» Various types of 3D printers exist; they range from the size of a
microwave oven up to the size of a small car.
» 3D printers use additive manufacturing (i.e. the object is
built up layer by layer); this is in sharp contrast to the more
traditional method of subtractive manufacturing (i.e. removal
of material to make the object). For example, making a statue
using a 3D printer would involve building it up layer by layer
using powdered stone until the final object was formed. The
subtractive method would involve carving the statue out of solid
stone (i.e. removing the stone not required) until the final item
was produced. Similarly, CNC (computer-controlled machine – a
type of lathe) removes metal to form an object; 3D printing
would produce the same item by building up the object from ▲ Figure 2.36 Alloy wheel made by 3D
layers of powdered metal. printing
51
» Direct 3D printing uses inkjet technology; a print head can move left to right
as in a normal printer. However, the print head can also move up and down
to build up the layers of an object – each layer being less than a tenth of a
millimetre (less than 0.1 mm).
» Binder 3D printing is similar to direct 3D printing, but this method uses two
passes for each of the layers; the first pass sprays dry powder, then, on the
second pass, a binder (a type of glue) is sprayed to form a solid layer.
» Newer technologies are using lasers and UV light to harden liquid polymers;
this further increases the diversity of products which can be made.
Uses of 3D printers
3D printing is regarded as being possibly the next ‘industrial revolution’ because
it will change the manufacturing methods in many industries. The following list
is just a glimpse into what we know can be made using these printers; in the
years that follow, the applications list could probably fill an entire book:
» Prosthetic limbs can be made to fit exactly on the injured body part.
» Making items to allow precision reconstructive surgery (for example, facial
reconstruction following an accident); the parts made by this technique are
more precise in their design as they can be made from an exact scan of the
skull.
» In aerospace, manufacturers are looking at making wings and other aeroplane
parts using 3D technology; the bonus will be lightweight, precision parts.
» Fashion and art – 3D printing allows new creative ideas to be developed.
» Making parts for items no longer in production, for example, parts for a
vintage car.
The object is removed from the printer and is then prepared; for
example, some use a jelly-like support that needs to be washed
away by immersion in water, some require the removal of excess
plastic powder, and others require the cutting away of unused
material. In many cases, the object has to be left to ‘cure’ for
a few hours.
52
Advantages of 3D printers
» The manufacturing of items has become much easier than ever before. It is
now theoretically possible to manufacture any product a user wants using only
a 3D printer. This has led the way for customised products, as it allows a user
to create their own designs in 3D and have them printed in solid form.
» Because 3D printers can manufacture items relatively quickly, it allows rapid
prototyping. This means that it will take a really short length of time for
designs to be converted into working prototypes.
» Even though the cost of 3D printing is very high, it is still less when compared
to labour costs and other costs involved in manufacturing a product in the
more conventional way. The fact that the cost of manufacturing using 3D
printers is the same for both small-scale and mass production is also a very
useful benefit.
» Medical benefits are emerging, such as producing artificial organs, prosthetics
and precision-made items for reconstructive surgery.
» Parts for machinery that are no longer made could now be manufactured using
3D printers. A car made in the 1930s, for example, will no longer have parts
available off-the-shelf. By scanning the broken part (using a 3D scanner), or
by obtaining its blueprint, it will be possible to simply email the file to a
company and have the part made on an industrial 3D printer. This clearly has
many benefits in a number of applications.
Disadvantages of 3D printers
» The biggest possible drawback of 3D printers is the potential to make
counterfeit items or items that infringe others’ copyright. 3D printing
technology essentially turns every owner of one of these printers into a
potential manufacturer. Thus, it could become very difficult to trace the
source of fake items; copyright holders would also have great difficulty in
protecting their rights.
» All new technologies in the hands of the wrong people can lead to dangerous
or illegal activities. With the possibility of creating almost anything with the
use of a 3D printer, this technology could be used to manufacture dangerous
items by almost anyone.
» There is the potential for job losses if this technology takes over from some
types of manufacturing. Of course, this could also be seen as a benefit by some
companies as it could lead to lower manufacturing costs for certain items.
2.3.7 Speakers
Speakers (or loudspeakers) are output devices that produce sound. When
connected to a computer system, digitised sound stored on a file needs to be
converted into sound as follows:
» The digital data is first passed through a digital to analogue converter
(DAC) where it is changed into an electric current.
» This is then passed through an amplifier (because the current generated by
the DAC will be very small); this creates a current large enough to drive a
loudspeaker.
» This electric current is then fed to a loudspeaker where it is converted into
sound.
53
1 0 0 1 0 1 0 1 0 1 1 …. DAC amplifier
As Figure 2.38 shows, if the sound is stored in a computer file, it must pass
through a digital to analogue converter (DAC) to convert binary (digital) data
into an analogue form (electric current) which can then drive the loudspeaker.
Figure 2.39 shows how the loudspeaker converts the electric current into sound.
plastic or permanent
paper cone magnet
sound waves
coil of wire
wrapped
around an
iron core
sound waves
produced
» When an electric current flows through the coil of wire that is wrapped around
an iron core, the core becomes a temporary electromagnet; a permanent
magnet is also positioned very close to this electromagnet.
» As the electric current through the coil of wire varies, the induced magnetic
field in the iron core also varies. This causes the iron core to be attracted or
towards or repelled from the permanent magnet and as the current varies this
will cause the iron core to vibrate.
» Because the iron core is attached to a cone (made of paper or thin synthetic
material), this causes the cone to vibrate, producing sound waves.
Uses of speakers
» Used in all phones and built in to most computers.
» Outputs sound from multimedia presentations.
» Helps visually impaired people (together with speech generation software)
through reading aloud text on the screen.
» Plays downloaded sound files.
Advantages of speakers
» Sounds amplified through speakers can be much louder than the original
sound – this is important whenever more than a few people need to listen to
something.
» Everyone in a conference, for example, can hear the output from a computer.
» It can create a good atmosphere when making a presentation.
54
Disadvantages of speakers
» Speaker output can be disturbing to others in, for example, an office
environment.
» To get high-quality sound, the required speakers can be quite expensive.
» Speakers can take up a lot of desk space.
2.3.8 Actuators
When a computer is used to control devices, such as a conveyer belt or a valve, it
is usually necessary to use an actuator to, for example, start/stop the conveyer
belt or open/close the valve. An actuator is a mechanical or electromechanical
device such as a relay, solenoid or motor. We will consider a solenoid as the
example; this converts an electrical signal into a magnetic field producing linear
motion:
electromagnetic field
solenoid coil
If a plunger (for example, a magnetised metal bar) is placed inside the coil, it
will move when a current is applied to the coil (see Figure 2.40). This would allow
the solenoid to operate a valve or a switch, for example. There are also examples
of rotary solenoids, where a cylindrical coil is used. In this case, when a current
is supplied to the coil, it would cause a rotational movement of the plunger.
Uses of actuators
» They are used to control motors, pumps, switches, buzzers and so on.
» They allow a computer to control physical devices that normally require
analogue inputs.
Advantages of actuators
» They allow remote operation of many devices (for example, pumps in a nuclear
reactor where remote operation is a big safety factor).
» They are relatively inexpensive devices.
Disadvantages of actuators
» They are an additional device in the system that could go wrong.
» Because they are usually analogue devices, computer signals need to
converted using a DAC to enable computer control.
55
Exam-style questions
1 a State one suitable application for each of the following printers.
A different application should be given in each case.
» inkjet printer
» 3D printer [2]
b Name another type of printer and describe one way in which it is
different from the two printers named in part a.[3]
2 Contactless debit cards are replacing standard debit cards. Some
countries are introducing contactless debit card transactions at ATM machines.
Give three disadvantages to the customer of using these cards at an ATM.
[3]
Cambridge IGCSE Information and Communication Technology (0417) Paper 12 Q12,
October/November 2017
3 In each of the following questions, only one of the responses is
correct. Choose one of the five options given. [10]
a Which one of the following is the most suitable device for inputting
a short report into a computer?
a trackerball
b scanner
c keyboard
d optical mark reader (OMR)
e joystick
c Which one of the following is NOT a suitable use for an optical mark reader?
a reading barcodes
b multiple-choice exam papers
c choice of candidate in voting forms
d opinion poll survey
e data collection with limited options
d Which one of the following is the most appropriate device for printing out
wage slips, where carbon copies are also required?
a laser printer
b (graph) plotter
c inkjet printer
d actuator
e dot matrix printer
56
e Which one of the following devices could be used to produce a very large
drawing on plastic sheeting?
a (graph) plotter
b laser printer
c dot matrix printer
d 3D printer
e touch screen
f Which one of the following printers is most suitable for printing a very
large number of high-quality black and white leaflets?
a (graph) plotter
b laser printer
c dot matrix printer
d inkjet printer
e computer-aided design (CAD)
h Which one of the following devices allows the use of a light pen?
a CRT monitor
b LCD monitor
c barcode reader
d QR reader
e touch screen
57
4 Five devices are shown on the left and five descriptions are shown on the right.
By drawing lines, connect each device to its correct description. [4]
Display that uses light modulating properties of
Inkjet printer
crystals
59
Secondary storage includes all non-volatile devices that are not part of
primary memory. They allow data to be stored as long as required by the
user. This type of storage is much larger than RAM and ROM (primary
memory), but data access time is considerably longer. All applications,
the operating system, device drivers and general files (for example,
documents, photos and music) are stored in secondary storage. There
are three different categories of secondary storage which are based on
technology that uses the following media:
l magnetic
l optical
l solid state.
60