Sub ICT Topic 4 - Computer Hardware
Sub ICT Topic 4 - Computer Hardware
Introduction:
Computer hardware refers to the physical/tangible parts of a computer that can
be seen and touched.
All computer hardware is majorly divided into five broad categories which include:
Input devices
Output devices
Storage devices
Processing devices
Communication devices
Note:
Computer hardware can be broadly grouped into internal and external
computer hardware.
Peripheral devices are any external devices that can be
connected/attached to the system unit (computer).
Internal Hardware Examples External Hardware Examples
CPU eGPU
Drive (e.g. CD drive, DVD drive, Flash drive
floppy drive, hard drive, and Flat-panel, Monitor, and LCD
SSD). Hard Drive
Fan (heat sink) Headphones
Modem Joystick
Motherboard Keyboard
Network card Mouse
Power supply Printer
RAM Projector
Sound card Scanner
Video card Speakers
USB drive
Sub-Topic: Computer Input Devices
Input devices are hardware components that allow a user to enter data and
instructions into a computer
Input is any data or instructions you enter into the computer with a special input
device.
The two types of input are: data and commands/instructions
The most common input devices include the following:
Keyboard
Mouse
Joy Stick
42
Light Pen
Digital Cameras
Voice Recognition Equipment
Microphone
Scanner
Magnetic ink character recognition (MICR)
Optical character recognition (OCR)
Optical Bar Code Reader (OBR Reader)
TouchPad
Optical Mark Recognition (OMR) Reader
MIDI (Musical Instrument Digital Interface) Device
Webcam
Biometric Device
Mouse
A mouse is a pointing device that controls the movement of the cursor on a
display screen.
As you move the mouse, the pointer on the display screen moves in the
same direction.
In particular, the mouse is more important for graphical user interfaces.
Functions of a mouse:
Pointing: this means positioning a pointer over an item
Clicking/left-clicking: this means pressing and releasing the primary button
(usually left-click button) one time. Used when selecting items on your
screen or when executing a command with a command button.
Double clicking: this means to press and release the primary button
(usually left-click button) twice in a quick succession. Used to open items
(files, folders and programs)
Dragging: this means hold down the primary button (usually left-click
button), move the mouse/item to the desired place and release the button.
Used when moving items on the screen.
Right click: this means pressing and releasing the secondary button
(usually right-click button) one time to display a popup menu with options.
Used when displaying additional options possible on an item/situation.
Scrolling: this means to roll the mouse wheel forward or backward. Used
when scrolling up and down lines/pages.
44
Steps of Clicking/left-clicking
Position the pointer over an item
Press once and release the primary button (usually left-click button)
This selects a file/folder/program or executes a command
Steps of dragging:
Position the pointer over an item
Press and hold down the primary button (usually left-click button)
move the mouse to the desired place, release the button
This moves a file/folder/program to a desired place
Types of Mice
Mechanical mouse: a mechanical mouse has a rubber ball on the
underside to detect the movements of the mouse.
Optical mouse; this mouse uses light on the underside to detect the
mouse‘s movements.
Trackball mouse; is a stationery pointing device with a ball mechanism on
the top, used to detect the movements of the finger.
Touchpad mouse; is a small, flat, rectangular pointing device that is
sensitive to pressure and motion from the finger(s).
Presentation Mouse; before the presentation mouse, a separate laser
pointer and mouse were needed during presentation. The presentation
mouse combines a mouse and laser pointer together.
Stylus Mouse; This is a cross in between a pen and mouse. The stylus
mouse is about the size of a very fat brush, typically used for freehand
drawing with computers.
Gaming Mouse; While a typical mouse usually only have 3 buttons, a
gaming mouse is characterized by having many buttons and touting itself to
be accurate. These extra buttons are often programmable to do various
45
things, mostly for the purpose of gaming.
Laser mouse; the laser mouse is also a kind of optical mouse, and the
working principals are the same. It uses a laser beam instead of an LED to
sense the movement.
Wireless Mouse; Wireless mouse uses radio frequency (RF) to
communicate with the computer.
Major problems that often affect the proper functioning of the mouse
Dirt disrupts motion of the ball
Nature of the surface-not too rough or too smooth
Disconnection of the chord in case the mouse falls on humps
Connecting the mouse to the system unit one must be very careful to follow
the directions of the pins
46
Keyboard
The keyboard is the primary input and control device of a computer. Data and
commands are entered into a computer via the keyboard.
Keyboard Layout
A keyboard layout is the mechanical and visual arrangement of keys and key
labels respectively on a keyboard.
QWERTY QWERTZ
AZERTY DVORAK
Note:
DVORAK commonly used keys are on the home row. Least used keys are
on the bottom row.
DVORAK keyboard is more efficient and can increase typing speed.
47
The original PC keyboard, with 84 keys; the AT keyboard, also with 84
keys; and the enhanced keyboard, with 101 keys.
The three differ somewhat in the placement of function keys, the Control
key, the Return key, and the Shift keys.
Numeric Keys:
They include numeric 0-9 keys.
They are used to type numbers.
This is similar to a calculator and can be utilized as an adding machine
once the num lock (number lock) is off. It is usually located on the right side
of the keyboard.
Special keys:
On a computer keyboard, there are keys which are not found on a
typewriter keyboard.
These keys are the ones called special keys. They include; Alt (Alternate)
and Ctrl (Control).
48
Cursor control keys:
A cursor is a blinking bar on the screen which indicates where text should
be.
When the cursor fails to come, you cannot enter data in a computer.
Cursor control keys include: Home, End, Page down, Page up, Insert, End,
Arrow/Movement keys which drive the cursor across the screen.
Function Keys:
These are keys on a computer keyboard used for particular functions.
They are near the top of a keyboard marked F1, F2, F3, F4, F5, F6, F7, F8,
F9, F10, F11 and F12
They are used to perform special functions in different computer programs
49
MINI PS/2 keyboards are very
small in size and are
compatible with the PS/2
computers.
These keyboards resemble
laptop keyboards and are
square in shape.
This keyboard is composed of
fewer key and does not have a
detached numeric keypad.
Multimedia Keyboard
The multimedia keyboard is
specially designed for people
who do multimedia designing.
This keyboard is just like the
standard keyboard, but
composed of additional keys
for multimedia purposes such
as volume control and mute
buttons.
Internet Keyboard
Internet keyboards are
designed for wider range of
multimedia applications and
intense Internet users.
The special keys included in
this keyboard are the home
key, back and forward key, e-
mail launch key, and browser
launch key etc.
These keys carry out the same
functionality as the buttons on
the webpage.
Wireless Keyboard
It operates without a wired
connection to the system unit.
The wireless keyboards are
also referred as cordless
keyboards.
These keyboards require
50
batteries and a Bluetooth
connection to the computer.
Gaming Keyboard
Gaming keyboards designed
for gamers.
These keyboards are
composed of particular gaming
keys/controls. ?They are
available in wired and wireless.
Membrane Keyboard
The keys in this keyboard are
non-moving pressure-sensitive
keys.
The keys are so close, and it‘s
impossible to spill liquids into
the keyboard.
The keys are covered by a
transparent, plastic shell.
Membrane keyboards are also
used in mobile phones and old
landline phones.
Touch Screen Keyboards
Is a visual keyboard on your
display screen that can be
used in place of a physical
keyboard.
Commonly used on smart
phones, tablets, phablets and
the most recent advances in
computers.
Note:
Function keys and their functions
F1 Used as the help key in almost every program.
Opens a help screen when this key is pressed.
Enter BIOS setup.
51
F2 In Microsoft Windows, renames a highlighted icon, file,
or folder in all versions of Windows.
In Microsoft Excel, edits the active cell.
Quickly rename a selected file or folder.
Enter BIOS setup.
F3 Opens a search feature for many programs, including Microsoft
Windows when at the Windows desktop.
In some programs, after an initial search is performed, F3 will
find the next search value.
In Windows Explorer, starts the search function.
F4 Open the address bar in Windows Explorer and Internet
Explorer.
Repeat the last action performed (Word 2000+).
F5 In all modern Internet browsers, pressing F5 refreshes or
reloads the page or document window.
Refresh the list of contents in a folder.
Open the find, replace, and go to window in Microsoft Word.
Starts a slideshow in PowerPoint.
F6 Move the cursor to the address bar in Internet Explorer, Mozilla
Firefox, and most other Internet browsers.
Reduce laptop speaker volume (on some laptops).
F7 Commonly used to spell check and grammar check a document
in Microsoft programs such as Microsoft Word, Outlook, etc.
Turns on Caret Browsing in Mozilla Firefox.
Increase laptop speaker volume (on some laptops).
F8 Function key used to enter the Windows startup menu.
Commonly used to access Windows Safe Mode.
Used by some computers to access the Windows recovery
system, but may require a Windows installation CD.
F9 Refresh document in Microsoft Word.
Send and receive e-mail in Microsoft Outlook.
F10 In Microsoft Windows, activates the menu bar of an open
application.
Enter BIOS setup on some computers.
Increase laptop screen brightness (on some laptops).
F11 Enter and exit full screen mode in all modern Internet browsers.
F12 Open the Save as window in Microsoft Word.
Access the list of bootable devices on a computer at startup,
52
allowing you to select a different device to boot from (e.g., hard
drive, CD or DVD drive, floppy drive, USB drive, and network).
Keyboard keys and their functions:
Alt Key A computer key that you press together
with another key so that the other key does
something different from what it usually
does.
Arrow Keys Arrow Keys (up, down, left, or right arrow)
(up, down, left, or right Used for moving the cursor up, down, left,
arrow) or right arrow.
Backspace Key Rubs all characters to the left of the cursor.
Caps Lock A key on a computer keyboard that makes
all the keys produce capital letters.
Control Key Used in combination with other keys for
doing particular operations. This key is
usually marked ‗Ctrl‘.
Delete Key Rubs all characters to the right. This key is
sometimes referred to as del.
Enter Key Makes the computer perform an action or
move the cursor to a new line of writing.
Escape Key Allows someone to stop an action, leave a
program, or return to a previous menu.
This key is usually marked ‗Esc‘.
Function Key A special button on a computer keyboard
that is used for a particular operation in a
program.
The keys near the top of a keyboard
marked ‗F1‘ to ‗F12‘ are function keys.
Num Lock Pressed to make the number keys below it
enter numbers and not be used for moving
up and down a document.
Shift Key The key that you press on a computer
keyboard when you want to write a capital
letter or a symbol.
Space Bar The long narrow bar at the front of a
computer keyboard that you press to make
a space between characters when you are
typing.
Tab key A tab key creates bigger space between
53
characters during typing.
Insert Pressing this key during typing switches
between two modes:
Mode 1: What you type appears before the
cursor and pushes any text that comes
after it to the right.
Mode 2: Any text that you type
successively replaces any text that is to
the right of the cursor.
Scroll Lock Used in conjunction with the arrow keys to
scroll through the contents of a window or
document
Print Screen Pressing the Print Screen key captures an
image of your entire screen.
Keyboard Shortcuts
Keyboard shortcuts are keys or combinations of keys that provide an alternative
way to do something that you‘d typically do with a mouse.
Shortcut Function
Alt+F File menu options in current program.
Alt+E Edit options in current program.
Alt+Tab Switch between open programs.
F1 View help information
F2 Rename a selected file.
F5 Refresh the current program window.
Ctrl+N Create a new or blank document, open a new tab in most
browsers.
Ctrl+A Select all text.
Ctrl+O Open a file in the current software.
Ctrl+B Change selected text to be bold.
Ctrl+I Change selected text to be in italics.
Ctrl+U Change selected text to be underlined.
Ctrl+F Open find window for current document or window.
Ctrl+S Save current document file.
Ctrl+X Cut selected item.
Shift+Del Cut selected item.
Ctrl+C Copy selected item
Ctrl+Ins Copy selected item.
Ctrl+V Paste
54
Shift+Ins Paste
Ctrl+Y Redo last action.
Ctrl+Z Undo last action.
Ctrl+K Insert hyperlink for selected text.
Ctrl+P Print the current page or document.
Home Goes to beginning of current line.
Ctrl+Home Goes to beginning of document.
End Goes to end of current line.
Ctrl+End Goes to end of document.
Shift+Home Highlights from current position to beginning of line.
Shift+End Highlights from current position to end of line.
Ctrl+Left arrow Moves one word to the left at a time.
Ctrl+Right arrow Moves one word to the right at a time.
Ctrl+Esc Opens the Start menu.
Ctrl+Shift+Esc Opens Windows Task Manager.
Alt+F4 Close the currently active program.
Alt+Enter Open the properties for the selected item (file, folder, shortcut,
Joy Stick
This is a lever that moves in all directions and
controls the movement of a pointer or some other
display symbol.
A joystick is similar to a mouse, except that with a
mouse the cursor stops moving as soon as you stop
moving the mouse.
With a joystick, the pointer continues moving in the
direction the joystick is pointing.
Joysticks are used mostly for computer games, but they are also used
occasionally for CAD/CAM systems and other applications.
Advantages
It allows fast interactions required in most games
Disadvantages
It is difficult to use a joystick to select objects accurately on the screen
Light Pen
This is an input device that utilizes a light-
sensitive detector to select objects on a display
screen.
55
A light pen is similar to a mouse, except that with a light pen you can move
the pointer and select objects on the display screen by directly pointing to
the objects with the pen
It allows the user to point to displayed objects, or draw on the screen, in a
similar way to a touch screen but with greater positional accuracy.
Advantages
Using a light pen is more direct and precise than using a mouse
It is convenient for applications with limited desktop space
Disadvantage
Normally require a specially designed monitor to work with
Digital Cameras
A digital camera is an electronic device used to
capture and store photographs electronically in a
digital format, instead of using photographic film like
conventional cameras, or recording images in an
analog format to magnetic tape like many video
cameras.
Modern compact digital cameras are typically
multifunctional, with some devices capable of recording sound and/or video
as well as photographs
They are largely used in desktop publishing to mix graphics with text
Advantages
You can instantly see the picture you just took
You can delete unwanted pictures
You will not have to buy films again
They have many advanced features in a small form factor
You don‗t have to print every picture
You have complete control of the final print after editing on the computer
There is no risk of negatives getting lost or scratched
They can store hundreds of pictures
Photographic images can be digitized directly without using a scanner
Disadvantages
Generally higher cost per print although getting cheaper
More sensitive to shocks and dropping
Lower quality than film although the gap is closing
Can be battery hogs
56
Shutter delay is longer on low-end models
Generally have poor low-light focusing ability
Digital cameras are normally more expensive than ordinary film cameras
Advantages
No typing of data is necessary
The system can be used remotely by telephone or by people whose hands
are occupied or disabled.
Are ideal for blind or visually impaired users
Disadvantages
Limitation on the size of the computer vocabulary
Pronunciation differences among individuals
Computer‗s inability to accept continuous speech
Error rate is still high at the moment
Recognition of words is slow
The system is not suitable for use in noisy places
The software must be trained to recognize specialist or technical words
Many people find it difficult to speak in a writing style
Microphone
This is an input device that allows a user to speak to a
computer to enter data and instructions into the
computer.
Microphones use a sensor that converts sound into an
electrical signal.
Scanner
Scanner is an input device used to convert images or text on paper into a
digital/electronic format that can be used by the computer.
A scanner works by shining a beam of light onto the surface of the object
that you are scanning.
This light is then reflected back onto a sensor that detects the colour of the
light. This is then used to build up the digital image.
57
Note:
Scanners use special software (Optical Character Recognition software) to
convert the scanned text into text which can be edited with a word
processor.
However, the text doesn't always get converted very well and you could
end up with a lot of mistakes.
Flatbed Scanners
Flatbed scanners have a large glass surface and a lid. These scanners
work best with flat objects, such as photos and papers, but you can also
place larger items such as open books onto the scanner bed.
Some models of flatbed scanner come built in to all-in-one devices, which
function as printers, scanners, copy machines and fax machines.
Hand Scanners
Hand scanners are small wand-shaped. You use a hand scanner by slowly
dragging it over the entire surface area of the document you want to scan.
Unlike flatbed scanners, hand scanners allow you to scan items of any
size. they rely on a steady hand and offer lower quality output than a
flatbed.
Sheetfed Scanner
Sheetfed scanners scan loose papers placed in a tray by pulling them
across a static scanning lens.
These devices make it easier to scan a large stack of papers than a flatbed
scanner, where you would have to insert and remove each page.
Advantages
Flatbed scanners are very accurate and can produce reasonably high
quality images
Any image which is digitized by the scanner can then be included on
58
electronic documents
Images once digitized can be enhanced with a graphics application
A scanner with appropriate OCR software can work as an OCR system
Disadvantages
Scanned images can take up a lot of storage space
Images lose some quality in the scanning and digitizing process
The quality of the final image is dependent on the quality of the original
image
A scanner is best for two dimensional objects only
Advantages
Magnetic ink character recognition is difficult to forge
Documents can still be read when folded or written on
59
Disadvantages
Magnetic ink character recognition readers and encoders are very
expensive
The system can only accept a few different character sets
Optical character recognition (OCR)
These devices read special preprinted characters
and convert them in a form which can be
understood by the computer.
Examples of them are price tags and utility bills in
super markets
Advantages
Written data and printed data can be read at the same time
Hard copies of documents can be read directly into a computer without
retyping
The characters converted can later be edited by word processing software
Disadvantages
Optical character recognition readers often do not work well with
handwritten characters or those in unusual fonts
Optical Bar Code Reader (OBR Reader)
These are photoelectric scanners that translate
vertical zebra stripped marks seen on most
manufactured retail products into digital form
before passing them into the computer for
processing.
A barcode reader, also called a price scanner or
point-of- sale scanner, is a hand-held or stationary input device used to
capture and read information contained in a bar code
There are five basic kinds of barcode readers - pen wands, slot scanners,
Charge-Couple Device scanners, image scanners, and laser scanners.
Advantages
The process of data entry is fast and accurate
Bar codes can be printed by normal printing methods
No need to write down or key in the name of the item or its actual price
Disadvantages
Only numbers can be coded
Bar codes cannot be read directly by people
60
A bar code reader may misread a bar code if there is any dirt or mark on
the code
Touchpad
This is a Data input device sensitive to
pressure and motion.
It is a device for pointing (controlling input
positioning) on a computer display
It is an alternative to the mouse.
Originally incorporated in laptop computers,
touch pads are also being made for use with desktop computers.
Advantages
OMR proves to be highly accurate and is the most recommendable
technique when it comes to interpreting on simple yes or no answers.
It greatly minimizes the chances of human errors as there is no need to
process the data manually and everything is done by the use of technology.
It decreases the cost on manpower as everything is done by just the use of
a single computer where even the data can be stored.
OMR forms are easy to read and extract data from, if good OMR sheet
reader software is being used.
Disadvantages
If the marks don't fill the space completely, or aren't in a dark enough
61
pencil, they may not be read correctly.
Only suitable for recording one out of a selection of answers, not suitable
for text input.
The OMR reader needs the answers to be on the prepared forms which will
all be identical to one another.
The OMR sheets are subject to man-handling and can be folded and torn
during the complete process. To be read effectively by the scanner it
should be devoid of any worn and torn.
Webcam
A webcam is a video camera attached to a
computer that transmits images across the
Internet.
Web cams generates images that can be
accessed by and displayed on the World
Wide Web through a server.
A webcam is essentially just a camera that is
connected to a computer, either directly or
wirelessly, and gathers a series of images for
remote display elsewhere.
Biometric Device:
A biometric device is a security identification and authentication device.
Biometric devices use automated methods to verify and recognize the
identity of a person based on his/her physiological or behavioral
characteristics such as; fingerprints, facial images, Iris prints and voice
recognition.
62
Types of Biometric Sensor
Physiological Biometrics; mainly include face recognition, fingerprint, hand
geometry, Iris recognition, and DNA.
Behavioral biometrics; mainly include keystroke, signature and voice
recognition.
Printers
A printer is an output devices that produce text and graphics on a physical
media like paper.
They produce a hard copy (permanent human-readable text and/or
graphics) of documents stored in electronic form, usually on physical print
media such as paper.
In other words, you will be able to view that information on paper (or other
print media) instead of a computer monitor.
Printers come in many sizes and with numerous options however the major
differences between printers are: Reliability, speed, output and costs
Printers are categorized by how images are formed that is whether or not
the image is formed by physical contact of the print mechanism with paper.
There are two major categories:
Impact printers
Non-impact printers
The difference between impact printers and non-impact printers is that impact
printers tend to be considerably noisier than nonimpact printers but are useful for
multipart forms such as invoices.
Impact Printers
Impact printers are a class of printers that work by banging a head or
needle against an ink ribbon to make a mark on the paper.
They use pins or hammers which hit a ribbon to transfer images to paper.
64
Print media could be; Paper, Cloth, Plastic transparencies
Character/serial printers
These are low speed printers that copy the action of the type writers by
printing one character at a time.
Characters are engraved on the print heads directly. Character fonts
cannot easily be modified.
Examples of character printers; Daisy‗s wheel, Thimble printers etc.
Daisy‘s wheel
The daisy wheel is a disk made of plastic
or metal on which characters stand out in
relief along the outer edge.
To print a character, the printer rotates
the disk until the desired letter is facing
the paper.
Then a hammer strikes the disk,
forcing the character to hit an ink ribbon, leaving an impression of the
character on the paper.
This type of printer produces letter-quality type.
Thimble printers
These were earlier letter quality printers similar to a daisy wheel printer.
Instead of a wheel, characters were formed facing out and around the rim
of a thimble-shaped cup.
Advantages
These printers have high quality output.
They are the cheapest type of printers
Disadvantages
They are very slow
Are noisy
Cannot print graphics
65
Have limited type styles
Line printers
These are high-speed printers capable of
printing an entire line at one time. A fast line
printer can print as many as 3,000 lines per
minute.
The disadvantages of line printers are that
they cannot print graphics, the print quality is
low, and they are very noisy.
Examples of line printers; Chain printers,
Band printers, Belt printers, Drum printers etc
66
Advantages
They are faster than daisy‗ wheel printers
They are least expensive printers
Produce a variety of type face styles without changing the print mechanism
They can withstand dusty environment, vibrations and extreme
temperatures
They can print on continuous paper or multipart documents
They are the only printers which can use stencils
They can print on a triplicate document because of the striking mechanism
Low per page cost
Energy efficient
Disadvantages
They do not offer high quality output.
They are generally noisy because of the striking mechanism
They are relatively slow
They are not readily available on market
They are not easily serviced because they are based on old technology
Their colour print is limited to two (black and red)
67
Non-Impact Printers
Non-impact printers are printers that do not operate by striking a head
against a ribbon. They use chemicals, lasers or heat to form the images on
the paper.
The term nonimpact is important primarily in that it distinguishes quiet
printers from noisy (impact) printers.
They include the following:
Inkjet/DeskJet printers
Bubble jet printers
Thermal printers
Laser jet/page printers
Inkjet Printers
Inkjet printers spray extremely tiny and precise
ink droplets to create characters and graphics.
Based on color mixing principles, inkjet
printers utilize several ink cartridges containing
different colors to produce vivid color images.
Which is why inkjet printers are often applied
for picture-intensive printing
Examples of inkjet printers; HP Desk jet 690C,
Epson stylus 640
68
Bubble jet printers
These are a type of ink-jet printer developed
by Canon.
The bubble-jet printers use special heating
elements to prepare the ink.
Bubble-jet printers consist of a grid of ink-
containing nozzles that forms an image when
the ink is heated and expanded, forcing it out
onto the page. Examples include: Canon BJC
200
Advantages
High quality output
They are portable
They are battery driven
They are reasonably priced
Disadvantage
Bubble-jet printers do not print as fast or sharply as a laser printer
Thermal printers
Thermal printers are printers that use heat to
transfer an image onto a special paper.
Thermal printers produce images by melting
thermal ribbon to affix it upon paper or another
material.
There are two kinds of thermal printers: thermal
wax transfer and direct thermal.
69
Laser printer
Type of printer that utilizes a laser beam to
produce an image on a drum. The light of the laser
alters the electrical charge on the drum wherever it
hits.
The drum is then rolled through a reservoir
of toner, which is picked up by the charged
portions of the drum.
Finally, the toner is transferred to the paper
through a combination of heat and pressure.
Because an entire page is transmitted to a drum before the toner is applied,
laser printers are sometimes called page printers.
In addition to the standard monochrome laser printer, which uses a single
toner, there also exist color laser printers that use four toners to print in full
color.
Color laser printers tend to be about five to ten times as expensive as their
monochrome siblings.
Laser printers produce very high-quality print and are capable of printing an
almost unlimited variety of fonts.
In addition to text, laser printers are very adept at printing graphics.
However, you need significant amounts of memory in the printer to print
high-resolution graphics.
Because laser printers are nonimpact printers, they are much quieter. They
are also relatively fast. The speed of laser printers ranges from about 4 to
20 pages of text per minute.
Examples of laser printers; HP LaserJet 1100 series, HP Laser Jet 5M
colour printer, Epson EPL-N2000 PS printer
70
Disadvantage of laser printers
They are expensive especially the colour printers
Limited to cut sheet media
Slow for graphics output
Advantages of printers
Information produced is permanent
71
Disadvantages of printers
The time to get the printout is slow when compared to display devices
Paper is wasted for obtaining the output
Printers are generally noisier than display devices
72
Advantages of Cathode Ray Tubes
High resolution
Sharp contrast at large view angles
Disadvantages of Cathode Ray Tubes
They are bulky
Consume a lot of power
They are expensive
Flat panel displays
These are thin, weightless and low power consuming monitors used on
portable computers.
The monitors available are of three types of flat panel displays: LCD, TFT
and plasma
Liquid Crystal Display (LCD) Monitor
This is a type of display used in digital watches
and many portable computers.
It displays utilize two sheets of polarizing
material with a liquid crystal solution between
them.
An electric current passed through the liquid
causes the crystals to align so that light cannot
pass through them.
Each crystal, therefore, is like a shutter, either
allowing light to pass through or blocking the light. Monochrome LCD
images usually appear as blue or dark gray images on top of a grayish-
white background.
Color LCD displays use two basic techniques for producing color: Passive
matrix is the less expensive of the two technologies.
Thin film transistor (TFT) monitor
Also called active-matrix monitors, they
produce color images that are as sharp as
traditional CRT displays, but the technology is
expensive.
Advantages
Lower power consumption
Low cost
Small size
73
Disadvantages
They do not emit light; as a result, the image has very little contrast
The screen is very susceptible to glare, so the optimum viewing angle is
very narrow. They have no colour capability
The resolution is not as good as that of a cathode ray tube. Resolution is
the clearness or sharpness of an image
Plasma monitor
A type of thin display screen used in some
older portable computers and is the oldest flat
screen technology.
A gas-plasma display works by sandwiching
neon gas between two plates.
Advantages
The images are much brighter than on a
standard CRT
The resolution is excellent
Glare is not a significant problem
The screen does not flicker like some CRTs
Disadvantages
Only a single colour is available (reddish orange)
The technology is expensive
It uses a lot of power
Comparison Between CRT and Flat panel displays e.g. LCD, TFT
Cathode Ray Tubes Flat panel displays e.g. LCD, TFT
Work like standard TVs Create images on the screen and
because they also contain a produce colour either passive
cathode ray tube. matrix or active matrix technology.
Consume more power Consume less power
Relatively cheap More expensive
Common on desktops Common with hand held devices
Use analog signals Use digital signals
Not ideal due to their size Ideal for limited space
Emit electromagnetic Do not emit electromagnetic
radiation radiation
74
Audio output devices;
These are the computer output devices that produce sound. Examples; of audio
devices include; Speakers, Headphones, Headsets, Earphones
Speakers
These produce sound output and are
common with today‗s multimedia programs
that have become so important and
necessary.
Speakers are electro-acoustic transducers
that convert electrical signals into sounds loud
enough to be heard at a distance.
Advantages of audio output devices
Are ideal for visually impaired people
Disadvantages
Are not suitable for use in noisy environment
Not suitable for use in very quiet environment where other people are
working for example libraries
No permanent copy is produced
A computer can only repeat the same message exactly the same way
therefore when the message is not understood the first time, it may not be
understood the second time.
Data Projectors
Is a computer output device that projects the display
on a computer monitor onto a large projector sheet for
all people to see more clearly.
There are two types of projectors;
LCD (Liquid Crystal Display) projector (uses
liquid crystal display technology. Produces less
quality images)
DLP (Digital Light Processing) projector (uses tiny mirrors to reflect light.
Produces much better images, even in a well lit room
75
Advantages
The fax machine saves papers which would otherwise be used for printing.
It allows a user to store, received faxes on a computer.
It receives faxes and makes emails to others
Hard copies of sent and received documents can be printed.
Disadvantages
Sending documents with more characters can be slow.
Paper can be wasted if junk faxes are sent
Multifunctional Devices
Is a device or computing device that has
functionalities/features of printer, scanner, photocopy or
even a fax machine, all incorporated in it.
Advantages
The multi-function machine takes up less desk
space compared to having a separate printer,
scanner, photocopier, or even a fax machine.
And more importantly the cost of a multi-function
machine is less compared to the cost of each individual device (printer,
scanner, photocopier, or even a fax machine).
Disadvantage
The main disadvantage of a multi-function machine is that when it breaks
down, all its various functions are inhibited i.e. printing, scanning,
photocopying and faxing
Input-Output Devices:
Touch Screen
This is a type of display screen that has a
touch-sensitive transparent panel covering
the screen.
Instead of using a pointing device such as a
mouse or light pen, you can use your finger to
point directly to objects on the screen.
Touch screens are commonly used in:
Automated teller machines, Directories
conveying tourists‗ information in airports and
hotels, Fast food restaurants menus
76
Advantages
No extra peripherals are needed except the monitor
Allows easy access to commands usually identified by words or symbols on
the screen
Touch screens also have assisted in recent changes in the PDA and Cell-
Phone Industries, making these devices more usable.
Disadvantages
Are not suitable for inputting a large amount of data because they require
a lot of arm movements
Only items already on the screen can be selected
Although touch screens provide a natural interface for computer
novices, they are unsatisfactory for most applications because the finger
is such a relatively large object.
It is impossible to point accurately to small areas of the screen. In addition,
most users find touch screens tiring to the arms after long use.
Network interface card (NIC)
Also called network interface
controller, network adapter or
LAN adapter:
Is an input and output device which
enables a computer to be connected
over a network.
Modem (Modulator Demodulator).
Is an input and an output device used for sending
and receiving information and data over telephone
lines.
Data/information can be represented in two ways
electronically. One way is digital and another way is
analogue.
A modem converts digital data/information into
analog data/information and transmits it over
communication media (telephone lines) and then
converts the analog data/information into digital data/information on the
other side
Special Note:
Terminal
A terminal is a device that enables you to communicate with a computer.
Generally, a terminal is a combination of keyboard and display screen.
77
Terminals are sometimes divided into three classes based on how much
processing power they contain:
Intelligent terminal: A stand-alone device that contains main memory and a
Central Processing Unit.
Smart terminal: Contains some processing power, but not as much as an
intelligent terminal.
Dumb terminal: This has no processing capabilities. It relies entirely on
the computer‘s processor.
Computer Memory
Computer memory is divided into RAM and ROM.
ROM (Read Only Memory)
This is the type of memory that contains very important programs installed
by the computer manufacturer (firmware e.g. Basic Input Output System).
These programs manage the booting and basic settings of the computer.
ROM makes up about 30% of internal computer memory.
ROM is non-volatile; its contents are NOT lost when power is switched off
or when the computer is turned off.
RAM ROM
Volatile Non-volatile
Read and write Read only
81
Temporary Permanent
Can be Normally not
increased increasable
Storage Devices:
Storage devices are the computer hardware used to read/write data and
information from or onto storage media by the computer.
Reading is the process of transferring data, instructions and information
from a storage medium into memory.
Writing is the process of transferring data, instructions and information from
memory to a storage medium.
The speed of a storage device is defined by its access time which is the
amount of time it takes to locate an item on a medium.
Examples of storage devices include:
CD-ROM Drive
CD-RW Drive
DVD-ROM Drive
DVD-RW Drive
Combo Drive
Floppy Disk Drive
Tape Drive
Zip Disk Drive
Storage Media:
Storage Media refers to the computer hardware on which data or information is
written (stored) or read from by the storage devices.
The categories of Storage Media include the following:
Magnetic storage media e.g.
Magnetic tape
Floppy disk
Zip disks
hard disks etc
Optical storage media e.g.
CD-R
CD-RW
CD-ROM
DVD-R
DVD-RW
82
DVD-ROM
Solid-State Storage (SSS)
Solid state hard drive
Memory stick/Pen drive/flash disk
SD card
Micro SD card
Magnetic Storage Media
Magnetic storage media represent data as magnetic spots on the tape or disk,
with a magnetized spot representing a bit of 1 and the absence of a magnetized
spot representing a bit of 0. Common examples of magnetic storage media
include;
Magnetic Tape
Magnetic tape is a magnetically coated
ribbon of plastic, capable of storing large
amounts of data and information.
Tape storage (Magnetic tape storage)
requires sequential access, i.e. data must be
accessed in the ascending order in which it
was stored.
For example; If the computer is to read data
from the middle of a tape, all data on the tape, that was stored before the
data to be read, must be passed over consecutively.
Tapes are used for long term storage and backup
Today, magnetic tape storage is no longer commonly used.
Advantages Disadvantages
Data collection can go on The data can only be stored,
without interruption overnight or recorded and read using special
for an entire weekend. equipment.
Magnetic tape can be recorded If the data is stored near a strong
over and reused repeatedly. magnetic field or a large speaker,
the tape can be damaged.
Large amounts of information is Magnetic tape has a lifespan of
stored (up to 1 Terabyte). 15 years. Data quality gradually
erodes over time.
Magnetic tape is inexpensive It is necessary to keep older tape
and budget friendly. equipment just to be able to read
the stored data.
83
Floppy Disk (Diskette)
A floppy disk, or diskette, is a portable, cheap storage media that consists
of a thin circular, flexible plastic disk with a magnetic coating enclosed in a
square-shaped plastic shell.
Floppy disks (often called floppies or diskettes) are portable, because you
can remove them from a disk drive.
Disk drives for floppy disks are called floppy drives.
Floppy disks are slower to access and have less storage capacity, but they
are much less expensive. And most importantly, they are portable.
A floppy disk is a thin, circular, flexible plastic disk with a magnetic coating
enclosed in a square-shaped plastic shell.
86
Optical Storage Media
Optical disks are flat, round, portable storage medium that are used to
store data using microscopic pits (indentation) and land (flat areas) that are
in the middle layer of the disks.
They store items in a single track which is also divided into evenly sizes
sectors that spirals from the center of the disk to the edge of the disk.
A track is narrow recording band that forms a full circle on the surface of a
disk.
A sector is a pie-shaped section on a track and is capable of holding data.
Any sector that cannot be used due to a physical flaw on the disk is called
a bad sector
Data and information is stored on Optical storage media by making marks
in a pattern that can be read using a laser beam.
Optical storage media discs (CDs and DVDs) used in personal computers
are 4.75 inches in diameter. Whereas smaller computers and devices (e.g.
digital cameras) use mini discs that have a diameter of 3 inches or less.
Categories of Optical Storage Media Discs
The two general categories of optical storage media discs include; CDs and
DVDs. The DVDs have much greater storage capacity (4.7 GB) than CDs. (700
MB).
Different Types of CDs and DVDs
CD-ROM (Compact Disc Read Only Memory)
A CD-ROM comes with data and information pre-written by the CD manufacturer
and can only can be read and used. (CD-ROM data and information cannot be
erased or changed).
CD-R (Compact Disc Recordable)
A CD-R is bought blank, data and information can be written on it only once using
a storage device such as a CD-RW drive, DVD-ROM drive or DVD-RW drive and
disc burning software. (Once data and information is written on the CD-R, it
cannot be erased or changed)
CD-RW (Compact Disc Rewritable)
A CD-RW is bought blank, data and information can be written on it, changed or
even erased multiple times using a storage device such as a CD-RW drive or
DVD-RW drive and disc burning software.
The Reliability of the CD-R reduces with each and every successive rewrite.
87
Advantages of CDs Disadvantages of CDs
Small and portable Fairly fragile, easy to snap or
scratch
Very cheap to produce Smaller storage capacity than a
hard drive or DVD
Most computers can read Slower to access than the hard
CDs. disk.
Fairly fast to access the
data - quicker than
magnetic tape
Note:
DVDs are also available in a variety of recordable and rewritable versions
and formats such as DVD+R DVD+RW etc.
Of recent, different high capacity DVD formats have been developed, these
include; the BD-Disc (Blu-Ray Disc). It has a storage capacity of up to 100
GB.
88
Another high capacity DVD format is the HD-Disc (High-Density Disc). It
has a storage capacity of up to 60 GB.
In addition, the UMD (Universal Media Disc) is a mini-DVD that has grown
in popularity. It can store up to 1.8 GB of games, movies, or music.
Advantages of DVDs Disadvantages of DVDs
Very large storage capacity DVDs do not work in CD drives
4.7-9 GB
Sound and picture quality is There is no single standard of
excellent DVD
DVDs are now mass produced They can be easily damaged by
so they are relatively cheap breaking or scratching
DVD drives can read CDs
Blu-Ray
A Blu-ray disk is an optical storage device similar to
CD and DVD technology.
It also uses a laser to read and write to the disk,
but instead of a red laser beam, as used in DVD
and CD, it uses a blue-violet laser beam.
This means it can burn smaller pits on the disk and
so it has even more storage capacity than a DVD.
A single layer Blu-ray can store 25 GB whilst a
double layer Blu-ray can hold up to 50 GB of data.
Blu-ray is commonly used to store high definition
films (HD).
90
Advantages Disadvantages
They don‘t require as much SSDs are more expensive than
power to operate as hard hard drives.
drives do, which results in a
longer battery life.
Their lightweight components Data recovery can be an
make them easier to carry. extremely difficult, expensive and
a lengthy process.
Less moving parts also means The memory chips in an SSD
that SSDs are much faster, have a limited number of write
offering instant-load cycles, which can lead to
performance. unrecoverable data loss.
They have less moving parts
which makes them less likely
to experience damage from
vibrations, drops, accidents,
and other wear and tear.
Punched Cards
A punched card is a piece of stiff
paper that contains digital
information represented by the
presence or absence of holes in
predefined positions.
Early digital computers used
punched cards as the primary
medium for input of both computer programs and data, with offline data
entry on key punch machines.
Early digital computers used punched cards as the primary medium for
input of both computer programs and data, with offline data entry on key
punch machines.
91
Units of Measuring Computer Memory
The smallest unit of measuring computer memory is a binary digit (bit).
Binary digits are the numbers 1 and 0 which can be represented in a
computer by switching voltage on and off.
Eight bits make one BYTE.
The storage capacity of computer memory (RAM and ROM) and that of
secondary storage units like disks are generally given in bytes.
92
Example:
How many bits make up 200Kb?
200Kb = 200 X 1024 X 8 = 1638400 bits
Example:
Convert 5,120,000 bytes to Megabytes
5,120,000/1,048,576 = 4.8828125MB
Exercise:
Qn.1 Arrange the terms below in terms of their relative size in ascending order:
Character>Document>Page>Word>Paragraph
Gigabyte>Kilobyte>Megabyte>Bit>Byte
Qn.2 Does a text document with 1,000,000 characters fit onto a 1.44 MB floppy
disk?
Qn.3 Ali has a DVD full of data and would like to transfer the data to CDs. The
capacity of the DVD is 4.7GB and each CD is 700MB. Calculate the number of
CDs he would need to transfer all his data.
Qn.4 Convert 2GB to kb.
Dec Hex Binary Char Description Dec Hex Binary Char Description
Exclamation
33 21 00100001 ! 49 31 00110001 1 One
mark
34 22 00100010 " Double quote 50 32 00110010 2 Two
35 23 00100011 # Number 51 33 00110011 3 Three
36 24 00100100 $ Dollar sign 52 34 00110100 4 Four
37 25 00100101 % Percent 53 35 00110101 5 Five
38 26 00100110 & Ampersand 54 36 00110110 6 Six
39 27 00100111 ' Single quote 55 37 00110111 7 Seven
Left
40 28 00101000 ( 56 38 00111000 8 Eight
parenthesis
Right
41 29 00101001 ) 57 39 00111001 9 Nine
parenthesis
42 2A 00101010 * Asterisk 58 3A 00111010 : Colon
43 2B 00101011 + Plus 59 3B 00111011 ; Semicolon
44 2C 00101100 , Comma 60 3C 00111100 < Less than
Equality
45 2D 00101101 - Minus 61 3D 00111101 =
sign
Greater
46 2E 00101110 . Period 62 3E 00111110 >
than
Question
47 2F 00101111 / Slash 63 3F 00111111 ?
mark
48 30 00110000 0 Zero 64 40 01000000 @ At sign
Dec Hex Binary Char Description Dec Hex Binary Char Description
65 41 01000001 A Capital A 78 4E 01001110 N Capital N
66 42 01000010 B Capital B 79 4F 01001111 O Capital O
67 43 01000011 C Capital C 80 50 01010000 P Capital P
68 44 01000100 D Capital D 81 51 01010001 Q Capital Q
69 45 01000101 E Capital E 82 52 01010010 R Capital R
70 46 01000110 F Capital F 83 53 01010011 S Capital S
71 47 01000111 G Capital G 84 54 01010100 T Capital T
72 48 01001000 H Capital H 85 55 01010101 U Capital U
73 49 01001001 I Capital I 86 56 01010110 V Capital V
74 4A 01001010 J Capital J 87 57 01010111 W Capital W
75 4B 01001011 K Capital K 88 58 01011000 X Capital X
76 4C 01001100 L Capital L 89 59 01011001 Y Capital Y
77 4D 01001101 M Capital M 90 5A 01011010 Z Capital Z
Dec Hex Binary Char Description Dec Hex Binary Char Description
95
Left square
91 5B 01011011 [ 110 6E 01101110 n Small n
bracket
92 5C 01011100 \ Backslash 111 6F 01101111 o Small o
Right square
93 5D 01011101 ] 112 70 01110000 p Small p
bracket
Caret /
94 5E 01011110 ^ 113 71 01110001 q Small q
circumflex
95 5F 01011111 _ Underscore 114 72 01110010 r Small r
Grave /
96 60 01100000 ` 115 73 01110011 s Small s
accent
97 61 01100001 a Small a 116 74 01110100 t Small t
98 62 01100010 b Small b 117 75 01110101 u Small u
99 63 01100011 c Small c 118 76 01110110 v Small v
100 64 01100100 d Small d 119 77 01110111 w Small w
101 65 01100101 e Small e 120 78 01111000 x Small x
102 66 01100110 f Small f 121 79 01111001 y Small y
103 67 01100111 g Small g 122 7A 01111010 z Small z
Left curly
104 68 01101000 h Small h 123 7B 01111011 {
bracket
105 69 01101001 i Small i 124 7C 01111100 | Vertical bar
Right curly
106 6A 01101010 j Small j 125 7D 01111101 }
bracket
107 6B 01101011 k Small k 126 7E 01111110 ~ Tilde
108 6C 01101100 l Small l 127 7F 01111111 DEL Delete
109 6D 01101101 m Small m
Note:
Any textual data will be stored as a sequence of corresponding
character codes.
When the data is displayed or printed the character codes are converted
into the appropriate characters.
Note:
Conversion of decimal to binary (base 10 to base 2)
System Unit
This is a box like case that houses electronic components of the computer
used to process data. It is made up of metal or plastic and protects the
internal components from damage.
The system unit includes the chassis, microprocessor, main memory, ports,
motherboard, disk drives, drive bays, power supply and cooling systems
but does not include the keyboard or monitor, or any peripheral devices.
97
A drive bay is a rectangular opening that typically holds disk drives.
Note:
Uninterruptible Power Supply (UPS)
UPS sometimes called a battery backup is a device which maintains a
continuous supply of electric power to connected equipment by supplying
power from a separate source in the event of a power outage.
A UPS keeps a computer running for several minutes after a power outage,
enabling you to save data that is in RAM and shut down the computer
gracefully.
Many UPSs now offer a software component that enables you to automate
backup and shut down procedures in case there's a power failure while
you're away from the computer.
There are two basic types of UPS systems: standby power systems (SPSs)
and on-line UPS systems.
98
Uses of the motherboard
It provides a convenient method of inter board connection
It reduces hand wiring and possibilities of errors
It provides superior electrical performance
Note:
Plug and Play (PNP)
In the past, installing an expansion card was not easy and required you to
set switches and other elements on the motherboard. Today, many
computers support plug and play.
PNP refers to the computer‘s capability to automatically configure adapter
cards and other peripherals as you install them when the computer is still
running.
99
Ports
A port is the point at which a peripheral attaches to the system unit.
Through the port a peripheral can send data to or receive information from
the computer.
A peripheral device such as a keyboard, monitor, printer, mouse, digital
camera and microphone often attaches by a cable to a port on the system
unit.
Note:
Serial Port: Is a physical interface through which information transfers in or
out one bit at a time.
Parallel Port: also called a printer port. It allows several bits to be
transmitted simultaneously and commonly provides the interface for such
devices as high-speed printers.
USB Port: in full is Universal Serial Bus, these ports are used in high-speed
data transfer device interfaces.
Bluetooth Ports: these use radio waves to transmit data between two
devices without using cables.
Ethernet/Network Port: are used to connect a computer to a network.
100
Connectors:
A connector joins a cable to a port. A connector at one end of a cable
attaches to a port on the system unit and a connector at the other end of
the cable attaches to a port on the peripheral.
Most connectors are available in one of two genders: male and female
Male connectors have one or more exposed pins.
Female connectors have matching holes to accept the pins on a male
connector
CMOS battery;
CMOS (Complementary Metal-Oxide Semiconductor) battery is a battery
that maintains the time, date, hard disk and other configuration settings in
the CMOS memory.
CMOS batteries are small and are attached directly to the motherboard
Computer bus/buses
Buses are common electrical paths found on the motherboard that enable
communication and data flow between the various system components.
Types of computer bus include; Data buses, Address buses, Control buses,
Local bus
Data buses
These are high ways in which data passes in the computer.
There are many categories of data buses:
They are bi-directional buses that carry information and data to and from
the microprocessor.
The categories of data buses are: address lines, data lines, circuit lines
Address buses
They have the memory locations or devices to be acted on by the
microprocessor. They are usually unidirectional.
Control buses
They are unidirectional and carry command signals from the microprocessor.
Expansion bus
This carries data to and from the expansion slots
Local bus
This is an expansion bus that connects directly to the central processing unit.
101
PCMCIA Cards (PC Cards)
If you're familiar with expansion cards in desktop computers, you can think
of a PCMCIA card as an expansion card for a laptop.
PCMCIA (Personal Computer Memory Card International Association)
cards are hardware interfaces that are slightly bigger than a standard credit
card and enable additional functionality for laptop computers and portable
devices.
PCMCIA cards are now called PC Cards because of the ongoing changes
in the technology
You can exchange PCMCIA/PC Cards without rebooting your computer.
For example, you can slip in a fax modem card when you want to send a
fax and then, when you're done, replace the fax modem card with a
memory card.
There are in fact three types of PCMCIA cards. All three have the same
rectangular size (85.6 by 54 millimeters), but different widths
Type I PCMCIA cards can be up to 3.3 mm thick, and are used primarily for
adding additional ROM or RAM to a computer.
Type II PCMCIA cards can be up to 5.5 mm thick. These cards are often
used for modem and fax modem cards.
Type III PCMCIA cards can be up to 10.5 mm thick, which is sufficiently
large for portable disk drives.
RAM Chips
RAM is also called main memory.
RAM is the type of memory in
which data, information and
instructions are stored/held during
processing and when they are
awaiting to be processed and
executed.
RAM makes up about 70% of
internal computer memory.
RAM is volatile, its contents are lost when power is switched off or when
the computer is turned off.
Types of RAM:
Static random access memory (SRAM)
Dynamic random access memory (DRAM)
Synchronous dynamic random access memory (SDRAM)
Rambus DRAM (RDRAM)
Double Data Rate Synchronous DRAM (DDR SDRAM)
Sound Components (Speaker and Microphone)
The system has a small speaker housed in it and this can generate a
variety of sounds for example music and voice.
Some computers have built in microphones used to record voice messages
and other sounds.
Central Processing Unit (CPU)
CPU is literally the brain of the computer. It interprets and executes computer
instructions.
103
A CPU is also called a processor or microprocessor.
The design of the CPU affects the processing power and the speed of the
computer as well as the amount of main memory it can use effectively.
The more powerful the CPU, the faster the computer and the bigger the memory
required.
The CPU follows the instructions of the software to manipulate data into
information.
CPUs require one or more printed circuit boards. On personal computers and
small workstations, the CPU is housed in a single chip called a microprocessor.
Modern CPUs also have an attached heat sink and small fan that go directly on
top of the CPU to help dissipate heat.
The CPU is made up of the following:
Control Unit (CU)
Arithmetic Logic Unit (ALU)
Registers
System Clock
The 2 principle designs or architectures of the CPU include: CISC and RISC
CISC (Complex Instruction Set Computing):
These are used in PCs and conventional mainframes. They support a large
number of instructions at low processing speed.
RISC (Reduced Instruction Set Computing):
These are used mostly in workstations. They support a large number of
instructions. However, at faster processing speed.
Parts of a Micro-Processor
Control unit (CU);
The control unit directs and co-ordinates most of the operations in the
computer.
For every instruction, the control unit repeats a set of four basic operations
called the machine cycle/instruction cycle. Most processors used today
support pipelining.
Pipelining
Pipelining means that the CPU begins executing the second instruction before
completing the execution of the first instruction.
Machine Cycle
A machine cycle is also called a processor cycle or instruction cycle, is the basic
operation(s) performed by the CPU.
104
The 4 basic operations of the machine cycle/instruction cycle include the
following:
Fetching
Decoding
Executing
Storing
Fetching;
Fetching is the process of obtaining a
program instruction or data item from
memory.
The time taken to fetch the
instruction/data item from memory is
called ―instruction time‖ i.e. (I-Time).
Decoding;
Decoding is the process of translating
instructions into commands that the
computer understands.
Executing;
Executing is the processing/carrying out of commands. The time taken to
decode and execute is called the ―execution time‖ i.e. (E-Time).
Storing;
Storing is the process of writing the obtained results in memory.
Arithmetic Logic Unit (ALU);
This performs the execution part of the machine cycle.
The ALU performs the arithmetic, comparison and logical operations.
Arithmetic operations include; addition, subtraction, multiplication and
division.
Comparison operations include; >, <, >=, <= and == operators.
Logical operations involve; conditional and logical operators i.e. AND, OR
and NOT.
Registers;
A register is high speed temporary storage location used to hold data and
instructions.
A CPU contains numerous different types of registers, each of which performs a
specific function. Common types of registers include:
Program Counter; is the type of register which holds the address of the
105
next instruction to be fetched from memory.
Instruction Register; is the type of register which holds the currently fetched
instruction from memory.
Instruction Decoder; is the type of register which interprets/decodes the
instruction currently held in the instruction register.
Accumulator; is the type of register which holds the data items to be
processed as well as the arithmetic and logical operations.
Status Register; is the type of register which holds a collection of different
condition flags which describe the status of the most recent operations
carried out by the ALU.
System Clock;
The system clock controls how fast all the operations within a CPU, take
place.
The speed at which the CPU executes instructions is called ―clock speed‖
or ―clock rate‖.
Clock speed/ rate is measured in cycles per second or Hertz (Hz) e.g.
1,500Hz. However for modern computers it ranges between MegaHertz
(MHz) and GigaHertz (GHz).
1KHz=1000Hz, 1MHz=1000KHz, 1GHz=1000MHz. 1KHz is equivalent to a
thousand cycles of the system clock. 1 MHz is equivalent to 1 million cycles
of the system clock whereas 1 GHz is equivalent to 1 billion cycles of the
system clock.
Each cycle is basically a tick of the system clock. The faster the clock, the
more instructions the CPU executes per second.
Note:
This results in faster processing. Super scalar CPUs have 2 or more pipelines
that can process instructions at the same time.
106