Unit 1 Introduction To Computers: Structure
Unit 1 Introduction To Computers: Structure
Structure
1.1 Introduction
Objectives
1.2 Why Computer?
1.3 Evolution of Computers
1.3.1 The First Computer
1.3.2 Some Well Known Early Computers
1.3.3 Computer Generations
1.4 Components of a Computer
1.5 Hardware vs Software
1.6 System vs Applications Software
1.7 Bits and Bytes
1.8 Input and Output Devices
1.9 RAM/ROM
1.10 Secondary Storage Devices
1.11 Summary
1.12 Answers to SAQs
1.1 INTRODUCTION
This unit aims at introducing you to today’s most commonly used electronic
device – the computer. The study of this unit will highlight the characteristics
and evolution of computers. It will also help you to understand the basic
terminology associated with computers.
Objectives
After studying this unit, you should be able to
• understand the basic characteristics of computers,
• understand how the computers evolved,
• understand the components that make up a computer,
• differentiate between hardware and software,
• differentiate between system and application software,
• understand the difference between bits and bytes,
• classify devices as input and output devices,
• differentiate between ROM and RAM, and
• appreciate the use of various secondary storage devices.
Data
Process Output
Instructions
Input
SAQ 1
8
It used 18,000 vacuum tubes, about 1,800 square feet of floor space, and Introduction to
Computers
consumed about 180,000 watts of electrical power. It had punched cards I/O
and its programs were wired on boards.
ENIAC is accepted as the first successful high-speed electronic digital
computer which was used from 1946 to 1955.
EDIVAC
Fascinated by the success of ENIAC, John Von Neumann, a
mathematician, undertook an abstract study of computation in 1945. In this
he aimed to show that a computer should be able to execute any kind of
computation by means of a proper programmed control. His ideas, referred
to as ‘stored program technique’, further became essential for future
generations of high-speed digital computers and were universally accepted.
The basic idea behind the stored program concept was that data as well as
instructions can be stored in the computer’s memory to enable automatic
flow of operations.
Between 1947 and 1950, the More School personnel and the Ballistics
Research Laboratory of the US army built a computer named EDVAC
(Electronic Discrete Variable Automatic Computer), which was based on
Von Neumann’s concept of stored program.
UNIVAC
The Universal Automatic Computer (UNIVAC), developed in 1951, was
the first digital computer to be produced and was installed in the Census
Bureau.
The first-generation stored-program computers needed a lot of maintenance,
reached 70% to 80% reliability of operations and were used for almost 10
years. EDVAC and UNIVAC fell into this group of computers and were the
first commercially available computers.
SAQ 2
Arithmetic
Logic Unit
Input Unit Output Unit
Control Unit
Main
Memory
Secondary
Storage
12 Input Unit
Data and instructions must be entered into the computer system for Introduction to
Computers
processing, and results obtained from computations must be displayed or
recorded for the user. The input device serves the purpose of receiving data
and instructions in a form that can be understood by the computer.
Central Processing Unit
Data and instructions (programs) are stored in the computer’s memory after
which all the major calculations and computations are carried out within the
CPU. The CPU is also responsible for controlling the operations of various
units of the computer system.
Arithmetic Logic Unit (ALU)
All calculations and comparisons, based on the instructions provided,
are carried out within the ALU. It performs arithmetic functions like
add, subtract, multiply, divide and logical operations like greater than,
less than, and equal too.
Main Memory
The main memory holds data and instructions after input, till they are
needed. It also holds the processed results that are awaiting output.
Control
The function of the control unit is to execute the instructions of a
program, one by one, in the desired sequence. It interprets each
instruction and then prompts its execution by one of the units like
input, output, ALU, storage.
For example, a comparison of two numbers (a logical operation) to be
performed by the ALU may require loading the two numbers into the
main memory which is a function performed by the control unit. It
then will pass on the execution of the ‘compare’ function to the ALU.
Output Unit
The processed data, stored in the memory of the computer is sent to the
output unit, which then converts it into a form that can be understood by the
user. The output is usually produced in one of the two ways – on the display
device, or on paper (hard copy).
Secondary Storage
Also termed as ‘auxiliary’ or ‘backup’ storage, is typically used as a
supplement to main storage. It is much cheaper than the main storage and
stores large amount of data and instructions permanently. Hardware devices
like magnetic tapes and disks fall under this category.
SAQ 3
13
Computer Basics
1.5 HARDWARE Vs SOFTWARE
The electrical, electronic, mechanical, and magnetic components that make up the
computer system are together termed as ‘hardware’.These include components
that are responsible for user input, display, and mathematical processing. The
CPU, disk drives, internal chips and wiring, modem, peripheral devices like the
monitor, keyboard, mouse, printer, speakers etc. are together termed as computer
hardware.
Computer hardware cannot perform any manipulation or calculation without
being instructed as to what to do and how to do it. Programs (or instructions) are
required to tell the computer what to do. The generic term for computer programs
is ‘software’. Software comes in two main types – system software and
application softwawre.
SAQ 4
Input Devices
Keyboard
It is a text base input device that allows the user to input alphabets, numbers
and other characters. It consists of a set of keys mounted on a board.
Alphanumeric Keypad/
Special-function Keys
Function Keys
Cursor Movement
Keys
Numeric Keypad
15
Computer Basics • Alphanumeric Keypad : It consists of keys for English alphabets,
0 to 9 numbers, and special characters like + − / * ( ) etc.
• Function Keys : There are twelve function keys labeled F1, F2,
F3, … , F12. The functions assigned to these keys differ from one
software package to another. These keys are also user programmable
keys.
• Special-function Keys : These keys have special functions assigned
to them and can be used only for those specific purposes. Functions of
some of the important keys are defined below.
Enter
Is used similar to the ‘return’ key of the typewriter and is used to
execute a command or program.
Spacebar
Is used to enter a space at the current cursor location.
Backspace
Is used to move the cursor one position to the left and also delete the
character in that position.
Delete
Is used to delete the character at the cursor position.
Insert
Is used to toggle between insert and overwrite mode during data
entry.
Shift
Is used to type capital letters when pressed along with an alphabet
key. Also used to type the special characters located on the upper-side
of a key that has two characters defined on the same key.
Caps Lock
Is used to toggle between the capital lock feature. When ‘on’ locks
the alphanumeric keypad for capital letters input only.
Tab
Is used to move the cursor to the next tab position defined in the
document. Used to insert indentation into a document.
Ctrl
Or the control key is used in conjunction with other keys to provide
additional functionality on the keyboard.
Alt
Also like the control key, is always used in combination with other
keys to perform specific tasks.
Esc
Usually used to negate a command. Also used to cancel or abort
executing programs.
Numeric Keypad
Is located on the right side of the keyboard and consists of keys
having numbers (0 to 9) and mathematical operators (+ − * /) defined
16
on them. This keypad is provided to support quick entry for numeric Introduction to
Computers
data.
Cursor Movement Keys
Are have arrow keys used to move the cursor in the direction
indicated by the arrow (up, down, left, right).
Mouse
The mouse is a small device used to point at a particular place on the screen
and select in order to perform one or more actions. It can be used to select
menu commands, size windows, start programs etc.
The most conventional kind of mouse has two buttons on top: the left one
being used most frequently.
Mouse Actions
Left Click : used to select an item.
Double Click : used to start a program or open a file.
Right Click : usually used to display a set of commands.
Drag and Drop : allows you to select and move an item from one
location to another. To achieve this place the cursor over an item on
the screen, click the left mouse button and while holding the button
down move the cursor to where you want to place the item, and then
release it.
19
Computer Basics Computer Aided Engineering (CAE) applications like CAD
(Computer Aided Design) and CAM (Computer Aided
Manufacturing) are typical usage areas for plotters.
1.9 RAM/ROM
Computer’s memory can be classified into two types – RAM, and ROM.
RAM or Random Access Memory is the central storage unit in a computer
system. It is the place in a computer where the operating system, application
programs, and the data in current use are kept temporarily so that they can be
accessed by the computer’s processor. The more RAM a computer has, the more
data a computer can manipulate.
Random access memory, also called the Read/Write memory, is the temporary
memory of a computer. It is said to be ‘volatile’ since its contents are accessible
only as long as the computer is on. The contents of RAM are cleared once the
computer is turned off.
ROM or Read Only Memory is a special type of memory which can only be read
and contents of which are not lost even when the computer is switched off. It
typically contains manufacturer’s instructions. Among other things, ROM also
stores an initial program called the ‘bootstrap loader’ whose function is to start
the computer software operating, once the power is turned on.
Read-only memories can be manufacturer-programmed or user-programmed.
While manufacturer-programmed ROMs have data burnt into the circuitry, user-
programmed ROMs can have the user load and then store read-only programs.
PROM or Programmable ROM is the name given to such ROMs.
Information once stored on the ROM or PROM chip cannot be altered. However,
another type of memory called EPROM (Erasable PROM) allows a user to erase
the information stored on the chip and reprogram it with new information.
EEPROM (Electrically EPROM) and UVEPROM (Ultra Violet EPROM) are two
types of EPROMs.
SAQ 5
1.11 SUMMARY
In this unit, you have studied the evolution of a computer from a simple device
like the abacus to the more sophisticated ones as seen today, and its
characteristics (speed, accuracy, diligence, versatility, and storage capacity) that
have contributed towards making it such a popular device. The differences
between concepts like hardware/software, system/application software, bits/bytes,
ROM/RAM was also explained. Various types of input, output and secondary
storage devices along with their usages, were also studied.
22
Introduction to
Computer Technology Speed Storage Programming
Computers
Generation Used Capacity Language
First Vacuum tubes Slow Limited Symbolic
language
Second Transistors Relatively Increased High Level
faster storage Languages (e.g.
capacity COBOL,
FORTRAN)
Third Integrated Better Increased Extensive use of
Circuits (ICs) performance, storage High Level
Remote Languages
processing and
time sharing
Fourth Large scale and Considerably Increased Sophisticated
very large scale faster storage programs and
integrated languages for
circuits (LSI, special
VLSI) applications
Fifth Use of ICs with Extremely fast Larger Based on
ultra large scale capacity Artificial
integration storage Intelligence
technology (RAID,
(ULSI) optical
disks)
SAQ 3
The basic components of the computer system include :
Input Unit
Input unit receives data and instructions in a form that can be
understood by the computer.
Output Unit
Output unit presents processed information in a form that can be
understood by the user.
Main Memory
Main memory holds data and instructs after input, till needed. Also
holds information awaiting output.
Arithmetic Logic Unit
Arithmetic logic unit performs calculations and comparisons based on
the instructions.
Control Unit
Control unit interprets each instruction and prompts the execution by
one of the units – input, output, ALU, storage.
Secondary Storage
Secondary storage supplements main storage, and stores data and
instructions permanently.
SAQ 4
(a) True
(b) False 23
Computer Basics SAQ 5
The main memory in the computer system is referred to as RAM (Random
Access Memory). It is fast access memory and is used to store data and
instructions during computer operations. The main feature of RAM is that it
can be read from and written onto any location and thus can be accessed
randomly hence the name RAM commenced. The contents of RAM are
available only as long as the computer is on and are lost once it is switched
off. It is, therefore, also called ‘volatile’ memory. Secondary storage can be
used to store data and instructions permanently.
ROM or Read Only Memory holds data or instructions permanently and as
the name suggest, can only be read from but cannot be changed by the
users. It is non-volatile in nature, which means that contents of ROM are
not lost even if the power is switched off. It, therefore, usually contains
instructions that are required to get the computer started once it is powered
on. The contents of ROM are built into it at the time of manufacturing itself.
24