Computer Chapter 1
Computer Chapter 1
CENTRAL PROCESSING UNIT The central processing unit (CPU) is the computer
component that is responsible for controlling instructions and data flow to and from other
parts of the computer. A computer’s CPU handles all instructions it receives from hardware
and software running on the computer. The CPU is the most important element of a
computer system. This is why CPU is also called the brain of the computer.
Main features of CPU are:
● Performs all data processing tasks
● Stores data, results and instructions
● Controls the operation of all parts of computers CPU itself has three main components.
Control Unit ALU (Arithmetic Logic Unit) Storage Unit
Control Unit This unit controls the operations of all parts of the computer but does not
carry out any actual data processing operations. Functions of this unit are:
● It is responsible for controlling the transfer of data and instructions among other units of
a computer.
● It manages and coordinates with all the units of the computer.
● It communicates with Input/Output devices for transfer of data or results from storage.
● It does not process or store data.
ALU (Arithmetic Logic Unit) This unit consists of two subsections, namely,
● Arithmetic Section: This unit performs arithmetic operations. All complex operations are
done by making repetitive use of the above mentioned operations.
● Logic Section: Function of logic section is to perform logic operations such as
comparing, selecting, matching, and merging of data. Register A CPU contains a number
of registers to store all data temporarily during the execution of a program. Registers are
special temporary storage locations situated in CPU.
MEMORY UNIT OF A COMPUTER SYSTEM
This unit can store instructions, data, and intermediate results. This unit supplies
information to other units of the computer when needed.
Functions of the Memory Unit
The important functions of the memory unit are:
● It stores all the data and the instructions required for processing.
● It stores intermediate results of processing.
● It stores the final results of processing before these results are released to an output
device.
● All inputs and outputs are transmitted through the main memory.
Types of the Memory Unit
Memory Unit primarily is of two types –
● Primary Memory/Main Memory
● Secondary Memory Primary Memory (Main Memory) Primary memory retains only those
inputs on which the computer is currently working. It has a limited capacity. The data is
lost when power is switched off. Primary memory is also called as volatile memory
because it cannot store the data permanently.
Characteristics of Primary Memory
● It is known as the main memory.
● These are semiconductor memories.
● It is usually volatile.
● It loses data in case of power failure.
● It is the working memory of the computer.
● It is faster than the secondary memories.
● A computer cannot run without the primary memory.
Types of Primary Memory
Primary memory The Primary memory has two sub types:
a. RAM (Random Access Memory)
b. ROM (Read Only Memory)
RAM (Random Access Memory): RAM is a volatile memory. The primary storage is
referred to as random access memory (RAM) because it selects memory locations on
random basis. It performs both read and write operations on memory. If there is a power
failure during memory access then the data is lost permanently. RAM is small both in
terms of its physical size and the amount of data it can hold.
RAM is of two types –
Static RAM (SRAM)
Dynamic RAM (DRAM)
Static RAM (SRAM) Dynamic RAM (DRAM) As the word static indicates, the memory
retains its contents as long as power is being supplied. However, data is lost when the
power is switched off due to its volatile nature.
DRAM should be continually refreshed in order to maintain the data. This is done by
placing the memory on a refresh circuit that rewrites the data several
STORAGE DEVICES
Floppy Disk
Floppy disk is a type of storage media, capable of storing electronic data, like a computer
file. The floppy diskette was first created in 1967 by IBM. Early computers did not have
CD ROM drives or USB ports, and floppy disks were the only way to install a new program
onto a computer or backup the information. A floppy disk is a magnetic media which stores
and reads data using a read/write head. It is obsolete nowadays and not much in use.
Hard Disk
Hard disk is made up of a group of circular disks called platters. These disks are arranged
one on top of the other at the distance of about half inches between them around a spindle.
These platters are made of non-magnetic material usually aluminium alloy and coated with
10-20 nm of magnetic material. Standard diameter of these disks is 14 inches. They rotate
with speeds varying from 4200 rpm (rotations per minute) for PCs to 15000 rpm for larger
computers like servers. Data is stored by magnetizing or demagnetizing the magnetic
coating. A magnetic reader arm is used to read data from the disks and the same arm is
used to write data to the disks. The capacity of a typical modern HDD is measured in
terabytes (TB).
Advantages
● Large storage capacity
● Higher reliability
● Highly cost efficient
Disadvantages
● Hard disks can crash which stops the computer from working.
● The disk is fixed inside the computer and cannot easily be transferred to another
computer.
CDs (Compact Disk) These are circular disks that use optical rays, usually lasers, to
read and write data.
DVD ( DIGITAL VERSATILE DISC )
Third Generation (1964 – 1971) The Third generation computers used the integrated
circuits (IC). In an IC chip, multiple transistors are placed on a silicon chip. Silicon is a type
of semiconductor. These were the first computers where users interacted using keyboards
and monitors which interfaced with an operating system. This development made
computers much more smaller in size, reliable and efficient. High level languages
(FORTRAN-IITO IV, COBOL, PASCAL PL/1, BASIC, ALGOL-68, etc.) were used during
this generation. Fig. 1.11 IC chip
Fourth Generation (1972 – 1990) FACTFILE The fourth generation of computers is
marked by the use of Very Large Scale Integrated (VLSI) circuits. The IC was invented by
Jack Kilby. VLSI circuits having about 5000 transistors and other circuit elements and their
associated circuits on a single chip made it possible to have microcomputers of fourth
generation. The increased power of these small computers meant they could be linked,
creating networks which ultimately led to the development, birth and rapid evolution of the
Internet. Other major advances during this period have been the emergence of Graphical
user interface (GUI), the mouse—the latest advancement in hand-held devices.
TYPES OF COMPUTER
Types of computers can be categorized as: Purpose wise computers
Special Purpose Computers which are designed to be task specific and most of the
times their job is to solve one particular problem are called special purpose computers.
They are also known as dedicated computers, because they are dedicated to perform a
single task over and over again. Examples of special purpose computer is Automatic Teller
Machine (ATM).
General Purpose Computers that are designed to perform a wide variety of functions
and operations are called general purpose computers. A general purpose computer is
able to perform a wide variety of operations because it can store and execute different
programs in its internal storage. Most computers in use today are General-purpose
computers.
Operation-wise Computers
A Hybrid Computer A hybrid computer is a type of computer that offers the functionalities
of both digital and an analog computer. It is constructed in such a way that its components
make the device fast and accurate. Hybrid computers have been necessary for successful
system development and are generally used in scientific applications or in controlling
industrial processes. A hybrid computer has the speed of analog and accuracy of digital
computer. Example, computer to monitor multiple parameters of a patient in ICU, fuel
dispenser at petrol pumps contains a processor that controls fuel flow.