Unit 1 Part1
Unit 1 Part1
The computer is an electronic device that takes input from the user and
processes these data under the control of a set of instructions (called
program) and gives the result (output) and saves future use.
The term computer is derived from the Latin term ‘computare’, this
means to calculate .Computer is made of hardware and software. It can
not do anything without a Program.
Characteristics of Computer System
The characteristics of the computer system are as follows −
Speed
A computer works with much higher speed and accuracy compared to humans
while performing mathematical calculations. Computers can process millions
(1,000,000) of instructions per second. The time taken by computers for their
operations is microseconds and nanoseconds.
Accuracy
Computers perform calculations with 100% accuracy. Errors may occur due to
data inconsistency or inaccuracy.
Diligence
A computer can perform millions of tasks or calculations with the same
consistency and accuracy. It doesn’t feel any fatigue or lack of concentration. Its
memory also makes it superior to that of human beings.
Versatility
Versatility refers to the capability of a computer to perform different kinds of
works with same accuracy and efficiency.
Reliability
A computer is reliable as it gives consistent result for similar set of data i.e., if
we give same set of input any number of times, we will get the same result.
Automation
Computer performs all the tasks automatically i.e. it performs tasks without
manual intervention.
Memory
A computer has built-in memory called primary memory where it stores data.
Secondary storage are removable devices such as CDs, pen drives, etc., which
are also used to store data.
3. Slavery:
A computer is a slave; it cannot execute the program by itself. It requires
instructions to execute the program and generate information. Thus, we
see that the computer cannot do anything by itself. It has a relationship
of master and slave. Until master is not instructing, slave will not
perform any function. In the same way computer does.
Basic Applications of Computer
Computers play a role in every field of life. They are used in homes, business,
educational institutions, research organizations, medical field, government
offices, entertainment, etc.
Home
Computers are used at homes for several purposes like online bill payment,
watching movies or shows at home, home tutoring, social media access, playing
games, internet access, etc. They provide communication through electronic
mail. They help to avail work from home facility for corporate employees.
Computers help the student community to avail online educational support.
Medical Field
Computers are used in hospitals to maintain a database of patients’ history,
diagnosis, X-rays, live monitoring of patients, etc. Surgeons nowadays use
robotic surgical devices to perform delicate operations, and conduct surgeries
remotely. Virtual reality technologies are also used for training purposes. It also
helps to monitor the fetus inside the mother’s womb.
Entertainment
Computers help to watch movies online, play games online; act as a virtual
entertainer in playing games, listening to music, etc. MIDI instruments greatly
help people in the entertainment industry in recording music with artificial
instruments. Videos can be fed from computers to full screen televisions. Photo
editors are available with fabulous features.
Industry
Computers are used to perform several tasks in industries like managing
inventory, designing purpose, creating virtual sample products, interior
designing, video conferencing, etc. Online marketing has seen a great revolution
in its ability to sell various products to inaccessible corners like interior or rural
areas. Stock markets have seen phenomenal participation from different levels
of people through the use of computers.
Education
Computers are used in education sector through online classes, online
examinations, referring e-books, online tutoring, etc. They help in increased use
of audio-visual aids in the education field.
Government
In government sectors, computers are used in data processing, maintaining a
database of citizens and supporting a paperless environment. The country’s
defense organizations have greatly benefitted from computers in their use for
missile development, satellites, rocket launches, etc.
Banking
In the banking sector, computers are used to store details of customers and
conduct transactions, such as withdrawal and deposit of money through ATMs.
Banks have reduced manual errors and expenses to a great extent through
extensive use of computers.
Business
Nowadays, computers are totally integrated into business. The main objective of
business is transaction processing, which involves transactions with suppliers,
employees or customers. Computers can make these transactions easy and
accurate. People can analyze investments, sales, expenses, markets and other
aspects of business using computers.
Training
Many organizations use computer-based training to train their employees, to
save money and improve performance. Video conferencing through computers
allows saving of time and travelling costs by being able to connect people in
various locations.
Arts
Computers are extensively used in dance, photography, arts and culture. The
fluid movement of dance can be shown live via animation. Photos can be
digitized using computers.
Science and Engineering
Computers with high performance are used to stimulate dynamic process in
Science and Engineering. Supercomputers have numerous applications in area
of Research and Development (R&D). Topographic images can be created
through computers. Scientists use computers to plot and analyze data to have a
better understanding of earthquakes.
Components of Computer System
Input Unit
This unit contains devices with the help of which we enter data into the
computer. This unit creates a link between the user and the computer. The input
devices translate the information into a form understandable by the computer.
CPU (Central Processing Unit)
CPU is considered as the brain of the computer. CPU performs all types of data
processing operations. It stores data, intermediate results, and instructions
(program). It controls the operation of all parts of the computer.
CPU itself has the following three components −
ALU (Arithmetic Logic Unit)
Memory Unit
Control Unit
Arithmetic Logic Unit (ALU)
Data entered into computer is sent to RAM, from where it is then sent to ALU,
where rest of data processing takes place. All types of processing, such as
comparisons, decision-making and processing of non-numeric information takes
place here and once again data is moved to RAM.
Control Unit
As name indicates, this part of CPU extracts instructions, performs execution,
maintains and directs operations of entire system.
Functions of Control Unit
Control unit performs following functions −
It controls all activities of computer
Supervises flow of data within CPU
Directs flow of data within CPU
Transfers data to Arithmetic and Logic Unit
Transfers results to memory
Fetches results from memory to output devices
Memory Unit
This is unit in which data and instructions given to computer as well as results
given by computer are stored. Unit of memory is "Byte".
1 Byte = 8 Bits
Output Unit
The output unit consists of devices with the help of which we get the
information from the computer. This unit is a link between the computer and the
users. Output devices translate the computer's output into a form understandable
by the users.
History of Computers
Difference Engine
In the early 1820s, it was designed by Charles Babbage who is
known as "Father of Modern Computer". It was a mechanical
computer which could perform simple calculations. It was a
steam driven calculating machine designed to solve tables of
numbers like logarithm tables.
Analytical Engine
This calculating machine was also developed by Charles
Babbage in 1830. It was a mechanical computer that used
punch-cards as input. It was capable of solving any
mathematical problem and storing information as a permanent
memory.
Tabulating Machine
It was invented in 1890, by Herman Hollerith, an American
statistician. It was a mechanical tabulator based on punch
cards. It could tabulate statistics and record or sort data or
information. This machine was used in the 1890 U.S. Census.
Hollerith also started the Hollerith?s Tabulating Machine
Company which later became International Business Machine
(IBM) in 1924.
Differential Analyzer
It was the first electronic computer introduced in the United
States in 1930. It was an analog device invented by Vannevar
Bush. This machine has vacuum tubes to switch electrical
signals to perform calculations. It could do 25 calculations in
few minutes.
Mark I
The next major changes in the history of computer began in
1937 when Howard Aiken planned to develop a machine that
could perform calculations involving large numbers. In 1944,
Mark I computer was built as a partnership between IBM and
Harvard. It was the first programmable digital computer.
Generations of Computers
o IBM 1620
o IBM 7094
o CDC 1604
o CDC 3600
o UNIVAC 1108
Third Generation Computers
o IBM-360 series
o Honeywell-6000 series
o PDP(Personal Data Processor)
o IBM-370/168
o DEC 10
o STAR 1000
o PDP 11
o CRAY-1(Super Computer)
o CRAY-X-MP(Super Computer)
Fifth Generation Computers
o Desktop
o Laptop
o NoteBook
o UltraBook
o ChromeBook
Memory
The device that is used to store data or programs on a temporary or
permanent basis for use in an electronic digital computer is called memory.
Memory is primarily of three types −
Cache Memory
Primary Memory/Main Memory
Secondary Memory
Cache Memory
Cache memory is a very high speed semiconductor memory which can speed
up the CPU. It acts as a buffer between the CPU and the main memory. It is
used to hold those parts of data and program which are most frequently used
by the CPU. The parts of data and programs are transferred from the disk to
cache memory by the operating system, from where the CPU can access
them.
Advantages
The advantages of cache memory are as follows −
Cache memory is faster than main memory.
It consumes less access time as compared to main memory.
It stores the program that can be executed within a short period
of time.
It stores data for temporary use.
Disadvantages
The disadvantages of cache memory are as follows −
Cache memory has limited capacity.
It is very expensive.
Primary Memory
Primary memory is the main memory of computer system. The instructions
that have to be currently executed is copied to the primary memory because
CPU can directly access the data from primary memory. Accessing data from
primary memory is faster as it is an internal memory and processor accesses
data from primary memory using data bus.
CPU utilizes this data to perform the required tasks. As soon as you shut
down the computer the RAM loses all the data.
ROM
1) Hard Disk:
2) Solid-state Drive:
SSD (Solid State Drive) is also a non-volatile storage medium that is used to
hold and access data ,Unlike a hard drive. It has become an ideal
replacement for a standard hard drive in desktop and laptop computers. It is
also suitable for notebooks, and tablets that don't require lots of storage.
3) Pen drive:
4) SD Card:
SD Card stands for Secure Digital Card. It is most often used in portable and
mobile devices such as smartphones and digital cameras. You can remove it
from your device and see the things stored in it using a computer with a card
reader.
5) Compact Disk (CD):
6) DVD:
DVD is short for digital versatile disc or digital video disc. It is a type of optical
media used for storing optical data. Although it has the same size as a CD, its
storage capacity is much more than a CD. So, it is widely used for storing and
viewing movies and to distribute software programs as they are too large to
fit on a CD.
Types of RAM
Two main types of RAM are:
Static RAM
Dynamic RAM
1. Static RAM
Static RAM is the full form of SRAM. In this type of RAM, data is stored using
the state of a six transistor memory cell. Static RAM is mostly used as a cache
memory for the processor (CPU).
2. Dynamic RAM
DRAM stands for Dynamic Random Access Memory. It is a type of RAM which
allows you to stores each bit of data in a separate capacitor within a specific
integrated circuit. Dynamic RAM is a standard computer memory of the
many modern desktop computers.
Type of ROM:
Types of Computer
1. On the basis of data handling capabilities, there are three
types of computer:
a) Analogue Computer
b) Digital Computer
c) Hybrid Computer
a. Analogue Computer
Analogue computers are designed to process analogue data.
Analogue data is continuous data that changes continuously and
cannot have discrete values.
b. Digital Computer
Mainframe computer
Miniframe or Minicomputer
Microcomputer
Characteristics of a microcomputer:
o It is the smallest in size among all types of computers.
o A limited number of software can be used.
o It is designed for personal work and applications. Only one user
can work at a time.
o It is less expansive and easy to use.
o It does not require the user to have special skills or training to use
it.
o Generally, comes with single semiconductor chip.
o It is capable of multitasking such as printing, scanning, browsing,
watching videos, etc.
Input Devices
Input device enables the user to send data, information, or control signals to a
computer. The Central Processing Unit (CPU) of a computer receives the input
and processes it to produce the output.
1) Keyboard
The keyboard is a basic input device that is used to enter data into a computer
or any other electronic device by pressing keys. It has different sets of keys for
letters, numbers, characters, and functions. Keyboards are connected to a
computer through USB or a Bluetooth device for wireless communication.
2) Mouse
The mouse is a hand-held input device which is used to move cursor or pointer
across the screen. It is designed to be used on a flat surface and generally has
left and right button and a scroll wheel between them. Laptop computers
come with a touchpad that works as a mouse.
3) Scanner
The scanner uses the pictures and pages of text as input. It scans the picture or
a document. The scanned picture or document then converted into a digital
format or file and is displayed on the screen as an output. It uses optical
character recognition techniques to convert images into digital ones.
4) Joystick
A joystick is also a pointing input device like a mouse. It is made up of a stick
with a spherical base. The base is fitted in a socket that allows free movement
of the stick. The movement of stick controls the cursor or pointer on the
screen.
5) Light Pen
A light pen is a computer input device that looks like a pen. The tip of the light
pen contains a light-sensitive detector that enables the user to point to or
select objects on the display screen. Its light sensitive tip detects the object
location and sends the corresponding signals to the CPU
. 6) Digitizer
Digitizer is a computer input device that has a flat surface and usually comes
with a stylus. It enables the user to draw images and graphics using the stylus
as we draw on paper with a pencil. The images or graphics drawn on the
digitizer appear on the computer monitor or display screen. The software
converts the touch inputs into lines and can also convert handwritten text to
typewritten words.
7) Microphone
The microphone is a computer input device that is used to input the sound. It
receives the sound vibrations and converts them into audio signals or sends to
a recording medium. The audio signals are converted into digital data and
stored in the computer. The microphone also enables the user to
telecommunicate with others.
8) Magnetic Ink Character Recognition (MICR)
MICR computer input device is designed to read the text printed with magnetic
ink. MICR is a character recognition technology that makes use of special
magnetized ink which is sensitive to magnetic fields. It is widely used in banks
to process the cheques and other organizations where security is a major
concern. It can process three hundred cheques in a minute with hundred-
percent accuracy. The details on the bottom of the cheque (MICR No.) are
written with magnetic ink. A laser printer with MICR toner can be used to print
the magnetic ink.
9) Optical Character Reader (OCR)
OCR computer input device is designed to convert the scanned images of
handwritten, typed or printed text into digital text. It is widely used in offices
and libraries to convert documents and books into electronic files.
10) Digital camera:
OCR computer input device is designed to convert the scanned images of
handwritten, typed or printed text into digital text. It is widely used in offices
and libraries to convert documents and books into electronic files.
Output Devices:
The output device displays the result of the processing of raw data that is
entered in the computer through an input device. There are a number of
output devices that display output in different ways such as text, images, hard
copies, and audio or video.
1) Monitor
The monitor is the display unit or screen of the computer. It is the main output
device that displays the processed data or information as text, images, audio
or video.
2) Printer
A printer produces hard copies of the processed data. It enables the user, to
print images, text or any other information onto the paper.
Based on the printing mechanism, the printers are of two types: Impact
Printers and Non-impact Printers.
Impact Printer
The impact printer uses a hammer or print head to print the character or
images onto the paper. The hammer or print head strikes or presses an ink
ribbon against the paper to print characters and images.
They are of two types:
A. Character Printers
i. Dot Matrix printers
ii. Daisy Wheel printers
B. Line printers
i. Drum printers
ii. Chain printers
Character Printers
It consists of a wheel or disk that has spokes or extensions and looks like
a daisy, so it is named Daisy Wheel printer. At the end of extensions,
molded metal characters are mounted. To print a character the printer
rotates the wheel, and when the desired character is on the print location
the hammer hits disk and the extension hits the ink ribbon against the
paper to create the impression. It cannot be used to print graphics and is
often noisy and slow, i.e., the speed is very low around 25-50 characters per
second. Due to these drawbacks,these printers have become obsolete.
B) Line Printers:
Line printer, which is also as a bar printer, prints one line at a time. It is a high-
speed impact printer as it can print 500 to 3000 lines per minute. Drum printer
and chain printer are examples of line printers.
i) Drum Printer:
Non-Impact Printer:
i) Laser Printer:
A laser printer is a non-impact printer that uses a laser beam to print the
characters. The laser beam hits the drum, which is a photoreceptor and draws
the image on the drum by altering electrical charges on the drum. The drum
then rolls in toner, and the charged image on the drum picks the toner. The
toner is then printed on the paper using heat and pressure.
The inkjet printer is a non-impact printer that prints images and characters by
spraying fine,ionized drops of ink. The print head has tiny nozzles to spray the
ink. The printer head moves back and forth and sprays ionized drops of ink on
the paper, which is fed through the printer.
3) Projector
A projector is an output device that enables the user to project the output
onto a large surface such as a big screen or wall. It can be connected to a
computer and similar devices to project their output onto a screen. It uses light
and lenses to produce magnified texts, images, and videos.
4. Ink should be refilled in a short 4. Ink in these printers lasts long. So,
span of time, which makes it quite there is no need to refill the bar
Inkjet Printer Laser Printer
6. If you are student or if you print 6. If you want to print only text like
assignments, projects or print documents or PDFs or want to
colorful pictures, then one can print normal pages, then one can
prefer Inkjet printers. prefer Laser printers.
Control bus
Address bus
Data bus
Address bus:
It is a group of conducting wires which carries address only.Address bus is
unidirectional because data flow in one direction, from microprocessor to
memory or from microprocessor to Input/output devices. The microprocessor
8085 can transfer maximum 16 bit address.
Data bus –
It is a group of conducting wires which carries Data only.Data bus is
bidirectional because data flow in both directions, from microprocessor to
memory or Input/Output devices and from memory or Input/Output devices
to microprocessor. Length of Data Bus of 8085 microprocessor is 8 Bit .
Control bus -
The control bus carries the control signal. The control signal is used for
controlling and coordinating the various activities across the computer. It is
generated from the control unit within the CPU.
Some control signals are:
Memory read
Memory write
I/O read
I/O Write
Opcode fetch
Hardware Interfaces: Parallel Port, Serial Port, USB Ports, HDMI and Expansion
Slots
A port is a physical point using which an external device can be connected to
the computer.
Serial Port:
Parallel Port:
A parallel port is an interface that allows communication or data transfer
between a computer and a device in a parallel manner through more than one
communication line. For example, a printer port is a parallel port.
HDMI port:
USB:
USB (Universal Serial Bus) port is very versatile in use; It can be used for
various purposes, such as to transfer data, to connect peripheral devices, and
even as an interface for charging devices such as smartphones, digital cameras,
etc. Today, it has replaced PS/2 connectors, game ports, serial and parallel
ports, etc.
Mobile Computing