2011 Chapter2 Handout
2011 Chapter2 Handout
Computer Systems
Chapter Objectives:
1. Computer System
Section Objectives
After successful completion of this section students shall be able to:
o describe components of computer systems
o identify computer hardware based on their function
o identify computer software and their category
A computer system is the combination of hardware and software. A typical computer system
utilizes a computer that uses programmable devices to store, retrieve, and process data. The
personal computer or PC is an example of a computer system. An Automatic Teller Machine
(ATM1) is another example of a computer system. Even the simplest computer classifies as a
computer system, because at least two components (hardware and software) have to work
together. But the real meaning of "computer system" comes with interconnection. Many
computer systems can interconnect, that is, join to become a bigger system.
1
Automatic Teller Machines (ATM) are machines that allow bank account holders to make financial
transactions automatically without going to banks by making use of a card that contains details of the
account.
1
1.1.1 Types of Computer Hardware
The hardware part of a computer system is composed of a number of interacting physical parts
based on the need of the information flow. Information flows in the computer hardware. There
are several criteria by which computer hardware can be categorized. Based on information
processing, we can divide computer hardware into four:
1) Input Devices
2) Storage Devices
3) Output Devices
4) Central Processing Unit (CPU)
Keyboard
Keyboard is an input device consisting of a set of typewriter-like keys that enable one to enter
data into a computer. The keys on the keyboard are often classified as follows
Alphanumeric keys - Letters and numbers
Punctuation keys - comma, period, semicolon, etc.
Special keys- function keys, control keys, arrow keys, caps lock, etc.
2
Control (Ctrl) key & Alt key - commonly used in combination with other keys to enter
commands example ctrl + P in Microsoft Word opens the print dialog box.
Insert key - used to toggle between insert and overwrite modes of typing.
Arrow keys - used to move the cursor2 around the display screen.
Num lock keys - used to activate/deactivate the numeric keypad3.
Print screen keys - used to print the contents of the screen.
The arrangement of the keys on the keyboard may differ. The most common in English-
speaking countries is the QWERTY keyboard. It is called QWERTY keyboard because the first five
keys on the top row of letters spell Q, W, E, R, T, and Y. The arrangement of keys in this case is
based on typewriter (alphabets and punctuation) and calculator (numeric pad). This is to make
data entry easy.
The other type of keyboard layout is the DVORAK Keyboard. In this layout, the most commonly
used letters are placed in the most accessible places. The home keys are the five English vowel
letters A, O, E, U, I (for the left hand) & the five most often used consonants (D, H, T, N, S) are
the home keys for the right hand. The next most frequently used letters are on the keys one
row up, the next easier position to reach.
Mouse
Mouse is a hand-operated device that controls the movement of the cursor or pointer on a
display screen. It is a small object that can be rolled along a rough flat surface.
Mouse can have as many as three buttons whose function depends on what program is
running:
– Left-button: for left click. Example, selecting text
– Right-button: for right click. Example, see property of file
– Middle button: for scrolling purpose. This button is sometimes missing.
Most mice are connected to the system unit by a cable or cord. There are also mouse that are
not connected to system unit by a cable/cord. They are called cordless mouse (wireless mouse).
They communicate with system unit using infrared light, similar technology used in remote
controls, or radio waves. Mouse has roller ball at the bottom. The roller ball converts mouse
movements into electronic signals.
3
I) Optical Character Recognizers (OCR)
OCR are scanners that read typewritten, computer printed, and in some cases hand printed
characters from ordinary documents. They scan the shape of character and compare it with
predefined font shapes found in memory. Based on the comparison, they can convert the characters
into computer code.
Use:
Enter documents found on paper into computer without the need to type it using keyboard. This
makes the job easy.
II) OMR
OMR senses the presence or absence of a mark, such as pencil marks. It doesn’t utilize letters of the
alphabet. Instead, with the use of electronic scanners, marks and symbols are converted into
appropriate electronic signals. It is used to process questionnaires or exams using computer. The
read mark is interpreted and matched against previously entered answer key. Example, the ESLCE is
corrected using this device.
Light Pen
Light pen is a light sensitive pen like device that is used in conjunction with computer monitor.
It is used by touching the screen with this device to create or modify graphics. A light cell in the
tip of the pen senses light from the screen to determine the pen’s location on the screen.
Touch Screen
Touch screen allow you to use fingers instead of mouse or related input device. It lets you to
enter data or command (e.g. button click) by touching areas of the screen. It enables you
perform activities you perform with mouse using your finger. It is not used to enter large
amounts of data.
Activity:
Can you identify other Input devices that can be used with computers? What common
characteristics do they have
CPU executes instructions and performs the computer's processing activities. It is also known as
processor or microprocessor. It functions the same purpose as the human brain for human
being. It is called the brain of the computer.
One of the basic features of a computer that affects its entire performance is the CPU speed.
CPU speed is measured in Hertz (Hz). Hertz is the number of cycles per second. 1Hz=1cycle per
second. Larger units are KHz (Kilo Hertz), MHz (Mega Hertz), GHz(Giga Hertz), etc.
1 KHz = 1000 Hz
1 MHz = 1000 KHz
1 GHz = 1000MHZ
Current CPUs are as fast as 2-3GHz (2-3 billion cycles per second)
The three sub components are connected by a cable like device called bus. It facilitates
communication between the parts. It is used to transfer data between these sub components.
Control Unit
As human brain controls the body, control unit controls the computer hardware. Control Unit
does not execute instruction by itself, i.e. does not carry out instruction processing, but it
directs other processing elements to execute instructions.
It retrieves instruction from memory and this process is called fetch instruction. After fetching
instruction, it translates that instruction into computer understandable format and sends
signals to other computer hardware units to carry out the instruction. This process (the process
of translating instruction) is called decoding.
Registers
When instruction is loaded from main memory into the CPU, it is placed first in registers to wait
instruction from control unit. Registers are temporary storage location for data prior to
execution in ALU. There are different types of registers. E.g. data register, program counter,
address register, etc.
6
Activity:
Can you define the function of Central processing Unit and its components?
Examples
The Visual Display Unit (VDU) or monitor or screen
Printers (dot matrix, daisy wheel, laser printers)
Plotters
Voice (audio) response unit
Disk drives
Monitors
Monitor is the most frequent type of output device. It consists of a display surface called screen
which displays output to the user. Image is displayed on monitors using pattern of lighted dots.
Each of these lighted dots is called pixel a short form of picture element.
CRT Monitor
CRT is similar in size and technology to televisions. It uses electron guns that emit electrons.
These electrons are directed towards phosphorous coated screen. The phosphorous coat glows
(emits light) when hit by electron from electron guns, thus creating visible things that we see.
The monitors of most desktop computers are CRT monitors. The main disadvantages of CRT
monitors are their large size and high power consumption
Gas Plasma
7
Gas plasma substitutes neon gas for liquid crystal. The neon gas glows and produces pixels that
form picture. It is used for portable computers. Advantage: better display quality than LCD but
more expensive than LCD
Printers
Impact printers
Impact printers transfer printable material onto paper by striking paper, ribbon, and character
together. Most of such printers take continuous form of paper. The most commonly used
impact printers are dot-matrix printers. The combination of small dots printed closely forms a
character. Example: Epson printers
Non-Impact Printers
They print without having a mechanism that strikes a paper. They print by spraying ink or by
using heat and pressure to fuse black powder onto paper. The various types of non-impact
printer include:
Inkjet Printers - An inkjet printer sprays tiny drops of ink onto paper. The print head of such
printers contains a nozzle which has many holes. Ink is propelled by heat or pressure through
the nozzle holes and form character or image on the paper.
Produce high quality print
Quiet because the paper is not struck
Heavy weight paper is recommended
Laser Printer - They work similarly to photocopying machine. They convert data from computer
into a laser beam (kind of light), why they are called laser printer. They use mirrors to direct
light onto a drum which in turn produce characters on paper. The drum is light sensitive
material that becomes charged when it is hit by light. The charged area of the drum attracts ink
from toner and the ink is transferred onto paper. A heating material heats the ink and attaches
it onto the paper. It produces high quality print.
Thermal printers - Thermal printers use heat to transfer inks from ink sheets onto printing
surface. They produce high-quality print. Because of this, they are used to produce high quality
color artwork and text. They can use plain paper but produce best result on chemically treated
papers.
8
Plotters
Plotters are used to produce high-quality drawings such as bar charts, maps, architectural
drawings, and three-dimensional drawings.
Can produce high quality multi-color documents
Can print on large size papers, which most printers can’t handle.
Activity:
Can you identify any other output devices? What similarities do they have?
Depending on the type of information they store and the technology used, the primary memory
can be categorized into three:
RAM (Random Access Memory)
ROM (Read Only Memory)
CMOS (Complementary Metal Oxide Semiconductor)
RAM
RAM is temporary storage i.e. the data is lost when the computer is off unlike secondary
storage. Because of this it is called volatile memory. Why is it volatile? It uses electric power to
store data. When you write anything on your computer, first it is stored on RAM. When you
save the file, it is transferred into secondary storage. RAM has differing capacity, the common
ones being 128, 256, and 512.
It is directly accessible by CPU. It is called RAM because each memory location can be accessed
randomly using memory address. Each unit in RAM has memory address by which it can be
easily accessed/referenced.
ROM
ROM stores data and programs that are permanently required by the computer. They have
programs built into them at the factory and that program could not be changed or erased by
the user, but read. It is non-volatile, read-only (not changeable) memory. Read-only means data
can't be altered or erased but read.
9
ROM contains special instruction called BIOS that the computer uses when it is turned on. E.g,
instruction that starts the computer, instruction that displays information on screen, etc. The
technological advancement in ROM design has resulted in three other types of ROM:
PROM (Programmable ROM)
EPROM (Erasable Programmable ROM)
EEPROM (Electrically Erasable Programmable ROM)
PROM: this kind of ROM can be written by user once. But, you can't erase or write to it more
than once; you can only read from.
EPROM: this kinds of ROM can be written to or erased as many times as the user wants. It is like
CD-RW.
EEPROM: similar to EPROM, it can be re-written to or erased. But we use electrical power to
erase the contents here.
CMOS
CMOS contains essential information that is required when the computer is turned on. E.g.
RAM size, type of mouse, etc. It is non-volatile, but modifiable to incorporate changes. It is
powered by battery when computer is off.
2. Secondary Storage
Secondary storage (also called auxiliary storage) supplements the primary memory. It takes
many forms. It includes punched cards, punched paper tape, magnetic tape, magnetic disk and
optical disk. Based on information access, secondary storage devices are divided into two:
1) Punched Cards
Punched cards are one of the oldest and most familiar data storage devices. There are two
types of punched cards, 80 columns and 96 columns, and the first one is a standard punched
card. Data is stored on punched cards by cutting parts of the paper out and leaving other parts intact.
The cut part (hole) may represent binary 1 and the intact part represents binary 0.
2) Magnetic Tapes
During 1950s and 1960s, magnetic tape was the primary method of storing large amount of
data. Today they are used primarily for back up purposes. It consists of thin ribbon plastic called
10
tape. One side of the tape is coated with iron-oxide, a material that can be magnetized. By
magnetizing and demagnetizing the tape, computer stores data on it.
Disadvantage:
Sequential access
Advantage:
Store more data on a small area
Magnetic tapes are not used with desktop computers. However, because of their advantage,
magnetic tapes are used to take backup of data. Backup is data that is stored in a different
place than the original computer where data is used. This is to avoid the danger of data loss due
to disasters. If the original data is lost, the copy will be used.
A. Magnetic Disks
Magnetic disk is the most widely used storage medium on all computers. It consists of a round
piece of plastic or metal the surface of which is covered with magnetic material. Magnetic disks
offer:
High storage capacity
Reliability
Fast date access during reading or writing to disk.
Magnetic disks are metals or plastic platters coated with ferrous oxide, an easily magnetically
material. They allow for random access of information and overcome the slow access time
commonly found in tape files.
Examples: floppy disk, hard disk
1) Floppy Disks. They are also called diskette. It is made up of thin Mylar plastic which is coated
with metal oxide. Data is stored as electromagnetic charges on the plastic coat. It stores data by
means of magnetizing and demagnetizing the metal oxide.
Floppy is an easily removable storage used to transport data from one computer to another. It
is used to store programs and data for a longer period outside the computer system. Often used
with mini and micro computers. Data is stored in concentric circles called tracks.
11
Each track is further divided into sectors. A sector stores the amount of information that can be
read or written in single operation. The most widely used type of floppy disks is the 5.25 inch and
the 3.5 inch wide floppy disks. Each has two different storage capacity.
31/2 inch: -can store 1.44MB of data on double side high density
-can store 720kb of data on single side low density
51/4 inch: -can store 1.2MB of data on double side high density
-can store 360kb of data on single side low density
Density refers to the number of bits that can be recorded on one-inch of track.
High density: increased storage capacity
Low density: low storage capacity
Never place the disk near magnetic devices, keep the disk away from your telephone since
telephone boxes contain magnetic units.
Always place disks back into their envelope when you are not using them.
Never touch your floppy disk media.
Never smoke near floppy disks.
Store your floppies in a safe location.
Keep at room temperature in the range of 10 to 50oc
Always make a backup copy of your floppy disk.
2) Hard Disk. A high capacity magnetic disk made up of metal which can be fixed in the system
unit of the computer. It serves as a secondary storage and it enables very fast accessibility of
data. Accessing data from hard disk is faster than from floppy disks.
The disks, which are usually grouped together into a disk pack are separated by small air spaces
to allow access for read-write head. Each disk is subdivided into tracks and sectors on which
information is stored. The disk pack is mounted on a magnetic disk drive which rotates the disk at
speed up to 1,000 revolutions per second.
12
Hard disk
Platters are grouped together to form hard disk. The amount of time it takes to retrieve (or
store) data from (or to) disk is called the disk access time. It rotates at high speed and this is
measured in terms of revolutions per second.
Data is stored on hard disks by magnetizing and demagnetizing the surface each cylinder. They
store data on both sides of the cylinder i.e two sided. It is read-write head that reads or writes
data from hard disk.
B. Optical Disk
Optical disks use laser light to read or write data from optical disk. Laser - Light Amplified
Stimulated Emission of Rays. Optical disks use high powered laser light to burn microscopic
holes on the surface of the disk to store data. Burned out part is called pit, and the non-burnt
part is called land. Land may represent binary 0 and pit binary 1.
Optical disks use low powered laser to read data. There are two most common types of optical
disks:
CD (Compact Disc)
DVD (Digital Versatile Disc)
CD (Compact Disc)
CD can store 700BM of information. Data is stored only on one side of the disc. There are three
basic types of CDs:
1. CD-ROM (Compact Disc Read Only Memory) - This kind of is read only i.e. you can’t
write data to such CDs or you can’t erase from them. Data is only accessed/read from
13
these CDs.
2. CD-R (Compact Disc Recordable) - It is also called WORM (Write Once and Read Many).
These CDs can be written on once. But then after, you can’t rewrite on it or erase data
from it. After you first wrote data on such discs, then only thing you can do to read data
from them.
3. CD-RW (Compact Disc Read-Write) - They are also called erasable optical discs. You can
write data as many times as you want on such CDs. You can also erase the content of
such CDs.
DVD
DVD stands for Digital Versatile Disc. But some people mistakenly call it Digital Video Disc. It is a
relatively new technology that is introduced recently. It is similar to CD except that it can store
large amounts of data and it has narrow tracks than CD. It can store 4 -17GB of information.
Another possible categorization is based on the significance of the devices – System Unit and
Peripheral Devices.
Disk drive: is part of a computer system which reads from and writes data on a disk.
Activity:
What are the four activities that computers do? What are the hardware components
responsible for these activities?
Case: A computer case (also known as the computer chassis, cabinet, tower, box or housing) is
the enclosure that contains the main components of a computer. Cases are usually constructed
from steel, aluminum, or plastic.
Power Supply: The PC power supply converts 120/240 volts Alternating Current (AC) into 5 and
12 volts Direct Current (DC) used by the PC. The PC power supplies have built-in power on/off
switches and power connectors for the motherboard and the disk drives.
Motherboard: A motherboard, also known as a system board, is the central or primary circuit
board making up a complex electronic system.
14
A typical computer is built with the microprocessor(CPU), main memory(RAM), and other basic
components on the motherboard. Other components of the computer such as external storage,
control circuits for video display and sound, and peripheral devices are typically attached to the
motherboard via ribbon cables, other cables, and power connectors. Motherboard contains
ports, expansion slots, CPU slots, RAM slots, etc
15
Parallel ports: Parallel ports transfer and receive multiple bits of information at a time. They
send eight bits of data simultaneously across eight parallel wires. Parallel ports are mostly used
to connect devices that send or receive large amounts of data such as printers, disk drives, tape
drives, etc. They are used for short distance communication.
Drives: drives are devices that read data from or write data onto storage devices. Examples of
drives include hard disk drive, floppy disk drive, CD drive, DVD drive, etc. Drives have some sort
of motors that rotate the storage devices from which data is read or onto which data is stored.
(For more information read about storage devices).
2. The peripherals
A peripheral is any device connected to the system unit. These are keyboards, monitors, mice,
printers, scanners, microphones, speakers, cameras, to list just the most familiar ones.
Activity:
Classify the components in the system unit as input, output, storage, processing and other
devices.
16
Operating System
Utility Software
Language translators
Operating system manage resources, provides a user interface, and run application software. It
organizes resources such as keyboard, mouse, printer, monitor, etc. It also presents GUI
(Graphical User Interface) to the user for easy use of computer. It makes complex hardware
more user friendly i.e. it acts between the user and hardware.
A) Operating system
Operating system coordinates the activity between the user and the computer. An operating
system has four major functions.
I. Process management
In operating system terms, a process is a program or part of a program that can be executed
separately. The operating system does the task of managing these processes that are being
executed and waiting to be executed.
Single tasking operating systems: on such system, only one program can be run on the
computer at a time. To run another program, you have to close the first program and load
another program. For example, if you are working on Microsoft Word and in addition if you
want to open Microsoft Excel, first you have to close Word first because you can’t open two
programs at the same time. Then you can open Excel. Single tasking operating system can’t
17
handle more than one program at a time. Examples of such operating systems are MS-DOS,
and PC-DOS which were used in 1980s.
Multi-tasking operating systems: on such systems you can run as many programs as you
like. You can work on Word and Excel at the same time. Such systems can handle more than
one program at a time. Examples include Windows 2000, Windows XP, Macintosh, etc.
o Based on the number of users they can serve at a time, we divide operating systems into
two:
Single User: they can serve only one user at a time. E.g. Windows 95, Windows 98/XP, etc
Multi User: lets more than one user to access the computer at one time. E.g., UNIX. This is
done via network that connects terminals to the multi user computer.
B) Utility Programs
Utilities are programs that make computing easier. They perform specific tasks related to
managing computer resources or files. There are different utility programs:
i) Troubleshooting programs: enable us to recognize and correct computer problems
before they become serious.
ii) Anti-virus programs: they protect your computer against viruses or other malicious
programs that damage computer. E.g MacAfee, Sophos, Norton, etc.
iii) File compression programs: are used to reduce the size of files or data so that it takes
less storage space or network band. E.g WinZip, WinRAR, etc.
iv) Uninstall programs: these software enable us to safely and completely remove
unneeded programs/software from your computer.
v) Back up software: with the help of this software, we can make copies of files to be
used in case of the original data is lost/damaged. This copy is called back up.
vi) Screen savers: helps to prevent your work from being seen by others if you leave
your computer idle for some time.
C) Language translators
Language translators are used to convert the programming instruction written by users into
binary code that the computer can understand. They are written for specific programming
languages and computer system.
18
i) Word Processing
This is the most widely used computer application. Word processing is the use of computer
to produce documents that consist primarily of text. Such documents can also contain
pictures, drawing, photograph, etc.
Used for:
Writing letter
Writing memos
Producing reports
Some of the software used for word processing include:
Microsoft word
Corel WordPerfect
Lotus WordPro
WordStar
19
iv) Presentation Graphics
Presentation graphics helps you to create professional and exciting presentations that could
be used in meeting, group discussion, etc. Such software enable you to incorporate charts,
graphics, sound, etc in your presentation. Software used for this purpose include:
Microsoft PowerPoint
Lotus Freelance Graphics
Corel Presentations
v) Accounting software
Accounting software enables companies to record and report their financial transactions.
Tasks done by these software include:
Invoicing
Accounts Receivable
Accounts Payable
Payroll
Inventory
General Ledger
Purchase orders, etc
Software used for this purpose:
Peachtree accounting
Intuit QuickBooks
vii) Communication
They are used to transfer data from one computer to another. They enable computers to
send and receive data of any kind such as text, graphics, fax documents, etc.
Some of the software used for this purpose are:
Netscape Navigator-to work on internet
Internet Explorer-to work on internet
Activity:
Can you name some application software? To which category do they belong?
20