Documente Academic
Documente Profesional
Documente Cultură
T r
wWHfc I
j
l[iHli :
SI"
* #/
_
23
Chapter 2
Hardware and software
Learning objectives
By the end of this chapter, you will be able to:
m define hardware
evaluate internal and external hardware devices
explain the purpose of and evaluate storage devices
explain the purpose of input and output devices
evaluate input, storage and output devices for a given task
define soft ware
evaluate different types of soft ware
explain the purpose of system soft ware
evaluate application software
evaluate user interfaces
evaluate mental models
describe utility soft ware
compare custom-written and off -the-shelf soft ware
describe and evaluate a compiler and interpreter
ainiH
Cambridge International AS and A level IT
2.01 Hardware
Q Remember
The central processing unit (CPU) is the brain of a
1 KEY TERMS computer. It is the part of the computer that carries out
calculations, executes instructions and processes data. It
Hardware: a physical component of a computer system includes the arithmetic logic unit (ALU) and control unit (CU).
Device: a hardware component of a computer system
consisting of electronic components
Output device: a device used to communicate data or The ALU performs calculations and logical operations. The
information from a computer system CU runs the fetch-execute cycle which fetches instructions
Storage device: a device used to store data onto a storage from memory and executes them.
medium
Input data is taken from input devices (such as a
Input device: a device that allows data to be entered into a
computer system
keyboard) or storage and processed by the CPU, which
Storage medium: the medium On which data is stored
produces output data that can be stored or sent to an
output device (such as a monitor).
Volatile: data is lost when there is no power
Non-volatile: data remains When there is no power CPUs usually consist of multiple cores. Each core is
a separate processor, so a quad-core CPU has fpur
processors. Processors are measured by the number
Hardware of instructions they can process per second (hertz). A
3 GHz (gigahertz) processor can process up to 3 billion
© Remember
An item of hardware is a physical component that forms
part of a computer system. Items of hardware are often
instructions per second.
Motherboard
known as devices because they comprise electronic
components. Hardware devices can be internal to the
computer system (such as the central processing unit,
memory or motherboard) or they can be external to the
computer system (such as the monitor, keyboard or mouse). iv
Hardware is categorised into input, output and storage SB&
devices. Input devices allow data to be sent to a
computer (e.g. keyboard). Output devices allow the
v
communication of data/information from a computer (e.g.
monitor). Storage devices store data onto a storage
medium so that it can be used at a later time.
W
Internal hardware devices
Central processing unit
Figure 2.02 - A motherboard.
© Remember
The motherboard is a printed circuit board (PCB) which
connects the main components of a computer. Some
of these components may be an integral partofthe
motherboard. Such components can include Universal
Serial Bus (USB) ports, a network port and an integrated
graphics card. A motherboard will always include the main
bus which is used to transfer data between hardware
components.
Figure 2.01 - A central processing unit.
i
Chapter 2: Hardware and software
© Remember
Random access memory (RAM) is memory that is used
to store currently active programs and data. The more
A graphics card is also known as a video card, display
adapter or graphics adapter. It is a printed circuit board
that connects to one of the motherboard’s expansion
RAM that is available to the computer, the more data and slots. Its purpose is to generate the signals needed to
programs can be used at the same time. display the output image from the computer. Often the
graphics adapter is integrated into the motherboard and
does not require a separate card. However, by using a
This is particularly important in multitasking separate card, the graphics performance can be improved
environments, when several programs may be open at the as a separate processor can be used for graphics (a
same time. graphics processing unit).
When the RAM becomes full, programs or data that are
no longer active will be removed to make space for new
programs or data. Ifthe RAM becomes full and there are
no inactive programs or data to remove, then an area of
secondary storage (e.g. hard disc drive (HDD) or solid state
drive (SSD)) known as virtual memory is used to expand
the amount of memory available to the CPU. Virtual
memory is very slow because secondary storage access
times are thousands of times slower than RAM access
times.
RAM is volatile, which means the content of the memory
is lost if there is no power to the RAM. When you are using
a computer and experience a power cut, this is why the
data you are currently using is lost unless it has recently
been saved to secondary storage. Figure 2.03 - A graphics card.
Read only memory Graphics cards include a variety of options for output.
Read only memory (ROM) is memory that, once it has been Standard video graphics array (VGA) output to a monitor
written to, can no longer be changed. It is permanent and it is achieved through the RGB port which transmits red,
is non-volatile, which means that when there is no power green and blue signals to the monitor in an analogue
to the computer, the contents of the ROM will be retained. format. High definition display is achieved through a
This is because it is powered by a small long-life battery. high-definition multimedia interface (HDMI) port. Another
option is Digital Video Interface (DVI) which supports high
resolution displays using digital signals.
and a single input for line level devices (blue socket). If Attachment (SATA) or Integrated Drive Electronics (IDE)
higher quality or surround sound is required, then it is cable.
usually necessary to have a separate sound card which
connects to one of the motherboard’s expansion slots.
This will enable multiple outputs for front, rear, centre and
sub-woofer speakers.
n
Hard disk drive
A hard disk drive (HDD) is the most common form of
secondary storage for a computer due to its relatively low 1>
DISCUSSION POINT
Do you know where the phrase ‘my computer has crashed’
v» comes from? It relates to when the read-write head crashes
into a platter and causes damage to the hard disk, meaning
that data and programs can no longer be retrieved.
Monitor
TASK
Although not an essential part of every computer
Have a look at the inside of an old computer. Identify system, a monitor is certainly an essential part of most
each of the main components that can be seen on the computer systems as it enables the user to visualise the
motherboard, the hardware devices that are connected output. It is connected to the computer using one of the
to it and any available connection ports.
ports on a graphics card. Monitor sizes are measured
diagonally and, apart from some very old ‘legacy’
monitors, they now have flat screens which minimalise
External hardware devices the amount of desk space that is used and they are
Cloud light enough to be mounted on a wall or a desk using a
bracket or on a shelf.
Cloud computing is a term that refers to anything where
computing services are hosted over the internet and A monitor will be limited by its resolution. This is
not in the same physical location as the computer being the number of pixels it can display and is measured
used. Data is stored on banks of servers that are accessed horizontally by vertically. For example, a high definition
remotely. The physical devices that store the data are (HD) monitor can display 1920 x 1080 pixels. Some monitors
owned by a hosting company rather than the person or also include a touch interface (known as a touch screen),
organisation using the data. which means that the user can select items by directly
interacting with the display on the screen. These are often
When data is stored in the cloud, the hosting company
integrated into tablet computers and mobile phones.
takes all responsibility for storing the data, managing the
data, securing the data and backing up the data, so that
Keyboard
people or organisations no longer have to be concerned
with this. As the data is stored remotely, it also means that
it can be accessed at any time in any place, so people do
* 't o
not have to be sitting at a specific computer or within an
organisation to access that data. •M
/ X
A *r
r- u
to X NX
'A A.
vi<S
Examples of cloud storage for personal use include: > V
• OneDrive 1
o’
• Google Drive
9-
• Dropbox -r A
• Box Figure 2.06 - A Chinese keyboard.
Mouse
A mouse is a pointing device which allows objects to be
selected and manipulated on the screen. The mouse
controls a pointer which is displayed on the screen. When
the mouse is moved, the pointer moves and objects
iU,
f *
such as menus can be selected on the screen using one
of the mouse buttons. Like a keyboard, a mouse can be
connected using a USB port, by wireless Bluetooth or by
other wireless technology.
Printer
A printer produces a hard copy (printout) from a
computer usually onto paper. A simplex printer can print
on a single side of paper, whereas a printer with a duplex Figure 2.07 - Modern inkjet plotter.
unit can print on both sides of each sheet of paper.
Some printers include additional functions such as a
scanner. Speakers
Speakers are used to provide sound output from a
Laser printer computer. These can be as simple as a pair of stereo
A laser printer negatively charges a cylindrical drum speakers or full surround sound.
which then attracts electrically charged toner (powdered
ink). The toner is then heated so that it melts onto the
paper. TASK
Find out the difference between mono sound, stereo
Inkjet printer sound, 5.1surround sound, 6.1 surround sound and 7.1
Cartridges full of ink in four different colours (black, cyan, surround sound.
magenta, yellow) are used to ‘squirt’ ink onto the paper to
form the required printout.
Plotter Webcam
In the 1990s, a plotter used to ‘plot’ lines onto large sheets A webcam is a camera that is connected to the computer
of paper by moving the paper backwards and forwards for the purpose of capturing still or moving images while
and drawing using pens to create vector drawings. Today, using the computer. It will not be as high quality as a
plotters are inkjet printers designed to be used with large dedicated digital camera or digital video camera. It will
sheets of paper, typically A2, A1 and AO. If only black and usually have an integrated microphone for capturing
white printouts are required, then light-emitting diode sound. Its main purpose is for users to engage in online
(LED) plotters are much faster and have cheaper running video chat or video conferences. They can also be used as
costs than inkjet plotters. security cameras.
Chapter 2: Hardware and software
r
character recognition (OCR) to recognise the text. Some Magnetic ink is used to print numbers at the bottom of
flat-bed scanners include an automatic document feeder checks. The numbers are printed using the MICR E-13Bor
(ADF) that enables documents with multiple pages to be CMC-7 font. The ink contains iron oxide which means that
scanned in one operation. it is easily detected when using a magnetic ink character
reader (MICR) and the characters can be understood.
It is important that mistakes aren’t made and so MICR
provides a much better level of accuracy than OCR.
s
An optical character reader (OCR) is a device that
enables characters on a document to be identified
and understood by the computer as letters, numbers,
characters and words. This isn’t really a device in itself,
but is a scanner combined with software that performs
optical character recognition (also OCR). The picture of the \
document is analysed and characters are recognised by
the software and turned into a document so that the text
can be searched or edited.
Barcode reader
A barcode reader is used to detect the width of lines and
gaps that form a barcode. A laser beam is shone onto the
barcode and a photodiode is used to measure the amount
of light that is reflected back. Black lines will not reflect
any light but white gaps will. A barcode represents letters
and numbers which usually identify something, such as
A a book or other product. The barcode scanner usually
includes its own hardcoded circuitry so that it can send
the letters and numbers directly to the computer without
Magnetic ink
the need for additional software.
Figure 2.09 Checkbook with magnetic ink.
Chapter 2: Hardware and software
A pen drive is a nickname for a USB flash drive. It is a small Find out about the next advancement in optical storage,
the holographic versatile disc (HVD).
data storage device about the size of a thumb which
stores data on flash memory and includes an integrated
USB interface. The USB interface means that the flash
drive is recognisable on all computers with a USB port Memory card
and therefore data can be transported easily between A memory card is flash memory on a small card. They are
computers. Flash memory is very fast and so the limiting typically used in digital cameras, digital video cameras
factor is the speed of the USB port. As a flash drive does and mobile phones. They take up very little space so are
not have any moving parts it is safe to transport, although well suited to fitting into a small device, as well as being
its size means that it can be easily lost. It also does not rely portable so that data can be transferred to a computer.
on magnetising and therefore is not susceptible to damage There are many different formats of cards, but most
if it comes in contact with a strong magnetic field. devices favour Secure Digital (SD) and microSD cards.
MicroSD cards are only 15 x 11 x 0.1mm in size.
Portable hard disk drive
Hard disk drives were introduced earlier in this chapter. As
well as an internal HDD, it is possible to have an external TASK
HDD. An external HDD can be connected to the computer Categorise each of the internal and external hardware
using a USB or External Serial Advanced Technology devices into input, output and storage devices.
Attachment (eSATA) port. An external HDD can store
a lot more data than a USB flash drive, but it is more
susceptible to damage due to it having moving parts and
its vulnerability to strong magnetic fields.
Storage devices
• when using a database, each new record or change Compact Digital versatile Blu-ray
to a record will be saved to the database in secondary disc (CD) disc (DVD) disc
storage
• the user may want to back up thedata so that a spare Capacity 700 MB 4.7 GB 25 GB
copy is available. (single
layer)
Other reasons for secondary storage include:
Original Music Films HD films
• each program will be stored on secondary storage ready purpose
to be loaded into RAM when the program is opened
• the computer will use secondary storage to save a Table 2.02 - Types of optical storage.
virtual memory file which extends the amount of RAM
available, albeit making the virtual part of the memory In addition to distributing music and films, optical storage has
very slow. been a popular medium to distribute software due to the low
cost of each disc, the fact that read-only versions of each disc
Magnetic tape drive exist and the low cost of posting them. Using recordable and
Magnetic tape is used for backing up and archiving data. rewriteable versions of optical discs makes them suitable for
Data is stored serially which means one item after another. backups and archives. It is quickerto restore a single file from
The tape is wound through the tape drive and as it an optical disc backup ratherthan a tape backup because
winds through data is written to it. The low cost and high the file can be accessed directly ratherthan havingto read
capacity of tapes makes them ideal for backing up and through a whole tape. This also makes optical discs more
archiving data because the data is simply stored in suitable for archived data because files can be found quickly.
a sequential manner. The capacity of optical discs is much less than tapes, which
When retrieving data, it does take a while to find the means they are only suitable for backing up a selection of
data that is required because the tape has to be files rather than the whole of secondary storage.
wound to the exact position where the data is
stored. This makes it unsuitable for everyday use. Hard disk drive
Backups and archives are not intended for everyday HDDs were introduced earlier in this chapter. Their principal
use. If data does need to be restored from backup, purpose is to act as the main secondary storage device for
it may take a while but it is at least available when a computer. Data and programs are stored on the HDD so
needed. If the whole of a computer’s secondary that they can be accessed as and when required. External
storage needs to be restored, then this can be done HDDs can also be used to back up data (although this is
by reading the tape sequentially. an expensive way of doing it) or to transfer data to another
computer. Moving parts within a HDD make it vulnerable to
Tapes are ideal for backing up the whole of secondary
damage if dropped.
storage for a computer or server because they can hold
several terabytes (TB) of data. In 2014, Sony developed a
Solid state drive
tape capable of storing 185TB of data.
SSDs were introduced earlier in this chapter. Similar to a
HDD, a SSD can store the data and programs that are used
TASK
by a computer. SSDs are faster than HDDs, but also more
expensive. SSDs require less power than a HDD so they are
Find out how the grandfather-father-son backup
often used in tablet computers and high-end laptops to
rotation system works using magnetic tapes. How many
tapes would be needed if the monthly backups were
extend the battery life. Storing the operating system and
kept for three months at a time? programs that are used most on a SSD instead of a HDD
will significantly improve the performance of a computer.
Optical TASK
Optical storage was introduced earlier in this chapter Compare the prices of SSDs and HDDs. Work out an
under the heading Blu-ray. In 2015, there were three main approximate cost per megabyte (MB) for each.
types of optical storage.
Chapter 2: Hardware and software
Cost of purchase The cheapest cost More expensive per MB Usually a subscription Designed for
per MB for everyday than a hard disk (e.g. charge that varies portability and so
storage (e.g. $0.06 per $0.10 per GB). depending on cost per MB varies
GB). supplier. depending on size.
Running Requires constant Does not require Running costs are Power only required
cost / power supply of electricity constant source of included within a when in use.
consumption when the disk is spinning power as only needed subscription charge. Portability means that
but if not in use can be when in use. they may get damaged
temporarily turned off. and need replacing.
Moving parts mean that
it may fail in the future.
Speed of access Depends on SATA Up to 30% faster Depends on Depends on whether
connection used. access speed than broadband using USB 2 or USB
hard disk. bandwidth of user 3 ports. USB 3 offers
and that offered by faster data transfer
supplier. than USB 2.
Interoperability If internal, can only If internal, can only Can logon from any Can be connected to
be used in device be used in device device including any device with a USB
connected to unless connected to unless mobile devices. port.
moved permanently, moved permanently,
but if external can be but if external can be
used in any device with used In any device :
a USB port. with a USB port.
Typical use In a desktop computer. Laptop and tablet Collaboration with For transferring data
computers. other users, backups, between devices.
sharing of files and
general storage.
o TIP
Input devices allow data to be sent to a computer (e.g.
Figure 2.11 - IPOS diagram.
Data that has been stored can also be processed and then
output from the computer.
keyboard). Output devices allow the communication of
data/information from a computer (e.g. monitor). When
data is input into a computer, it is processed and then
either output from the computer or stored for later use as
EXAMPLE
J
Multiple choice answers from an examination are
shown in Figure 2.11and is known as an input-process-
output-storage (IPOS) diagram. scanned using an OMR and the answers for each
student are stored. Once all the answers have been