Professional Documents
Culture Documents
Chapter Two:: Computer System
Chapter Two:: Computer System
Computer System
2.1 What is a system?
Recall from your previous studies that you know systems like Digestive system,
Circulatory system and so on. What similarity can you understand from these systems?
For example, digestive system is composed of a group of components like mouth,
stomach, and intestine and so on. You can also see that the output of one of the
components will become the input of the other component. For example in digestive
system, mouth partly digests, lubricates and pushes the food to the stomach as input. The
stomach then performs digestion and sends its output to the intestine which in turn does
the same. From this you can understand that the components work together in
coordination in such a way that the input of one component is the output of the other until
a common goal is achieved. For example: in digestive system, the common goal is
digestion of food. Likewise, a computer system is also composed of physical components
(hardware) and non-physical component (software) that work together in coordination to
achieve a common goal (data processing). The common goal of computer system (i.e.,
data processing has been discussed in chapter one) and some of computer system
components will be discussed in this chapter hereafter.
In general, a system is a group of components that work together in coordination to
achieve a common goal.
9
data. For example, the raw data of employees' is hours worked and wage rates are
processed by a computer into the information of paychecks and payrolls.
Actually, in ordinary usage, the words data and information are often used
synonymously. After all, one person's information may be another person's data. The
"information" of paychecks and payrolls may become "data" that goes into someone's
yearly financial projections or tax returns.
Hardware is the physical component of the computer system that we can see, touch and
sense. It includes devices the computer system use to interact with the external world, to
process the data it has received, to store the data it has received and processed. Software,
on the other hand, is the set of instructions that tell the hardware how to perform a task.
Without software, the hardware is useless. Hardware and Software are analogous to Flesh
and Soul of human beings respectively.
and so on.
2.3.1.1 Keyboard
10
computer or the keyboard itself. Roughly 50% of all keyboard keys produce letters,
numbers or signs (characters). Other keys can produce actions when pressed, and other
actions are available by the simultaneous pressing of more than one action key.
The keys on the keyboard are grouped according to their functions as follows:
Alphanumeric keys
The group of keys that comprises the alphabets, punctuation marks, and digits. These
keys are used to enter text, digit, and punctuation marks.
Function keys
The group of keys found at the top of keyboard labeled from F1 to F12. These keys
execute different commands based on the applications that are running.
Numeric keypad
Found at the right most of the keyboard, is the numeric keypad. These keys work with the
special key called NumLock – located at the left-top corner of the numeric keypad. when
NumLock is on, the numeric keypad is used to enter digits and arithmetic operators.
However, when NumLock is off, the numeric keypad is used as cursor movement keys.
Cursor movement keys: The Cursor, also called the insertion point, is the symbol on the
display screen that shows where data may be entered next. The cursor movement keys,
or arrow keys, are used to move the cursor around the text on the screen. These keys
move the cursor left, right, up or down. The keys labeled Page Up and Page Down move
the cursor, the equivalent of one page, up or down on the screen. Similarly, the keys
labeled Home and End move the cursor to the beginning and end of the same line
respectively.
11
Editing keys
Editing keys are the keys which are used to make our text stylish. They change what has
been entered. Editing keys include: Spacebar, Enter (Return), Delete, Backspace, etc.
Special keys
Special keys are keys that are used to execute some commands. They also work in
combination with other keys to execute commands. These keys include: Shift, Alt, Ctrl
etc.
2.3.1.2 Mouse
A mouse is a device that is rolled about on a desktop to direct a pointer on the computer’s
display screen. The pointer is a symbol, usually an arrow that is used to select items from
lists (menus) on the screen or to position the cursor. The cursor, also called an insertion
point, is the symbol on the screen that shows where data may be entered next, such as
text in a document.
2.3.1.3 Scanner
Scanners - which are often used in desktop publishing - translate images of text, drawings
and photos into digital form. The images can then be processed by a computer, displayed
on a monitor, inserted in documents, stored on a storage device, or transmitted to another
12
computer. Scanners are useful for data entry in that they save time wasted for typing and
also they avoid errors that may occur during typing.
Based on the technology they use to scan, scanners are of the following types:
13
2.3.1.4 Joystick
Joystick is a pointing device that consists of a vertical handle mounted on a base
containing one or two buttons. The vertical handle of the joystick can be rotated around
360 degrees. As the handle is rotated the cursor also moves on the screen. Joystick is
often used for playing games.
2.3.1.5 Microphone
The word "microphone" (Greek mikros "small" and phone "voice" or "sound") originally
referred to a mechanical hearing aid for small sounds. Therefore, microphones have a
great role in inputting sound or voice data into the computer for processing. Without the
microphone computers could not have produced any sound nor could they have been
used to manipulate music and sound.
Touch screens have become commonplace since the invention of the electronic touch
interface in 1971 by Dr. Samuel C. Hurst. They have become familiar in retail settings,
on point of sale systems, on ATM (Automated Teller Machines) and on PDA (Personla
14
Digital Assistant) where a stylus is sometimes used to manipulate the GUI (Graphic User
Interface) and to enter data. Touch screen can also be considered as output device as it
displays selectable commands.
15
2.3.2 Processing devices
2.3.2.1 CPU
On large machines, 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.
16
Bit (Binary Digit): A bit of storage is like a light switch; it can be either on (1) or off
(0). A single bit is a one or a zero, a true or a false, a "flag" which is "on" or "off", or in
general, the quantity of information required to distinguish two mutually exclusive states
from each other. Gregory Bateson defined a bit as "a difference that makes a difference".
Byte: A byte is a contiguous sequence of a fixed number of bits. In recent years, the use
of a byte to mean 8 bits has become nearly ubiquitous.
a. byte
b. bit
Solution:
a)
1 GB = 230byte
23 GB = y
y = 23 GB x 230 byte/1 GB
y = 23x230 byte
17
b)
23 GB = y
y = 23 GB x 8 x 230 bit/1 GB
y = 23 x 8 x 230 bit
18
2.3.3.2.3 ROM (Read-only Memory)
Read-only memory (ROM) is a class of storage media used in computers and other
electronic devices. Because it cannot (easily) be written to, its main uses lie in the
distribution of firmware (software that is very closely related to hardware and not likely
to need frequent upgrading).
Modern semiconductor ROMs typically take the shape of IC packages, i.e. "computer
chips", not immediately distinguishable from other chips like RAM but for the text
printed on the chips. "ROM" in its strictest sense can only be read from, but all ROMs
allow data to be written into them at least once, either during initial manufacturing or
during a step called "programming". Some ROMs can be erased and re-programmed
multiple times, although they are still referred to as "read only" because the
reprogramming process involves relatively infrequent, complete erasure and
reprogramming
Types of ROM
Classic mask-programmed ROM chips are written to during production and cannot
change content afterwards. But there are other types of non-volatile solid-state memory:
19
EEPROM (Electrically Erasable Programmable Read-Only Memory) allow the
entire ROM (or selected banks of the ROM) to be electrically erased (flashed
back to zero) then written to without taking them out of the computer (camera,
MP3 player, etc.). Flashing is much slower (in milliseconds) than writing to RAM
(in nanoseconds) (or reading from any ROM).
2.3.3.3 Secondary storage
In computer storage, secondary storage, or external memory, is computer memory that
is not directly accessible to the central processing unit of a computer, requiring the use of
computer's input/output channels. Secondary storage is used to store data that is not in
active use. Secondary storage is usually slower than primary storage, or internal memory,
but also almost always has higher storage capacity and is non-volatile, which makes it
perfect for the preservation of stored information in an event of power loss.
Magnetic tape
Magnetic tape is a non-volatile storage medium consisting of a magnetic coating on a
thin plastic strip. Nearly all recording tape is of this type, whether used for video, audio
storage or general purpose digital data storage using a computer. It has large storage
capacity but it is slow to access because it is sequentially accessed.
Magnetic disk
o Floppy Disk
A floppy disk is a data storage device that is composed of a disk of thin, flexible
("floppy") magnetic storage medium encased in a square or rectangular plastic shell.
Floppy disks are read and written by a floppy disk drive. Floppy disk is cheap, and
portable, but it has small storage capacity (1.44 MB) and is unreliable.
o Hard disk
A hard disk drive (HDD, also commonly shortened to hard drive and formerly known as
a fixed disk) is a digitally encoded non-volatile storage device which stores data on
rapidly rotating platters with magnetic surfaces. Strictly speaking, "drive" refers to an
20
entire unit containing multiple platters, a read/write head assembly, driver electronics,
and motor while "hard disk" (sometimes "platter") refers to the storage medium itself.
Hard disks were originally developed for use with computers. In the 21st century,
applications for hard disks have expanded beyond computers to include video recorders,
audio players, digital organizers, and digital cameras. In 2005 the first cellular telephones
to include hard disks were introduced by Samsung and Nokia.
Optical disk
o CD-R
A CD-R (Compact Disc-Recordable) is a variation of the Compact Disc invented by
Philips and Sony. CD-R is a write once, read-only optical magnetic media commonly
known as optical disc (though the whole disk does not have to be written in the same
session) and retains a high level of compatibility with standard CD readers (unlike CD-
RW which can be rewritten but has much lower compatibility and the discs are
considerably more expensive).
Flash Memory
USB flash drives -thumb drives, handy drives-, which are used for general storage and
transfer of data between computers. It has also gained some popularity in the gaming
market these days. Flash memory is highly portable and it can store much data but it is
expensive.
21
2.3.4 Output devices
2.3.4.1 Display devices – softcopy output
CRT
Abbreviation of cathode-ray tube, the technology used in most televisions and computer
display screens. A CRT works by moving an electron beam back and forth across the
back of the screen. Each time the beam makes a pass across the screen, it lights up
phosphor dots on the inside of the glass tube, thereby illuminating the active portions of
the screen. By drawing many such lines from the top to the bottom of the screen, it
creates an entire screenful of images. It is large in size and requires a lot of space.
Moreover, it consumes much power. But it produces a sharp output.
LCD
Short for liquid crystal display, a type of display used in digital watches and many
portable computers. LCD 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. The other technology,
called thin film transistor (TFT) or active-matrix, produces color images that are as sharp
as traditional CRT displays, but the technology is expensive. Its advantage is that it does
not consume a lot of space since it is thin and that it does not consume a lot of power
hence it is ideal for portable computers.
ELD
A technology used to produce a very thin display screen, called a flat-panel display, used
in some portable computers. An ELD works by sandwiching a thin film of
phosphorescent substance between two plates. One plate is coated with vertical wires and
the other with horizontal wires, forming a grid. When electric current is passed through a
22
horizontal and vertical wire, the phosphorescent film at the intersection glows, creating a
point of light, called pixel.
Dot-matrix: Creates characters by striking pins against an ink ribbon. Each pin
makes a dot, and combinations of dots form characters and illustrations.
Ink-jet: Sprays ink at a sheet of paper. Ink-jet printers produce high-quality text and
graphics.
Laser: Uses the same technology as copy machines. Laser printers produce very high
quality text and graphics.
LCD & LED: Similar to a laser printer, but uses liquid crystals or light-emitting
diodes rather than a laser to produce an image on the drum.
Line printer: Contains a chain of characters or pins that print an entire line at one
time. Line printers are very fast, but produce low-quality print.
Thermal printer: An inexpensive printer that works by pushing heated pins against
heat-sensitive paper. Thermal printers are widely used in calculators and fax machines.
23
Quality of type: The output produced by printers is said to be either letter quality (as
good as a typewriter), near letter quality, or draft quality. Only daisy-wheel, ink-jet, and
laser printers produce letter-quality type. Some dot-matrix printers claim letter-quality
print, but if you look closely, you can see the difference.
Speed: Measured in characters per second (cps) or pages per minute (ppm), the speed
of printers varies widely. Daisy-wheel printers tend to be the slowest, printing about 30
cps. Line printers are fastest (up to 3,000 lines per minute). Dot-matrix printers can print
up to 500 cps, and laser printers range from about 4 to 20 text pages per minute.
Impact or non-impact: Impact printers include all printers that work by striking an
ink ribbon. Daisy-wheel, dot-matrix, and line printers are impact printers. Non-impact
printers include laser printers and ink-jet printers. The important difference between
impact and non-impact printers is that impact printers make physical contact with the
paper and are much noisier whereas non impact printers do not make physical contact and
are too noisy.
Graphics: Some printers (daisy-wheel and line printers) can print only text. Other
printers can print both text and graphics.
24
2.3.4.5 Robot – physical output
Robot is the most intriguing output device. Robotic device consists of arms that can
perform a preprogrammed task. Robots are mostly used in manufacturing tasks such as
spray painting or assembling parts. Advanced robots are used in scientific research such
as space and undersea exploration.
25
Controls spooling and buffering, multitasking and overlapping, time
sharing and network.
o memory management
Control the allocation of RAM for various purposes like background
and foreground program execution priorities and virtual memory
system.
o file management
Under which files are stored on secondary storage devices, where can
be copied, sorted, displayed and removed among other functions.
Computers and their operating systems cannot be expected to know how to control every
device, both now and in the future. To solve this problem, operating systems essentially
dictate how every type of device should be controlled. The function of the device driver
is then to translate these OS mandated function calls into device specific calls. In theory a
new device, which is controlled in a new manner, should function correctly if a suitable
driver is available. This new driver will ensure that the device appears to operate as usual
from the operating systems' point of view.
In short, device driver is a type of system software that introduces a new device to the
operating system and facilitates the communication between the operating system and the
device.
26
2.4.1.3 Language software
Languages
Languages are used for writing instructions or software.
Basically, computer languages range from very complicated to
human but clear to computers to very easy for human but un-
understandable by computers. The following are some of the
examples.
o Machine Language
Machine language is the only language the computer directly understands. It is in the
form of strings of binary numbers. A machine language instruction has at least two
parts:
o opcode – function code which specifies the function performed and
o operand address – which specifies location of data and other instructions
Though it is the only language the computer understands, machine language is not only
tedious but also difficult to debug and maintain for human beings.
o Assembly Languages
Assembly language is easier to use than machine language. It is done by representing
some of the most commonly used instruction codes with some symbols. But it needs
special translating program. It is machine dependent.
27
Language translators
Depending on the language, the translator for high level languages is either a
compiler or an interpreter. However, code written using assembly language is
translated to machine language by a program called assembler. Compiler and
interpreter are discussed as follows:
Compiler – execute later: a compiler is a language translator that converts the entire
program of a high level language into machine language before the computer
executes the program. The programming instructions of a high level language are
called source code. The compiler translates it into machine language, which in this
case is called the object code. The object code can be saved. Thus, it can be executed
later (as many times as desired).
Examples of high level languages using compiler are: FORTRAN, Pascal, C, C ++, and
Java.
Interpreter – execute immediately: an interpreter is a language translator that converts
each high level language into machine language and executes immediately, statement
by statement. No object code is saved, as with compiler. Therefore, interpreted code
generally runs more slowly than compiled code. However, code can be tested line by
line
Examples of high level languages using interpreter are BASIC, and Visual Basic
28
2.4.2 Application software
Unlike system software, application software, consists of are programs that help the
end-user to perform specific, productive tasks, such as word processing or image
manipulation. Basically, there are four categories of application software.
Productivity Software: The purpose of this software is to make the users
more productive at performing general tasks. For example, word processing,
spread sheets, presentation, database managers, accounting etc.
Home / Personal software: The purpose of this software is mainly for
domestic and personal use. For example, cook books, medical guide,
gardening, etc.
Education / Reference software: The purpose of this software is mainly to
learn any subject or to refer for additional information.
For example: Encyclopedia, Dictionaries, Computer Based Tutorials
(CBT), etc.
Entertainment software: The purpose of this software is for entertainment
and time passing. For example, games.
29