Ict 2-22
Ict 2-22
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,
smar tphone, tablet and phablet)
★ emerging technologies – artificial intelligence (AI) and extended reality
(v ir tual and augmented).
Computer s ystems are now commonpl ace in every part of our daily life.
T his f ir st chap ter intro duces the b a sic comp onents that make up the se
computer s y s tem s; most of w hich w ill be de s cr ibed in much gre ater depth
in l ater chapter s. B asic component s, including har d w are (both ex ter nal
and inter nal) and s of t w are (both applic ations and s y s tem), are all br iefly
intro duced in the follow ing s e c tion s .
C omp ar ing books w ith computers is a good analog y: the ac tual p ages
and the ink us ed on the p ages are e qui v alent to the har d w are us ed to
make up computers; the words written on these pages are equivalent to
the s of t w are. W ithout the wor ds, the book is us ele s s. Simil ar ly, w ithout
sof t w are, computers would be of lit tle use to any of us .
2
1.1 Hardware and software
3
1 Types and componenTs of compuTer sysTems
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
1.1 Hardware and software
5
1 Types and componenTs of compuTer sysTems
6
1.2 Main components of computer systems
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
7
1 Types and componenTs of compuTer sysTems
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.
1.2.2 Internal memory
Random access memory (RAM) is an internal chip where data is temporarily stored
when running applications. This memory can be written to and read from. Because
its contents are lost when power to the computer is turned off, it is often referred
to as a volatile or temporary memory. This was fully described in Figure 1.1.
Read-only memory (ROM) is a memory used to store information that needs to
be permanent. It is often used to contain, for example, configuration data for
a computer system. Chips used for ROM cannot be altered and can only be read
from (hence their name). One of the main advantages is that the information
stored on the ROM chip is not lost, even when power is turned off to the
computer. They are often referred to as non-volatile memories. This was fully
described in Figure 1.1.
It is worth noting that that ROM also contains some coding known as the boot
file. This code tells the computer what to do when it first starts up; it is often
referred to as the BIOS (basic input/output system).
When the computer is turned on, the BIOS carries out a hardware check to find
out if all the devices are present and whether they are functional. Then it loads
the operating system into the RAM.
The BIOS stores the date, time and system configuration in a non-volatile chip
called a CMOS (complementary metal oxide semiconductor) – this is usually
battery powered.
Table 1.2 provides a summary of the main differences between RAM and ROM.
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
8
1.2 Main components of computer systems
to receive commands from its users and data so it can share the results of its processing
with
to a human;
process; theoutput
devices devices are the
are under under the
control
control
of of the
the user computer.
or can be direct data entry.
Outputdevices
Input devicescan
arebeless complex
fairly than input
complicated
devices because
because they have they only have
to ensure thattothe
turn
user
computer
can signals
interact intocomputer
with the an output.correctly.
9
1 Types and componenTs of compuTer sysTems
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
memor y.
▼ Table 1.4 Comparison of internal memory and backing storage
Backing
Internal storage
memory
Backing
RAM storage
contents are
permanently, devices
lost
even whenhold
when their down.
computer
powered contents
is
powered down; ROM contents are readable
only.
RAM and ROM are much smaller memories
than backing storage. Have considerably larger capacity to store
Data access time on RAM and ROM is data than RAM or ROM.
extremely fast. Has much slower data access time than
Much more expensive per byte than backing RAM and ROM.
storage devices.
RAM and ROM are fixed inside the computer Is much cheaper per byte than RAM or ROM.
(internal memories).
Backing storage can either be fixed
(external or internal) or it can be removable.
Before data on a backing storage device can
RAM and ROM can be read directly by the be read by the CPU, it must first be moved
CPU. into RAM; this means backing storage is not
directly addressable by the CPU.
10
1.3 Operating systems
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
1 Types and componenTs of compuTer sysTems
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.
12
1.3 Operating systems
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
1 Types and componenTs of compuTer sysTems
» 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
1.4 Types of computer
15
1 Types and componenTs of compuTer sysTems
16
1.4 Types of computer
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,
» 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
1 Types and componenTs of compuTer sysTems
» 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
ear lier).
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
1.4 Types of computer
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
1 Types and componenTs of compuTer sysTems
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 de v ice s?
the internet.
20
1.5 Emerging technologies
▲ Figure 1.15 An autonomous ▲ Figure 1.16 Robotic research ▲ Figure 1.17 Robots are used to help
(driverless) vehicle – we already is leading to improvements in people carry out dangerous or
have driverless trains and technology to help amputees and 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
1 Types and componenTs of compuTer sysTems
» 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
1.5 Emerging technologies
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