Chapter Two
Chapter Two
Chapter Two
Organization of Computer System
Computer System
Computer system is an organized relationship among functioning units or components. The
purpose of computer system is to solve a problem by processing data into information. Computer
system is which consists of several integrated components that works together as a single unit to
achieve some objective. A computer system components are classifying into hardware and
software which cooperates to provide full system functions of the computer.
Hardware: is the physical part of a computer that you can see and touch with our hand.
Software: is the internal component of the computer that used to control, integrating, and
managing the hard ware components and to accomplish specific tasks.
1. The Computer Hardware
The Hardware is the physical (visible and tangible) part of the Computer that you can see and
touch. It includes electronic devices, which have the potential for performing the task of solving
problems. It is the general term for the physical machines or devices that carry out the activities
of capturing, processing, storing and communicating data and information. The computer
hardware is divided into the following categories:
A. Input Devices C. Output Devices
B. Central Processing Unit D. Storage Devices& others
CPU
Control Unit
Input Devices Output Devices
Memory (register)
1
2
A. Input Devices
Input devices are devices through which data or information is entered into the computer. It is
used to convert human readable form to machine-readable form. There are different input devices
like: Keyboard, mouse, Image Scanner, Disk drives, microphone, touch screen, light pen, magnetic
ink character recognition (MICR), bar code reader, camera systems, etc.
Keyboard: The keyboard is an input device used to enter information into your PC.
2
3
Scanner: which is an input device used to input data into a computer. It converts the data
from hard copy to soft copy. Once the data is transferred to the computer, through the
scanner, it can be modified, or combined with other information.
Disk drives: Are data read/write devices used to input data into the computer. E.g. floppy
drive, CD-R, CD-RW and DVD drive.
Microphones: It captures sounds and translates into digital signals for the computer.
Touch screen: it is touch sensitive transparent panel covering the screen.
Light pen: that utilizes the light sensitive detector to select objects on a display screen.
Magnetic ink character recognition (MICR): allows the computer to recognize
characters printed using magnetic ink. Example of this device is card reader in the bank.
Bar code reader: is a photoelectric scanner that read the bar codes, or vertical zebra
striped marks, printed on product containers.
camera systems: used to input images and sounds in to the computer e.g. digital camera
B. Central Processing Unit (CPU)
It is the most costly and main component of the computer. It may be a single chip or a series of
chips that performs arithmetic and logical operations and controls the operation of the other
elements of the system. CPU follows the instruction of the software to manipulate data into
information. It executes program instructions and performs the computer’s processing activities.
The CPU is called brain of computer and also called the microprocessor.
The CPU mostly performs the two major functions.
1. Performing arithmetic and logical operations and
2. Controlling every activity of the computer like:
a. Controlling internal and external devices
b. Controlling memory usage for storing data and instructions.
c. Controlling sequence of instructions
3
4
Purpose of CPU
Control Memory
Figure 4.1. The components of CPU
unit ALU
These three sub systems work together to provide the operational capabilities of the computer. As
buses carry people from one place to another place, the system bus carries information from one
unit to another.
System bus is a collection of wires through which data is transmitted from one unit to
another in computer system (CPU, memory, and I/O devices). It is further divided in to
three logical units, namely the address bus, data bus, and control bus.
Data Bus: it transfers the actual data between the processor, memory, and the I/O devices.
Address Bus: It informs the CPU about the location of the data residing in the memory.
Control Bus: It is responsible for making CPU, memory, and I/O devices work together
as a functional system, carrying signals that report the status (ready, not ready) of various
units.
Control Unit
The control unit can be thought of as the heart of the CPU. It controls the I/O devices and transfer
of data to and from the primary storage. It reads and interprets instructions that retrieve from the
main memory. It controls the flow of instructions from memory to CPU or from ALU to registers.
The control unit repeats a set of four basic operations: fetching, decoding, executing, and storing.
o Fetching: is the process of obtaining a program instruction or data item from memory.
o Decoding: is the process of translating the instruction in to commands the computer can
execute.
o Executing: is the process of carrying out the commands.
o Storing: is the process of writing the result to memory.
4
5
Colors:
Monochrome: means one color, generally white on black background or
vice versa.
Color Monitors: Many monitors display color-combining
shades of red, green, and blue (RGB).
II. Printer: Printer is an output device, which is used to print information on paper. There are
two types of printers −Impact Printers and Non-Impact Printers.
Impact Printers
Print characters and graphics on a paper by striking an ink ribbon against the paper.
The characteristics of impact printers are:
o Very cheap and Useful for bulk printing due to low cost
o Very noisy and Slow
o Withstand dusty environment, vibrations and extreme temperature.
These printers are of two types –character and line printers.
Character Printers
Print one character at a time. E.g. Dot Matrix and Daisy wheel printers.
Line Printers
Print one line at a time. E.g. Drum and Chain printer
Non-Impact Printers
Print characters and images without making direct physical contact between the printing
mechanism and the paper.
Spray ink against the paper and then heat and pressure are used to fuse a fine powder
into a shape of characters
These printers are of two types: ink-jet printers and laser printers.
Characteristics of Non-impact printers
Faster than impact printers
They are not noisy and Produce high quality output
Supports multiple fonts and different character size.
Cannot print carbon copies.
Ink-jet Printers
Print characters by spraying small drops of ink onto paper.
Laser Printers
Use laser beam to produce the dots needed to form the characters to be printed on a page.
6
7
III. Disk drives: since they are also used to record a result of a process on magnetic disks, they
are also considered as output device.
IV. Modem: links two or more computers by translating digital signals into analog signals so
that data can be transmitted via telecommunications. Modem can be either internal or
external modem. Internal modem is a hardware fitted into an expansion slot in the system
unit. External modem sits outside your system and connects to serial port.
V. Plotters: specialized output device designed to produce high quality graphics in a variety of
colors. It used for creating large hard copy items, such as maps, architectural drawings, 3D
illustrations items typically too large for regular printers
VI. Speaker: this is a device specially used to provide audio output.
D. Storage Devices
Storage device is used to store data or information internally or externally. Storage device can
classify into primary (main memory) and secondary storage device.
Primary (main memory): It is a means of storage that is found within the computer itself and
that is why it is called internal memory or primary memory.
Have low capacity
High speed and
Primary memory includes RAM and ROM.
RAM: is a random-access memory (can be accessed randomly without regard to any other memory
location. It is working area of the computer.
It is volatile it holds data as long as there is current flow.
It allows read/write
Holds data temporarily.
Expensive
ROM: Stands for read only memory. Once programmed, it can only be read from it.
It is nonvolatile: unlike RAM, the contents cannot be changed or lost when
electric current is turned off. It stores data permanently.
It is read only memory: we cannot write or change the contents of ROM.
Secondary storage device: it also called Secondary memories or Mass Storage devices. It
used for mass storage of programs and data files. Because of the primary storage doesn’t store
user’s data permanently, their high price and limited capacity, the need to have other type of
7
8
storage to hold large amount of data for a longer period of time in a less expensive and yet
accessible manner is evident.
Have the capability to store large amount of data for a longer period of time.
It is reading a writing device.
Inexpensive compared to primary storage.
There are two types of secondary storage: Magnetic Storage and Optical storage.
A. Magnetic Storage: Is storage devices made up of Iron Oxide particles mixed with a
binding agent. They use magnetic technology to read and write data and information
from and to the surface of storage area. The most common types of secondary storage
are: Magnetic tape and Magnetic disk
I. Magnetic Tape: is the earliest form of secondary storage. Data can be stored on
and retrieved from tape sequentially. Magnetic tape is not so widely used for file
processing, but still plays an important part in the file back up for security purposes.
II. Magnetic disk: are flexible plastic or metal (rigid aluminum) disks of easily
magnet able materials. There are two types of magnetic disks on which we can store
and retrieve randomly.
Hard disk: is a high capacity magnetic disk, which is fixed in the main unit of the
computer. Hard disks cannot be removed from their disk-drive cabinets, which
contain the electronics to read and write data on to the magnetic disk surfaces. It
enables very fast accessibility of data and can store much more amount of data (40
MB to GB) in capacity.
Floppy disk: is also called diskette. It is removable and has less capacity compared
to the hard disk. The content of a floppy disk can be erased and re-used a number of
times.
Two characteristics describe floppy disks: Size and Capacity. Size refers to the physical
dimension of the disk and Capacity refers to the amount of information the disk can hold.
B. Optical Storage: It uses the principle of light (laser beam), rather than magnetism to
store information. Optical disks have huge capacity. They are two types of common
optical disk:
1. CD (compact disk)
CD_R(CD recordable)
8
9
CD_RW(CD rewritable)
CD_ROM(CD read only memory)
2. DVD (digital versatile disk)
DVD-ROM
DVD+R
DVD+RW
DVD-RAM
9
10
10
11
Systems Software
The Systems software consists an operating system software and systems development software
(language software) and system support software (utility software). These programs language
allow the user to communicate with the computer and write or develop its own programs. This
software makes the machine easier to use, and makes an efficient use of the resources of the
hardware possible. Systems software of operating system software provides the interface between
the hardware and the users. Interface is the means by which a person interacts with a computer.
Generally, Systems software includes: operating system, system support software, and systems
development software.
III. High-level Languages: Is the third generation language. The instructions are called
statements. Statements closely resemble human languages. The translator of this language
Compilers and Interpreters used as a translator of high-level to machine language. E.g.
FORTRAN, COBOL, BASIC, Pascal, C++, Visual C++, etc.
IV. Fourth Generation Languages: allow users to create programs with much less effort than is
required by high-level languages. They are more English-like than high-level languages.
Examples are database query languages, report generators, and application generators.
A. Applications Software
It consists of programs or instructions to perform specific task or job or information processing
activities. There is a number of application software. Some of such application softwaresare:
- Word Processing: Allow creating documents like letters, reports, handouts, office memos,
magazines, newspapers, etc. Examples MS-Word, Word Star, and Word Perfect.
- Spreadsheets: is a table of rows and columns to perform calculations and other related
activities on a numerical data. Examples are MS-Excel, Lotus 1-2-3, and Quattro Pro.
- Database Management system (DBMS): are used to systematically handle, organize, or
store data and latter get the stored data in a much flexible way. Examples: MS-Access Fox
Pro.
- Desktop Publishing Programs: are used to create (publish) professional newsletters and
reports using the PC that sits on your desktop. Examples: Page Maker, Ventura.
- Computer Aided Design (CAD): is used by engineers and designers to draw an object.
Example: Auto CAD
- Computer Games: Example Chess, Solitaire, Dave, etc.
- Types of various Units of Memory-
- Byte
- Kilo Byte=1,000 bytes=103
- Mega Byte= 1,000,000 bytes=106
- Giga Byte= 1, 000, 000, 000 bytes=109
- Tera Byte=1, 000, 000, 000, 000 bytes=1012
- Peta Byte= 1, 000, 000, 000, 000, 000 bytes=1015
- Exa Byte= 1, 000, 000, 000, 000, 000, 000 bytes=1018
- Zetta Byte= 1, 000, 000, 000, 000, 000, 000, 000 bytes=1021
- Yotta Byte= 1, 000, 000, 000, 000, 000, 000, 000, 000 bytes= 1024
12
13
Byte 8 Bits 1
Zettabyte 1, 024 Exabytes 1, 180, 591, 620, 717, 411, 303, 424
Yottabyte 1, 024 Zettabytes 1, 208, 925, 819, 614, 629, 174, 706, 176
13