Fundamental 1
Fundamental 1
INTRODUCTION
Computer is the most versatile electronic machine man has ever created. The
word “computer” comes from the Greek word “compute “which means to
calculate. Another name of Computer is “System” which is also derived
from Greek word “Systema” which means a group of components is
combining with each other to perform a specific task. Hence a computer is
normally considered to be a calculating device, which can perform
arithmetic operations and also take logical decision at an enormous speed.
In other words, a computer is an electronic digital device which accepts the
input data, stores the data does the arithmetic and logical computation in
rapid speed and outputs the required information in the desired format. More
than 80% of the work done by computers today is of non-mathematical in
nature (it can do weather forecasting, reservation, maintain records, monitor
anesthesia in hospitals, creating special effects in movies.etc). So today we
can’t say it as only a calculating machine.
Computers have made a great impact on our day-to-day life. Their presence
is felt in almost every walk of life such as homes, schools, colleges,
universities, offices, industries, hospital, banks, railways, airways,
researches, retail stores, ATMs etc.
APPLICATIONS OF COMPUTERS
Today, computers are used in varieties of applications. It is used in every step walk
of life .So it is very difficult to list out all the applications of computers. Some
popular applications of computers are:
1
1. Office automation (maintain records, database etc.) Electronic mailing(E-
mails)
2. Industries (Payroll, personal information, meetings etc.)
3. Libraries (Book records, renewal, overdue etc.)
4. Reservation (transport, railway, airway etc.)&Educations( School, college,
University)
5. Hospital (X-Ray, ICU, Scanning etc.). Banks (Financial Transactions)
6. Traffic controls(Traffic light control)
7. Crimes (Record of crime, criminals, cops etc.)
8. Multimedia (Movies,Animatons,Presentations etc)
9. Defenses (launching missiles, Encryption, Decryption etc.)
10.Researches (Satellites communication, testing weapons etc.)
11.Entertainments(video games)
12.Retail Stores (Maintain Bills, stocks, prices etc.)
2
4. Outputting:- The process of producing / retrieving / showing useful
information/ result to the user in printed form or on the visual display
( screen / monitor) is called outputting.
5. Controlling: The Process of directing the manner and sequence in which all
of the above operations are performed is called Controlling.
CHARACTERISTIC OF COMPUTERS
1. Speed:
3
3. Storage Capacity:
Computer has its memory to store a huge amount o data. The data can be
compactly stored in computer and retrieved as and when required. As compared to
a human being who stores data only for a short time period, computers can
remember all the data for several years. It loses the data if the user wants.
4. Capability to be Programmed:
5. Automation:
6. Versatility :
7. Diligence :
4
Unlike human beings, a computer is free from monotony, tiredness and lack of
concentration. It can perform a task repeatedly without showing any sign of
fatigue. If ten million calculations to be performed, a computer will perform all
with the same accuracy and speed as of the first one. They do not stick days and
take coffee breaks even they work for long hours. If we program it once, it can
work as many times as we want with the same accuracy and efficiency.
1. No I.Q. :
A computer possesses no intelligence of its own. Its I.Q is zero at least until today.
It has to be told what to do and in what sequence.
2. GIGO:
3. No feeling / experience :
HISTORY OF COMPUTER
5
In the year of 1694 Barron Gottfried Wilhelm von Leibniz improved the
Pascaline Calculator named the device as Leibniz Calculator. Also known as
digital calculator.
In the year of 1822 Charles Babbage tried to solve differential equations.
This Machine was named “Different Engine”. In 1842, Charles Babbage
came out with his new idea of Analytical Engine which was intended to
completely automatic. The Analytical Engine Named as Computer. So
Charles Babbage is considered as the father of Modern Digital Computer.
In the year of 1880 Christopher Latham Sholes invented Keyboard.
In the year of 1970 Douglas Englebart and Bill English Invented Mouse.
CLASSIFICATION OF COMPUTERS
6
Computers can be classified in several ways. The general methods of classification
of computers are based on various characteristics. Some important of them are
given below.
These computers accept process and produces continuous data or analog data
and perform manipulation on physical quantities such as pressure, temperature
etc. in form of voltages. These are faster than digital computers but give 99%
accurate results. These computers do
not operate on digital data directly if
the user wants to process digital data,
these must be converted into analog
quantity before processing and for
this purpose DAC (Digital- to-
Analog Converter ) is used.
3. Hybrid Computers:
8
These computers use good qualities of both
digital and analog computers. These are
used for space research, process control
and in medicals. It is used in ICU
(Intensive Care Unit) of hospitals to
measure the beat of a patient and give in
digital form to the doctor.
Computers can be classified into the following four categories to the size and
capacity. Before that we have to know about word of Computer. A set of bits
which has capable of being stored in one storage location is called WORD of
computer.
1. Micro Computers
9
used configuration consists of a system unit, a monitor, a keyboard and a mouse. A
few of the major manufactures are IBM, Apple etc. Pcs are come in all shapes and
sizes.
2. Mini Computers
3. Main-Frame Computers
A main frame computer is large in size and much capability as compared to micro
and mini computers. These are also used in multi-user systems with central host
computers (or servers). These can have the ability to hold a large volume of data.
Some main frames are MEDHA, IBM, and HP. Mainframe computers are used in
10
research organization, large industrial banks, airline, insurances and railway
reservation where large database is required.
4. Super Computer
Super Computer is most powerful and expensive computers. These are extremely
large storage capabilities and computing speed which at least 10 times faster than
other computers. They are primarily used for processing complex scientific
applications, weather forecasting, remote sensing, bio-medical application. These
are used for specific purposes (designing supersonic air craft’s, launching missiles,
designing satellites, weather forecasting etc.)
GENERATIONS OF COMPUTER
The history of computer development is often referred to in the different operations
of computing devices. Each generation of computer is characterized by a major
technological development that fundamentally changed the way computers operate.
Generally it is classified into five types.
11
5. Fifth Generation (1989 till cont.)
12
Second Generation (1955-1964)
Examples:-Honeywell 400, IBM (1401, 1620, 7090, 7094 I, 7094 II), CDC 1604,
UNIVAC LARC.
13
The computers were much smaller than the 2 nd generation computer and
require small space.
These machines are suitable for both scientific and commercial applications.
Minicomputers were introduced in this generation.
Examples: - IBM 4300, ICL 2900 AND PC’s (Personal Computers), Laptops.
14
In this generation ULSI (Ultra Large Scale Integrated Circuit) used as
technology.
Consume less power, the maintenance cost is negligible.
Portable PCs called notebook computer introduced in this generation.
They have faster and larger primary and secondary storage as compared to
their predecessors.
BLOCK OF COMPUTERS
1. INPUT UNIT
2. CPU
3. OUTPUT UNIT
15
INPUT UNIT
Data and instruction must enter the computer system, before any computation can
be performed on the supplied data.
a) KEYBOARD
The keyboard is one of the most common input devices for computer. It allows
data entry into a computer system by pressing set of keys (labeled buttons)
which is connected to the computer system. It consists of 104 key and 256
Characters. Keys are classified into 5 Categories. They are
i. Numeric Key ( 0 to 9)
ii. Alphabetic Key (A to Z)
iii. Functional Key ( F1 to F12)
iv. Special Key (ctrl, alt, shift, enter, space, home, insert etc.)
16
v. Symbolic Key (>, <, +,-, =, ?, @, #,$ etc.)
b) MOUSE
The control unit and the arithmetic logic unit of a computer system are jointly
known as the Central processing Unit. It is known as the brain of computer.
Because as compared to the brain of a human being, it also stores the data, process
the data and gives instruction to other units. In a computer system all major
calculations and comparisons are perform inside the CPU and it is a responsible
for activating and controlling the operations of other units of the computer system.
The CPU performs the actual processing of data obtained, via the system bus,
from the main memory. Results from the CPU are then sent back to main memory
17
via system bus. In addition to computation the CPU controls and Co-ordinates the
operation of the other major components. The CPU is the most important
components of a computer. The CPU consists of different smaller compound like
motherboard, Hard disk, RAM, floppy disk drive, sound card etc. It consists of 3
blocks such as ALU, Memory Unit and Control Unit.
This unit is used to perform all the arithmetic and logic operations such as addition,
multiplication, subtraction, division and logical operations or comparisons such as
less than, greater than. The data and instructions, stored in the primary memory
prior to processing, are transferred to the ALU where actual processing takes
place.
Whether you are writing a letter with a computer, entering accounting records, or
drawing picture, your work is sitting inside the computer’s memory or RAM. This
process is called saving your work. When your work is saved it creates a computer
FILE.
The data and instructions required for processing (received from input
devices)
Intermediate result of processing
Final results of processing
Primary memory
18
Secondary memory
a) PRIMARY MEMORY
RAM
19
STATIC RAM (S-RAM) DYNAMIC RAM (D-RAM)
ROM
This is known as Read Only Memory and non-volatile in nature .It is also
possesses random access properly. ROM is generally classified into three types
Such as
A. PROM
B. EPROM
It stands for Erasable Programmable Read Only Memory. The content of this type
of ROM can be erased by some means an again can be programmed. This is used
20
for research and development purpose as the developers modifying and updating
the data several times.
C. EEP ROM
b) SECONDARY MEMORY
Examples:-Pen drive, Memory card, Hard disk Drive, CD, DVD etc.
21
III. CONTROL UNIT (CU)
It acts as a central nervous system for the other components of the computer. It
manages and co-ordinates the entire computer system, including input and output
units. It fetches the information from the main memory, decodes the instruction
and interprets the instruction to know what tasks to be performed.
OUTPUT UNIT
Output data is that has been processed into useful form now called information.
The output unit receives the stored result from the memory unit, converts it into a
form the user can understand.
Monitor/VDU
Printers
Plotters
Monitor / VDU
22
(LED/LCD Monitor) (CRT Monitor)
Monitors are the most popular output device used for producing soft-copy output.
A monitor is usually associated with keyboard as the input device and display unit
(VDU) as the output device. The two types of monitors used are:
Printer
Printers are the most commonly used output device for producing hard-copy
output. They are the primary devices used to prepare permanent documents in
human-readable format (hard copy).
23
PRINTERS
NON
IMPACT DRUM
IMPACT
DOT
INK JET
MATRIX
CHAIN
DAISY
LASER
WHEEL
COMPUTER SYSTEM
1. Hardware
2. Software
3. USER
1. HARDWARE
The physical component of the associated with computer which can be touchable,
moveable from one place to another place. Some examples are: Keyboard, mouse,
monitor etc.
24
2. SOFTWARE
a) SYSTEM SOFTWARE
Examples:
UNIX, LINUX.
25
TYPES OF OPERATING SYSTEMS
SINGLE USER
A personal computer (PC) is a popular single user system. The PC however was
designed for use by one person at a time since it is single user oriented with MS-
DOS operating system.
MULTI USER
Larger systems, which can be used by more than one person at a time is known as
multi-user systems. Such an Operating System is more efficient and more
sophisticated than single –user OS.
Examples
An Application is any program or group of programs that is designed for the end
use. Application Software (also called end-user programs) includes such things as
database programs, word processors, web browsers and spreadsheets.
Computer Languages
The languages which are used to interact and communicate with computer. There
are three types of language in computer system. They are:
26
1. Machine Level Language (It contains the binary digit values of 0 & 1)
2. Assembly Level Language (it contains alphanumeric values and
mnemonics such as ADD, SUB , MUL , DIV)
3. High Level Language (It contain set of rules called Syntax. Examples:-
Java, c, c++ etc.)
LANGUAGE PROCESSOR
Assembler
Compiler
Interpreter
ASSEMBLER
An assembler is a program that converts assembly language to machine
code.
It takes the basic commands and operations from assembly code and
converts into binary code that can be recognized by a specific type of
processor.
COMPILER
It is a software translator, compiles the whole program at a time consumes
more memory.
It takes the source code file as input and gives the reloadable object as
output
It is faster than interpreter.
27
It takes whole file at a time and compiles it and gives all syntax errors at
time with respect to the line numbers.
INTERPRETER
An interpreter is a translator program which is used for translating programs
written in high-level languages into its equivalent machine language
program.
It translates one statement at a time ,if error-free executes
It checks the program one line at a time, consumes comparatively less
memory.
It takes more time than compiler.
NUMBER SYSTEM
In computer system there is four types of number system is available. They are as
follows
i) Binary Number
ii) Octal Number
iii) Decimal Number
iv) Hexadecimal Number
ADDITION RULE
0+0=0 1+0=1
0+1=1 1+1=10
SUBTRACTION RULE
0-0=0 0-1=1
1-0=1 1-1=0
28
There are many methods or techniques which can be used to convert from one base
to another. We’ll demonstrate here the following
Step 1-Divide the decimal number to be converted by the value of the new
base.
Step 2-Get the remainder from step 1 as the rightmost digit(least significant
digit) of new base number.
Step 3-Divide the quotient of the previous divide by the new base.
Step 4-Record the remainder from step 3 as the next digit (to the left) of the
new base number.
Repeat steps 3 and 4, getting remainders from right to left, until the quotient
becomes zero in step 3.The last remainder thus obtained will be the most
significant digit (MSD) of the new base number.
Example
29
Step 1 29 /2 14 1
Step 2 14 /2 7 0
Step 3 7 /2 3 1
Step 4 3 /2 1 1
Step 5 1 /2 0 1
As mentioned in steps 2 and 4, the remainder have to be arranged in the reverse
order so that the first remainder becomes the least significant digit (LSD) and the
last remainder becomes the least significant (MSD)
Example
30
Other base System to Non-Decimal System
Example
31