Chapter 2
Chapter 2
CHAPTER TWO
COMPUTER ORGANIZATION
Hardware: is the physical part of a computer that you can see and touch
with our hand.
Hardware: is the physical part of a computer that you can see and touch with
our hand. A hard ware composed of different units. These are: Input device,
Central Processing Unit (CPU), Output device and Storage unit.
INPUT OUTPUT
UNIT UNIT
Registers
ROM
Primary Memory
1. Input Unit:
Input devices play a major role in the processing of any data via the computer
system because the output of the computer is always based on the given input.
The commonly used input devices are: Keyboard, Mouse, Scanner and Digital
camera
Key board: is the most common data entry device, and has different
shapes and size. The keys on the keyboard are often classified as follows
Control keys: these keys provide cursor and screen control. E.g.
Arrow keys, Home, Page down etc.
Types of mouse
Scanner: is a device that used to convert hard copy in to soft copy form.
The CPU or the microprocessor (or simply processor) is referred as the brain of
computer system. It controls all internal and external devices, and performs
arithmetic and logical operations. The processor operates only on binary data
that is composed of 1’s and 0’s corresponding to electrical switches ON or OFF.
It performs, supervises, and controls the arithmetic operations (Addition,
subtraction, multiplication, division) and logical functions (such as ‘is A greater
than B’?), primary storage, or main memory, provides the temporary locations
inside the computer where the data and instructions are stored while
processed. The functions of the processor can be summarizing as:
Carrying out arithmetic and logical functions
The CPU consists of three main subsystems. These are: Control unit,
Arithmetic and Logical unit and Registers.
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.
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.
As the name suggests, the arithmetic logical unit carries out arithmetic and
logical operations on the data made available to it. For simple understanding,
the ALU can be divided in to arithmetic unit and logical unit.
Arithmetic Unit: contains the circuitry that is responsible for performing the
actual computing and carrying out the arithmetic calculations, such as
addition, subtraction, multiplication, and division. It can perform these
operations at a very high speed.
Logical Unit: the importance of the logical unit is the ability it provides to the
CPU to make logical operations based on the instructions provided to it. Logical
unit uses statements such as AND, OR, and NOT. This is useful when you have
a set of instructions to execute only if certain conditions are true.
Registers:
The registers are special purpose, high speed temporary memory unit. They
hold varies types of information such as data, instructions, addresses, and the
intermediate results of calculations. Essentially, they hold the information that
the CPU is currently working on. Registers can be thought of as CPU’s working
memory. As the size of the registers increase, the computer processing
3. Output devices(Units):
They are mainly used for computer aided design (CAD) and
computer aided manufacturing (CAM) applications such as
printing out plans of houses or car parts.
These are also used with programs like AUTO CAD (Computer
Assisted Drafting) to give graphic outputs.
Monitor: is the most frequently used soft copy output device. It used to
display the processed data.
4. Storage device
Devices used to store data or program files. There are two types of storage
devices.
Primary storage devices
A. Primary storage devices: are used to store data that are processed
and executed immediately. An example of primary storage device is a
Memory. Memory is the electronic holding place for instructions and data
where the computer’s microprocessor can reach quickly. CPU requires
memory to handle the intermediately results and to store the final output.
The primary memory (storage device) also implemented by two types of
memory technologies. Random Access Memory (RAM) and Read Only
Memory (ROM).
Features of RAM
Features of ROM
The contents of ROM are not lost even in case of a sudden power
failure, making it non-volatile in nature.
B. Secondary storage device: are devices used to store data file and program
files permanently.
Example:
Hard disk- a smooth metal plate coated on both sides with a thin film of
magnetic material. Permanently fixed within a system unit. It has high
storage capacity than floppy disk, and it is a random access storage
media.
CD/DVD: these types of storage media are removable optical disks used
to store data. The first one (CD) is that in which the data once written
cannot be erased. It is stored permanently over it. While the second type
of the CD’s or the DVD’s are called as the rewritable; where in the data
that is once written can be erased completely and the same storage
device can be used again for storing the different data.
The internal component of the computer that used to control, integrate, and
manage the hardware components and to accomplish specific tasks. There are
two components of software.
1. System software
2. Application Software
The following figure shows the classification of the computer software: -
Utility
software
e.g.
Antivirus
This is the responsibility of the system software to check the hard disk and
space on the free space of the hard disk.
Advantages - fast
Back up: sometimes data files can get corrupt, or get accidentally
deleted. In such a case, data backups become very useful. A backup
system utility is essential for those organizations that want to keep
their data intact.
Virus protection: Antivirus scans for the hard disk for any kind of
virus.