Computer Hardware N Software
Computer Hardware N Software
2.1 INTRODUCTION
Computer components are divided into two major categories namely hardware and software.
Hardware is the machine itself and its connected devices such as monitor, keyboard, mouse etc.
Software is the set of programs that make use of hardware for performing various functions.
2.2 OBJECTIVES
a) identify the four basic units of a computer system and explain the functions of each unit
b) identify the three main types of computer memory and their characteristics
c) list the five units of computer memory
d) identify different types of ports and their uses
e) differentiate between system software and application software
f) explain the importance of operating system
g) identify different application software and their uses
h) determine the factors to consider when buying computer software
i) state the advantages of a database management system
Devices used to provide data and instructions to the computer are called Input devices. Some
important input devices are:
Key board
Mouse
Scanner
MICR (magnetic ink character recognition)
Web camera
Microphone etc.
a) Keyboard
The Key board is used for typing text into the computer. It is also known as standard Input
device. A computer keyboard is similar to that of a type writer with additional keys. The
most commonly available computer keyboard has 104 keys. There are different types of keys
on the keyboard. The keys are categorized as:
Alphanumeric keys , including letters & numbers
Punctuation keys, such as colon (:), semicolon (;) Question mark (?), Single & double
quotes (‗,‖)
Special keys such as arrow keys, control keys, function keys (F1 to F12), HOME, END
etc.
b) Mouse
It is a device that controls the movement of the cursor on a monitor. A mouse has 2 buttons
on its top. The left button is the most frequently used button. There will be a wheel between
the left and right buttons. This wheel enables us to smoothly scroll through screens of
information. As we move the mouse, the pointer on the monitor moves in the same
direction. Optical mouse is another advanced pointing device that uses a light emitting
component instead of the mouse ball. Mouse cannot be used for entering the data. It is only
useful to select the options on the screen.
c) Scanner
It is an input device that can read text or illustrations printed on paper and translate into
digital form. The main advantage of these scanners is that the data need not be entered
separately resulting in saving lot of time.
Optical character Recognition (OCR): In this, characters are read with the help of a
light. This is used in office atomization, documentation in library etc.
Optical mark recognition (OMR): It is a technology where an OMR device senses
the presence or absence of a mark such as a pencil mark. OMR is used in tests such
as aptitude tests.
Optical barcode recognition (OBCR): Barcode readers are photoelectric scanners
that read the bar codes or vertical zebra striped marks printed on product containers.
This is used in super markets, book shops etc.
MICR: This is widely used in banks to process the cheques. This allows the
computer to recognize characters printed using magnetic ink.
It is the part of the computer that carries out the instructions of a computer program. It is
the unit that reads and executes program inst ructions. Hence it is known as the―brain of the
computer. The CPU consists of:
storage or memory unit
control unit
Arithmetic Logic Unit (ALU)
a) Memory Unit
It is also known as the primary storage or main memory. It stores data, program
instructions, internal results and final output temporarily before it is sent to an
appropriate output device. It c o n s i s t s of t ho u sa nd s of cells called ―storage locations.
These cells activate with ―off-on or binary digits (0,1) mechanism. Thus a character
either a letter or numerical digit is stored as a string of (0, 1) Binary digits (BITS). These
bits are used to store instructions and data by their combinations.
b) Control Unit
It acts as a central nervous system and ensures that the information is stored correctly
and the program instructions are followed in proper sequence as well as the data are selected
from the memory as necessary. It also coordinates all the input and output devices of a
system.
a) Terminal/Monitor
It is similar to TV screen- either a monochrome (black & white) or colour – and it displays
the output. It is also referred as Visual Display Unit (VDU). Several types of monitors are
in use. Some of them are Colour Graphic Ad a p t e r (CGA), E n h a nc e d Graphics Adaptor
(EGA), Video Graphics Adapter (VGA) and Super Video Graphics Adapter (SVGA). The
screen sizes differ from system to system. The standard size is 24 lines by 80 characters.
Most systems have provision for scrolling which helps in moving the text vertically or
horizontally on the screen.
b) Printer
A printer is used to transfer data from a computer onto paper. The paper copy obtained
from a printer is often referred as printout. The different printers and their speeds are as
follows:
1 Dot – Matrix printer Prints the character in dotted pattern through 200/300 to 700 CPS
printer ribbon using either 24 pin or 9 pin
3 Laser printer Also called page printer. Uses laser beam to6 to 12 PPM
produce an image.
4 Line printer Prints lines at a time instead of single characters. 300 to 600 LPM
Laser printer
******
2.4 COMPUTER MEMORY
A memory is just like a human brain. It is used to store data and instructions. Computer memory
is the storage space in the computer, where data is to be processed and instructions required for
processing are stored. The memory is divided into large number of small parts called cells. Each
location or cell has a unique address, which varies from zero to memory size minus one. For
example, if the computer has 64k words, then this memory unit has 64 * 1024 = 65536 memory
locations. The address of these locations varies from 0 to 65535.
Cache Memory
Primary Memory/Main Memory
Secondary Memory
a) Cache Memory
Cache memory is a very high speed semiconductor memory which can speed up the CPU. It acts
as a buffer between the CPU and the main memory. It is used to hold those parts of data and
program which are most frequently used by the CPU. The parts of data and programs are
transferred from the disk to cache memory by the operating system, from where the CPU can
access them.
b) Secondary Memory
This type of memory is also known as external memory or non-volatile. It is slower than the
main memory. These are used for storing data/information permanently. CPU directly does not
access these memories; instead they are accessed via input-output routines. The contents of
secondary memories are first transferred to the main memory, and then the CPU can access it.
For example, Compact disk, CD-ROM, Digital Video Disk (DVD), Hard Drive Disk (HDD) etc.
The computer stores a character in the storage cells with binary (0, 1) mechanism. Thus the
basic unit of memory is a bit (binary digit – 0, 1). To store a character, a computer requires 8
bits or 1 byte. This is called the word length of the storage unit. Hence the storage capacity of
the computer is measured in the number of words it can store and is expressed in terms of
bytes. The following table lists some higher storage units:
a) Storage capacity
i) Floppy Disk
It is also referred as ―Diskette: and is made of flexible Vinyl material. It has a small hole
on one side called ―Right protect notch, which protects accidental writing/deleting
the information from the disk. There is a hole in the centre through which the spindle of
drive unit rotates the disk. The disks are available in two sizes of 5.25 and 3.5 inches
and these could be either low- density or high-density floppies. Storage capacity of
floppies is measured in kilobytes (KB) and megabytes (MB). The details about the
storage capacities of the floppies are presented below:
Table 2.2: Storage capacities of the floppy disk
Floppy Disk Storage Capacity Size (Diameter)
Low Density 360 KB 5.25 inches
High Density 1.2 MB 5.25 inches
High Density 1.44 MB 3.5 inches
Extended 2.8 MB 3.5 inches
a) Serial Port
Used for external modems and older computer mouse
Two versions: 9 pin, 25 pin model
Data travels at 115 kilobits per second
b) Parallel Port
c) PS/2 Port
It can connect all kinds of external USB devices such as external hard disk, printer,
scanner, mouse, keyboard, etc.
It was introduced in 1997.
Most of the computers provide two USB ports as minimum.
Data travels at 12 megabits per seconds.
USB compliant devices can get power from a USB port.
e) VGA Port
f) Power Connector
Three-pronged plug.
Connects to the computer's power cable that plugs into a power bar or wall socket.
g) Firewire Port
h) Modem Port
i) Ethernet Port
Connect a joystick to a PC
Now replaced by USB
Connects Flat panel LCD monitor to the computer's high-end video graphic cards.
Very popular among video card manufacturers.
l) Sockets
Sockets connect the microphone and speakers to the sound card of the computer.
System Software
Application Software
The system software is a collection of programs designed to operate, control, and extend the
processing capabilities of the computer itself. System software is generally prepared by the
computer manufacturers. These software products comprise of programs written in low-level
languages, which interact with the hardware at a very basic level. System software serves as the
interface between the hardware and the end users. System software contributes to control and
performance of a computer system. System software acts behind the scenes to manage resources
and operations of a computer system. System software interfaces between computer hardware
and the application software. An example of system software is the Operating System (OS).
There are many considerations to be made before one settle for a certain type of software.
Generally, the software has to be appropriate to the task; it should justify the cost as well
as being affordable.
Other factors are that the software must be compatible with your hardware. Some
software cannot run on IBM machines, while running modern windows-based programs
without a mouse is underutilizing it. If you are buying application software, it must work
well with the system software, for example you cannot install Microsoft Word 2000 on a
machine with Windows 3.1.
The software must have continued support from the supplier for it to suit changing user
requirements for example if a software was to be used to calculate tax on goods sold, it
should be changeable from sales tax to value added tax.
Also software like Microsoft products has many versions indicating responsive approach
to user requirements and modernization. A simple example is that of employees’ salaries
in Zimbabwe, up to date software would allow for salaries payslips to accommodate even
millions as a salary figure. If it was made without such a vision then maybe salaries
would only be up to say $10 000.
On the other hand, software must be easy to learn and use, it must offer help.
Specifically, its advantageous to buy software with Graphical User Interface (GUI),
which is a program screen interface based on icons, menus, windows for ease of use. It
must be robust, accurate and free from errors.
Software also differs in the storage space they need. So when buying software, one has to
consider the storage capacity of his machine, the size of the RAM and the speed of the
processor, so that the machine’s speed is not compromised.
2.8 DATABASES
What is a Database?
It is an organised collection of data with minimum duplication to service many applications at
the same time by storing and managing data so that they appear to be in one location. When a
transaction occurs, e.g. a withdrawal in a bank, some data would be stored. All the data that
completely describe a transaction is called a record. E.g.
Withdrawal record
A record is made up of fields. A field is a single descriptive item of a record or a transaction. All
the related records are stored in a file. The various related files and the interfaces that query or
manipulate their stored data from the database. Rather than storing data in separate files for each
application, data is stored physically to appear to users as being stored in only one location.
The database management system acts as the interface between the application programmes and
the data. Database management system is special software used to create and maintain a database
and enable individual business applications to extract the data they need without having to create
separate files or data definitions in their computer programmes.
i) Computer hardware
ii) Central processing unit
iii) Computer software
iv) Computer memory
v) Computer port
i) Parallel port
ii) Universal Serial Bus (or USB) Port
iii) Ethernet port