Module 1
Module 1
CHARACTERISTICS OF COMPUTER
The characteristics of computer are
Speed: The computer can process data very fast, at the rate of millions of
instructions per second. Some calculations that would have taken hours and
days to complete otherwise, can be completed in a few seconds using the
computer.
Accuracy: Computer provides a high degree of accuracy. For example, the
computer can accurately give the result of division of any two numbers up to 10
decimal places.
Diligence: When used for a longer period of time, the computer does not get
tired or fatigued. It can perform long and complex calculations with the same
speed and accuracy from the start till the end.
Storage Capability: Large volumes of data and information can be stored in
the computer and also retrieved whenever required. A limited amount of data
can be stored, temporarily, in the primary memory. Secondary storage devices
like floppy disk and compact disk can store a large amount of data permanently.
Versatility: Computer is versatile in nature. It can perform different types of
tasks with the same ease. At one moment you can use the computer to prepare a
letter document and in the next moment you may play music or print a
document.
*Power of Remembering: Computer can store and recall any amount of
information because of its secondary storage capability. It forgets or loses
certain information only when it is asked to do so
* No I.Q.: A computer does only what it is programmed to do. It cannot take its
own decision in this regard
* No Feelings: Computers are devoid of emotions. Their judgement is based on
the instructions given to them in the form of programs that are written by human
beings.
GENERATIONS OF COMPUTER
The computer has evolved from a large—sized simple calculating machine to a
smaller but much more powerful machine. The evolution of computer to the
current state is defined in terms of the generations of computer.
Each generation of computer is designed based on a new technological
development, resulting in better, cheaper and smaller computers that are more
powerful, faster and efficient than their predecessors.
Currently, there are five generations of computer. The generations of computer
are divided on the basis of,
1. The technology used by them (hardware and software),
2. Computing characteristics (speed, i.e., number of instructions executed per
second),
3. Physical appearance, and
4. Their applications.
Application They were used for scientific applications as they were the
fastest computing device of their time.
Examples
IBM 370, PDP 11.
The third generation computers used less power and generated less heat than the
second generation computers.
The cost of the computer reduced significantly, as individual components of the
computer were not required to be assembled manually.
The maintenance cost of the computers was also less compared to their
predecessors.
* Hardware Technology They use the Large Scale Integration (LSI) and the
Very Large Scale Integration (VLSI) technology. Thousands of transistors are
integrated on a small silicon chip using LSI technology. VLSI allows hundreds
of thousands of components to be integrated in a small chip.
This era is marked by the development of microprocessor. Microprocessor is a
chip containing millions of transistors and components, and, designed using LSI
and VLSI technology.
Examples
The Intel 4004 chip was the first microprocessor. The components of the
computer like Central Processing Unit (CPU) and memory were located on a
single chip.
In 1981, IBM introduced the first computer for home use.
In 1984, Apple introduced the Macintosh. The microprocessor has resulted in
the fourth generation computers being smaller and cheaper than their
predecessors.
Super computers- Cray-1, Cray-2, Hitachi etc..
The fourth generation computers are also portable and more reliable. They
generate much lesser heat and require less maintenance compared to their
predecessors
Hardware technologies
ICs with ULSI technology in which millions of transistors were placed in a
single IC. Intel’s Pentium 4 contains 400 million transistors.64 bit
microprocessors were developed.
Larger capacity main memory, hard disks with RAID support have been
developed during this period.
Optical disks were developed as portable read-only storage media Notebooks,
powerful desktop PCs and workstations, Powerful servers and supercomputers
were common.
Multimedia computers were also very common. Robots were developed. They
can work in any environment where human beings cannot do. Internet, Cluster
computing were very popular.
software technologies
Micro-kernel based, multithreading, distributed OS , Parallel programming
libraries are in use.
Object oriented language JAVA for internet programming is widely used.
World Wide Web, Multimedia, Internet applications are common to public.
More complex supercomputing applications are developed. Robotics and
Development of expert systems to make decisions in real-life situations were
introduced.
Application
Portable computers , Powerful, cheaper, reliable, and easier to use desktop
machines . Powerful supercomputers
Totally general purpose machines easier to produce commercially, easier to
upgrade , Rapid software development possible.
examples
IBM notebooks
Pentium PCs
SUN Workstations
IBM SP/2
SGI Origin 2000
PARAM 10000
CLASSIFICATION OF COMPUTERS
The digital computers that are available nowadays vary in their sizes and types.
The computers are broadly classified into four categories based on their size and
type
1. Microcomputers
2. Minicomputers
3. Mainframe computers
4. Super computers
Microcomputers
Microcomputers are small, low-cost and single-user digital computer. They
consist of CPU, input unit, output unit, storage unit and the software.
Although microcomputers are stand-alone machines, they can be connected
together to create a network of computers that can serve more than one user
Types of microcomputers:
a. desktop computers
b. notebook computers or laptop
c. tablet computer
d. handheld computer
e. smart phones
a. Desktop Computer or Personal Computer (PC)
This is the most common type of microcomputer. It is a stand-alone machine
that can be placed on the desk. It consists of keyboard, monitor, CPU, memory,
hard disk drive, etc. It is not very expensive and is suited to the needs of a single
user at home, small business units, and organizations. Apple, Microsoft, HP,
Dell
and Lenovo are some of the PC manufacturers.
Notebook Computers or Laptop
This type of computers resemble a notebook. They are portable and have all the
features of a desktop computer. The advantage of the laptop is that it is small in
size (can be put inside a briefcase), can be carried anywhere.It has a battery
backup and has all the functionality of the desktop. Laptops can be placed on
the lap while working (hence the name). Laptops are costlier than the desktop
machines.
Tablet
This computer has features of the notebook computer but it can accept input
from a stylus or a pen instead of the keyboard or mouse. It is a portable
computer. Tablet computer are the new kind of PCs.
Handheld Computer or Personal Digital Assistant (PDA)
This is a small computer that can be held on the top of the palm. It is small in
size. Instead of the keyboard, PDA uses a pen or a stylus for input. PDAs do not
have a disk drive. They have a limited memory and are less powerful. PDAs can
be connected to the Internet via a wireless connection. Casio and Apple are
some of the manufacturers of PDA. Over the last few years, PDAs have merged
into mobile phones to create smart phones.
Smart Phones
They are cellular phones that function both as a phone and as a small PC. They
may use a stylus or a pen, or may have a small keyboard. They can be
connected to the internet wirelessly. They are used to access the electronic-mail,
download music, play games, etc. Blackberry, Apple, HTC, Nokia and LG are
some of the manufacturers of smart phones.
b. Minicomputers
Minicomputers are digital computers, generally used in multi-user systems.
They
have high processing speed and high storage capacity than the microcomputers.
Minicomputers can support 4–200 users simultaneously. The users can access
the minicomputer through their PCs or terminal. They are used for real-time
applications in industries, research centres, etc.
PDP 11, IBM (8000 series) are some of the widely used minicomputers
Mainframe Computers
Mainframe computers are multi-user, multi-programming and high performance
computers. They operate at a very high speed, have very large storage capacity
and can handle the workload of many users. Mainframe computers are large and
powerful systems generally used in centralized databases. The user accesses the
mainframe computer via a terminal.
Mainframe computers are used in organizations like banks or companies, where
many people require frequent access to the same data. Some examples of
mainframes are CDC 6600 and IBM ES000 series.
Supercomputers
Supercomputers are the fastest and the most expensive machines. They have
high
processing speed compared to other computers. The speed of a supercomputer is
generally measured in FLOPS (FLoating point Operations per Second). Some of
the faster supercomputers can perform trillions of calculations per second.
Supercomputers are built by interconnecting thousands of processors that can
work in parallel.
Supercomputers are used for highly calculation-intensive tasks, such as, weather
forecasting, climate research (global warming), molecular research, biological
research, nuclear research and aircraft design. They are also used in major
universities, military agencies and scientific research laboratories. Some
examples of supercomputers are IBM Roadrunner, IBM Blue gene and Intel
ASCI red. PARAM is a series of supercomputer assembled in India by C-DAC
(Center for Development of Advanced Computing), in Pune. PARAM Padma is
the latest machine in this series. The peak computing power of PARAM Padma
is 1 Tera FLOP (TFLOP).
The major components of a digital computer are CPU, memory, input device
and output device.
The schematic diagram of a digital computer can be represented as ,
CPU
Memory
Block Diagram
Input Unit
The user interacts with the computer via the I/O unit. The Input unit accepts
data from the user and the Output unit provides the processed data i.e. the
information to the user. The Input unit converts the data that it accepts from the
user, into a form that is understandable by the computer. The input is provided
to the computer using input devices like keyboard, trackball and mouse
Output Unit
The Output device displays the output in a form that is understandable by the
user. The computer send the information to an output device in the binary
format. The output device converts it into suitable form so that users can access
it in the printed format or voice output.
Some of the commonly used output devices are monitor and printer.
Central Processing Unit
CPU controls, coordinates and supervises the operations of the computer. It is
responsible for processing of the input data. CPU consists of Arithmetic Logic
Unit (ALU) and Control Unit (CU).
ALU performs all the arithmetic and logic operations on the input data.
CU controls the overall operations of the computer i.e. it checks the
sequence of execution of instructions, and, controls and coordinates the
overall functioning of the units of computer.
Additionally, CPU also has a set of registers for temporary storage of data,
instructions, addresses and intermediate results of calculation.
The schematic diagram of CPU can be represented as shown below.
Accumulator
ALU
General and special purpose
registers
Memory Unit
Memory unit stores the data, instructions, intermediate results and output,
temporarily, during the processing of data. This memory is also called the main
memory or primary memory of the computer. The input data, to be processed is
brought into the main memory before processing. The instructions required for
processing of data and any intermediate results are also stored in the main
memory. The output is stored in memory before being transferred to the output
device.
CPU can work with the information stored in the main memory. Another kind
of storage unit is also referred to as the secondary memory of the computer. The
data, the programs and the output are stored permanently in the storage unit of
the computer. Magnetic disks, optical disks and magnetic tapes are examples of
secondary memory.
Booting Process
The process of turning on your computer and allow it to go through instructions
to bring up the operating system is called booting. The operating system is the
program that makes all your software applications and hardware work together.
The boot process loads the operating system into main memory or the random
access memory (RAM) installed on your computer. The term booting is derived
from boot strapping.
When the computer starts up by pressing the power button, the first thing that
occurs is to send a signal to the motherboard which in turn starts the power
supply. After supplying the correct amount of power to each device, it sends a
signal “power OK “to BIOS, which resides in the motherboard.
Once the BIOS receive the power ok signal, it starts the booting process by first
initializing a process called POST. POST first checks that every device has the
right amount of power and then it checks whether the memory is not corrupted.
Then it initializes every devices and finally passes the control to BIOS for
further booting.
Once the POST is complete, the BIOS, or Basic Input/output System, is
activated. The BIOS is actually stored in read only memory (ROM).
Now the final step of booting begins. The boot loader program opens or wakes
up the BIOS, which then finds the complete loading instructions on a bootable
device, typically the hard disk. For this the BIOS finds a record called Master
Boot Record (MBR).
The Master Boot Record (MBR) is the information which is in the first sector
(boot sector) of any hard disk that indicates how and where an operating system
is located so that it can be boot (loaded) into the computer's main memory or
random access memory. Its size is less than 512 bytes
The program that starts the “chain reaction” which ends with the entire operating
system being loaded is known as the boot loader (or bootstrap loader).
The boot loader’s only job is to load other software for the operating system to
start
The priority of booting devices is set by the user in BIOS setting. The normal
priority is hard disk. If a valid boot sector is not found, BIOS checks for the next
device in the boot sequence until it finds a valid boot sector. If the BIOS fails to
get a valid boot sector, it stops execution and gives another message “Disk Boot
Failure”.
Boot Devices
The boot device is the device from which the operating system is loaded. A
modern PC BIOS (Basic Input/Output System) supports booting from various
devices. These include the local hard disk drive, optical drive, floppy drive, a
network interface card, and a USB device. Typically, the BIOS will allow the
user to configure a boot order. If the boot order is set to:
1. CD Drive
2. Hard Disk Drive
3. Network
then the BIOS will try to boot from the CD drive first, and if that fails then it will
try to boot from the hard disk drive, and if that fails then it will try to boot from
the network, and if that fails then it won’t boot at all.
The CPU initializes itself after the power in the computer is first turned
on
After this, the CPU looks for the system’s ROM BIOS to obtain the first
instruction in the start-up program. This first instruction is stored in the
BIOS and it instructs the system to run POST (Power On Self Test)
POST first checks the BIOS chip and then the CMOS. If there is no
battery failure detected by POST, then it continues to initialize the CPU.
POST also checks the hardware devices, secondary storage devices such
as hard drives, ports etc. And other hardware devices such as the mouse
and keyboard. This is done to make sure they are working properly.
After POST makes sure that all the components are working properly,
then the BIOS finds an operating system to load.
The CMOS chip tells the BIOS, where the operating system is found.
The order of the different drives that CMOS looks at while finding the
operating system is known as the boot sequence. This sequence can be
changed by changing the CMOS setup.
After finding the appropriate boot drive, the BIOS first finds the boot
record which tells it to find the beginning of the operating system.
After the initialization of the operating system, the BIOS copies the files
into the memory. Then the operating system controls the boot process.
In the end, the operating system does a final inventory of the system
memory and loads the device drivers needed to control the peripheral
devices.
The users can access the system applications to perform various tasks.
Memory capacity
Memory capacity is the amount of memory that can be used for an electronic
device such as a computer, laptop, smartphone or other smart device.
Every hardware device or computer has a minimum and maximum amount of
memory. The performance of a device and the efficiency of its input/output
operations is dependent on memory capacity
The memory capacity of a device is commonly expressed in bytes, kilobytes,
megabytes, gigabytes or terabytes.
The memory capacity of a device depends on many factors such as the number
of available address registers in the CPU. In the case of 32-bit CPUs, they can
only address a memory capacity of up to 4 GB. As for a 64-bit computer, the
memory capacity is unlimited.
Memory Units
Memory unit is the amount of data that can be stored in the storage unit. This
storage capacity is expressed in terms of Bytes.
The following table explains the main memory storage units −
Nibble
2
A group of 4 bits is called nibble.
Byte
3 A group of 8 bits is called byte. A byte is the smallest unit, which can represent a
data item or a character.
4 Word
A computer word, like a byte, is a group of fixed number of bits processed as a
unit, which varies from computer to computer but is fixed for each computer.
The length of a computer word is called word-size or word length. It may be as
small as 8 bits or may be as long as 96 bits. A computer stores the information in
the form of computer words.
1 Kilobyte (KB)
1 KB = 1024 Bytes
Megabyte (MB)
2
1 MB = 1024 KB
GigaByte (GB)
3
1 GB = 1024 MB
TeraByte (TB)
4
1 TB = 1024 GB
PetaByte (PB)
5
1 PB = 1024 TB
ExaByte
6
1 EB=1024 PB
ZettaByte
7
1 ZB=1024 EB
8 YottaByte
1 YB=1024 ZB
Memory Speed
The amount of time that it takes RAM to receive a request from the processor
and then read or write data. The faster the RAM, the faster the
processing speed. RAM speed is measured in Megahertz (MHz), millions of
cycles per second.
Clock Speed
Clock speed is the rate at which a processor can complete a processing cycle. It
is typically measured in megahertz or gigahertz. One megahertz is equal to one
million cycles per second, while one gigahertz equals one billion cycles per
second. This means a 1.8 GHz processor has twice the clock speed of a 900
MHz processor.