Introduction To Computers: Dr. N.Rakesh Asst. Professor (SG) Dept. Computer Science & Engineering ASE, Bangalore
Introduction To Computers: Dr. N.Rakesh Asst. Professor (SG) Dept. Computer Science & Engineering ASE, Bangalore
Guru bhalge
Introduction to Computers
Dr. N.Rakesh
Asst. Professor(SG)
Dept. Computer Science & Engineering
ASE, Bangalore
WHAT IS A COMPUTER?
2
Data Vs. Information
Data : Data in computer terminology mean raw facts and figures.
For example,’Mohan’,1977,A . Data are processed to form
information.
Information : It means what we get after processing data (meaningful
data).
For example, ’Mohan, whose roll number is 1977, has got grade A’ is
an information as it is conveying some meaning.
This process of turning data into information is also known as
information processing.
FUNCTIONING OF A COMPUTER :
Certain input is needed to accomplish a task, a process is carried out on the
input to obtain the output.
Every process follows this Input-Process-Output cycle (IPO cycle).
Ex: c=a+b a=10,b=5 & c=15(output) or Paytm example
MAIN MEMORY
• Computer can understand only two stages ON/OFF or High/Low voltage or the binary language
that uses just two symbols : 1 for ON and 0 for OFF.
The Memory :
• Def : A memory cell may be defined as a device which can store a symbol selected from a set of
symbols. Each of these cells is further broken down into smaller parts known as bits.
• A bit means a binary digit. i.e., either 0 or 1.
• A bit is an element unit of the memory.
• Def. A group of 8 bits is called a byte and a group of 4 bits is called
a nibble.
• One byte is the smallest unit which can represent a data item or a
character.
• One KB(Kilobyte) -> 2¹º -> 1024 bytes.
• One MB(Megabyte) -> 2¹º KB -> 1024 x 1024 bytes.
• One GB(Gigabyte) -> 2¹º MB -> 1024 x 1024 x 1024 bytes.
• One TB(Terabyte) -> 2¹º GB -> 1024 x 1024 x 1024 x 1024 bytes.
• Two types of memory : (i) Volatile - > Primary Memory
(ii) Non Volatile -> Secondary Memory
1- Speed
Computer can work very fast .
Computer can perform millions of instructions and even more per second.
The speed of computer in terms of microsecond (10-6 part of second) or
nanosecond (10-9 part of a second).
The speed of microprocessors, called the clock speed, is measured in
megahertz.
A microprocessor that runs at 200 MHz executes 200 million cycles per
second .
12
2- Accuracy
The degree of accuracy of computer is very high and every calculation is performed
with the same accuracy.
The accuracy level is determined on the basis of design of computer.
The errors in computer are due to human and inaccurate data.
3- Diligence
A computer is a lack of concentration.
It can work for hours without creating any error
Due to this capability it overpowers human being in routine type of work.
13
4- Versatility
It means the capacity to perform completely different type of work.
5-Power of Remembering
Any amount of information can be stored in computer and recalled as
long as you require it, for any numbers of years.
It depends entirely upon you how much data you want to store in a
computer and when to lose or retrieve these data.
14
6- No IQ (intelligence quotient)
Computer is a dumb machine and it cannot do any work without instruction
from the user and it cannot take its own decision as you can.
7- No Feeling
It does not have feelings , it does not get tired even after long hours of work.
8- Storage
The Computer has an in-built memory where it can store a large amount of
data.
You can also store data in secondary storage devices such as floppies, CDs Flash
Memory which can be kept outside your computer and can be carried to other
computers.
15
COMPUTER SCIENCE
0-20
Abstraction
0-21
EVOLUTION OF COMPUTERS :
Abacus :
• Around 3000 years before the birth of Jesus Christ, the Mesopotamians
quite unknowingly laid the foundation of the computer era.
They discovered the earliest form of a bead-and-wire
counting machine, which subsequently came to be known
as abacus.
• An abacus consists of beads divided into two parts which are movable on the rods of the two parts. Addition and
multiplication etc. of numbers is done by using the place value of the digits of the numbers and position of beads
in the abacus.
Napier’s ‘Logs’ and ‘Bones’ :
John Napier (1550-1617) developed the idea of Logarithm. He used ‘logs’ to transform multiplication problem to
addition problem.
Pascal’s Adding Machine :
Blaise Pascal, a French mathematician, invented a machine in 1642 made up of gears which was used for adding
numbers quickly. This machine was named as Adding Machine ( Pascaline ) and was capable of addition and
subtraction.
The adding machine
consisted of numbered
toothed wheels having
unique position values. The
rotation of wheels
controlled the addition and
subtraction operations.
Leibnitz’s Calculator :
Gottfried Leibnitz, a German Mathematician,
improved an adding machine and
constructed a new machine in 1671 that was
able to perform multiplication and division
as well. This machine performed
multiplication through repeated addition of
numbers.
• Leibnitz’z machine used stepped cylinder each with nine teeth of varying lengths instead of wheels
as was used by Pascal.
Jacquard’s Loom :
• Joseph Jacquard manufactured punched cards at the end of American revolution and
used them to control looms in 1801. Thus the entire control weaving process was
automatic.
• The entire operation was under a program’s control.
Intelligent robots
Intelligent system that could control the route of a missile and defense systems
that could fend off attacks
3. Minicomputers :
Also called mid range servers
More powerful than micro computers in terms of processing power and
capabilities.
Multiuser system (Multi users can work simultaneously)
Greater storage capacity and larger memories compared to micro
comp.
Capable of handling more i/p and o/p devices.
Examples : PDP-11, VAX, 7500 MAGNUM etc.
4. Mainframe Computers :
Designed to handle huge volumes of data and information.
Can support more than 100 users at same time
Large and expensive
Great processing speeds and very large storage capacity and
memory as compared to mini comp.
Possess and work with more than one processor at the same time
Very sophisticated operating systems are needed to control and
supervise their operations.
Examples : ICL 39, CDC 6600, VAX 8842, IBM 3090/600, IBM 4381
5. Super Computers :
Most powerful among the digital computers
Consist of several processors running together, so
very powerful and faster
Capable of handling huge amounts of calculations
It can perform billions of instructions per second
Today’s some super computers have the computing
capability equal to that of 40,000 micro computers
These computers cost in 15-20 million dollar range.
Used for weather forecasting, nuclear science
research, aerodynamic modelling, seismology,
metrology etc.
Examples : CRAY X-MP-14, CDC-205, ETA GF-10,
FUJITSU VP-400, NEC SX-2, PARAM, PACE
Fro general purpose applications, supercomputers
do not make the ideal choice.
It can process information of only a certain kind.
Super computers
Its power measured in flops (floating point operations per second)
Analog Computers :
As input continuous quantities are used
Computations are carried out with physical quantities such as voltage, length,
current, temperature etc.
Operate by measuring rather than counting
All calculations take place in parallel and hence are faster
Accuracy is poor as compared to digital comp.
Mostly used in engg. And sci. applications.
Example : An electronic weighing scale
Hybrid Computers :
Utilize the best qualities of both the digital and analog comp.
Some calculations take place in analog manner and rest of them take place in
digital manner
Best used in Hospitals, also used for weather forecasting
QUIZ
• One mega byte is equivalent to?
1. 210 bytes
2. 220 bytes
3. 230 bytes
4. None of these
• Which of the following are parts of the CPU?
1. ALU
2. Memory
3. CU
4. Input device
5. Main Memory
• Which of the following is not hardware?
1. Hard Disk
2. Printer
3. Keyboard
4. CPU
5. Assembler
6. Program to print table of 13
• Which of the following are parts of the CPU?
1. ALU
2. Memory
3. CU
4. Input device
5. Main Memory
• The modern age of data processing began with the competition of the computer?
1. Analytical Engine
2. ENIAC
3. MARK 1
4. UNIVAC I
• A Micro processor is
1. A solid state device
2. Capable of performing Arithmetic operations
3. Capable of performing Logical operations
4. All the above
• In computer science ,by information we mean
1. Any output coming out from computer
2. Processed data put out from computer
3. A report printed by computer
4. Plural of data
• The CPU
1. Is operated from the control panel
2. Is controlled by the input data entering the system
3. Controls the storage unit
4. Controls all input , output, processing
• A data is a collection of-
1. Raw facts
2. Processing
3. Transformations
4. None of these
• Which of the following are software and hardware?
1. Transistor
2. FORTON
3. Compiler
4. Integrated Circuit
• Who invented the punched card?
1. Charles Babbage
2. Herman Hollerith
3. Both 1 and 2
4. None of these
• Define each of the following-
1. Nibble
2. Byte
3. Kilobyte
4. Megabyte
5. Gigabyte
6. Tetra byte
• Which of the following does not represent an I/O device?
1. Speaker which beeps
2. Plotter
3. Joystick
4. ALU
• Storage of 1 KB means the following number of bytes-
1. 1000
2. 964
3. 1024
4. 1064