Professional Documents
Culture Documents
net/publication/322924977
CITATIONS READS
0 4,276
1 author:
SEE PROFILE
Some of the authors of this publication are also working on these related projects:
All content following this page was uploaded by Dr. Amit Sinhal on 22 February 2018.
+#
(
!
+
.
.
%
!
.#
+#
,
/
'
(
!
+
.
.
%
!
.#
!"#$
%
"
!
&
' &
(
)*!
&
"
"*)+,-!
. &$
/"
Key Concepts
¾ Input hardware:
Keyboard,
Card Readers,
Scanning Devices,
Bar Code Readers,
OCR,
OMR,
MICR,
Pointing Device
Mouse & Its Types,
Light Pen,
Touch Devices,
Web Camera,
Microphone,
Joystick,
Digitizing tablet
¾ Output Device:
Printers:
LCD Projector,
DLP Projector,
Speaker
==============================================================
=
A computer system consists of hardware and software both. The hardware has five
different types of functional units i.e.:
1. Input Unit
2. Memory Unit
3. Control Unit
4. Arithmetic and Logic Unit
5. Output Unit
The input unit is used to accept the data and instructions. The memory unit is used to
store the data and instructions in the computer. The Central Processing Unit (CPU) has
two sections; one is Arithmetic and Logic Unit (ALU) and Control Unit (CU). CPU
processes the data and instructions and finally desired result is displayed with the help of
output unit.
The Arithmetic and Logic Unit (ALU) and Control Unit (CU) are together known as
Central Processing Unit (CPU) or simple processor. CPU acts like a brain of computer.
It's a microprocessor chip that holds a complete computational engine. Its primary
function is to execute data/instruction and programs. Everything that a computer does is
overseen by the CPU.
The Arithmetic and Logic Unit (ALU) performs the arithmetic operation i.e. addition,
subtraction, multiplication and division and comparison i.e. greater than, less than and
equal to.
The Control Unit (CU) coordinates the flow and execution of data and instruction with
in the computer.
3
1.3 Memory Unit
Memory unit of the computer holds data and instructions that are entered through the
input unit, before they are processed.
All the data/information is initially stored in primary memory of the computer. Primary
memory is the main memory of the computer. The data and instructions are passed from
main memory to ALU or to and from the storage device under the control of the Control
Unit (CU).
Hard disk is the best example of secondary memory, as the data available on hard disk
remains permanent.
1. Primary Memory,
2. Secondary Memory.
1. It receives the data and instructions required for processing from the input unit.
1. It stores the intermediate result.
2. It stores the final result before these result passes to the output unit.
3. It stores the data for future use, whenever required.
1.4 ALU
An Arithmetic Logic Unit (ALU) is a digital circuit used to perform arithmetic and logic
operations. It represents the fundamental building block of the Central Processing Unit
(CPU) of a computer. Modern CPUs contain very powerful and complex ALUs. In
addition to ALUs, it also contains a Control Unit (CU).
For a given instruction, the exact set of operations required is indicated by the control
signals received from the control unit. Most of the operations of a CPU are performed by
one or more ALUs, which load data from input registers. ALU and control unit have
usually some temporary storage units known as registers.
4
A register is a small amount of storage available as part of a CPU. Each register can be
considered as a fast memory with single location. These registers temporarily store
certain information such as instructions, data, address etc.
The control unit tells the ALU what operation to perform on that data, and the ALU
stores the result in an output register. The control unit moves the data between these
registers, the ALU, and memory. The results of the instructions are stored in memory,
and taken out of the computer through the output unit.
***Remember:
ALU is the place where actual execution of the instructions takes places during the
processing operations.
a. Arithmetic Addition,
b. Arithmetic subtraction,
c. Arithmetic multiplication, and
d. Arithmetic division.
3. Evaluates conditions,
4. Makes comparisons of numbers, letters and special characters.
Control unit obviously controls all other parts of a computer system. It acts as a central
nervous system of the computer. It fetches and analyzes the instructions one-by-one and
issues control signals to all other units to perform various operations. It supervises the
operation of all hardware connected to the computer system.
5
Major task of Control Unit includes:
Whenever a particular problem is solved by the computer, you need to enter the data and
instructions to the computer. This requires an input device through which we can feed
the data. After processing this data, the computer has to produce the result, this need an
output device. Thus you can say that the interaction between the user and computer
requires the input and output devices.
You should note that there are several types of input and out devices which can be
connected to the computer for a specific purpose. The most common input device is the
keyboard and the most common output device is monitor (also known as computer
screen).
Input devices allow the user to get data into the computer. Following are some common
examples of input devices:
7. Keyboard,
8. Mouse,
9. Scanner,
10. Microphone,
11. Light Pen
12. Joystick,
13. Track-pad
14. Barcode Reader,
15. Optical Mark Reader (OMR),
16. Optical Character Reader (OCR),
17. Magnetic Ink Card Reader (MICR)
18. Digitizer etc.
6
Output devices are the peripherals used to display the result to the user. Following are
some common examples of output devices:
1. Monitor,
2. Printer,
3. Plotter,
4. Projector,
5. Speaker,
6. Headphones.
Input hardware:
The device that accepts data from the user and communicates the same to the CPU is
called an input device.
Keyboard
Keyboard is an input device in a computer system. It is the most common device used to
input both alphabets and numbers. The general layout of a keyboard is shown in
following figure:
Fig.1.2: Keyboard
7
The standard layout of letters, numbers, and punctuation is known as a QWERTY
keyboard because the first six typing keys on the top row of letters spell QWERTY. The
QWERTY keyboard was designed in the 1800s for mechanical typewriters.
1. Alphanumeric Keys,
2. Function Keys,
3. Cursor movement Keys,
4. Modifier Keys
5. Special-purpose Keys.
Card reader is an input device that reads data from a memory card. Card is a storage
medium which can store the data, and can be used for transferring data from one
computer to another.
Card Reader quickly transfers all your data ± photos, videos, music etc. It supports a
wide variety of formats such as:
1. microSD,
2. microSDHC,
3. SD,
4. SDHC,
5. SDXC and
6. CompactFlash.
8
Scanning Devices
Scanning devices are used as an input device. An image scanner is the most common
example of scanning device. It is helpful in scanning characters and graphics both. It
scans the image of a photograph or written information and communicates it to the CPU.
A typical scanner uses sensors to acquire complex pictures and photographs.
A barcode reader is an electronic device that can read and output printed barcodes to a
computer. It is also known as barcode scanner.
A barcode reader consists of a light source, a lens and a light sensor translating optical
impulses into electrical ones.
9
Fig. 1.5: Bar Code Reader
OCR
With the help of OCR, now people no longer need to manually retype important
documents when entering them into electronic databases. Instead, OCR extracts relevant
information and enters it automatically. The result is approx 95% accurate and it enables
efficient information processing in less time.
10
Optical Character Recognition is useful in following areas:
1. Data entry for business documents, e.g. bank statement and receipt, passport,
invoice etc.
2. Automatic number plate recognition
3. For blind persons,
4. For legal departments,
5. For banking sectors,
6. For retail industry,
7. For education finance and government organizations.
OMR
OMR stands for Optical Mark Recognition. OMR reader is an input device which is
used to read marks made by a pen or pencil on a printed sheet and then feed it into the
computer. It is generally used in multiple choice question (MCQ) based examination. It
is useful in collecting the answers of examinee in examinations of MCQ pattern. OMR
software is used to capture data from OMR sheets. OMR software is application
software that makes OMR possible on a desktop computer by using an Image scanner to
process surveys, tests, attendance sheets, checklists, and other plain printed papers.
MICR stands for Magnetic Ink Character Recognition. MICR reader is used as input
device.
11
Fig.1.8: MICR
It uses special ink which contains iron particles that can be magnetized and then read
when the printed numbers pass through a MICR reader. MICR reader will only
recognize numbers printed in a standard font using the magnetic ink as shown in
following figure:
Advantage of MICR
1. The advantage of using MICR is that the magnetic characters can be read very
quickly and accurately by MICR readers.
2. It provides a high level of security, because any attempt to alter the magnetic ink
printout with normal ink will be ignored.
Disadvantages
It is fairly expensive.
12
***Remember
1. The MICR is a device that can recognise human readable characters printed on
documents such as cheques using a special magnetic ink.
2. The MICR has a magnetic head which can detect the magnetic pattern for each
character.
3. The MICR reader reads these characters by examining their shapes.
4. Characters are printed in a special font.
5. Each character is formed by a 7 x 10 matrix.
Pointing Device
Pointing device is kind of an input device that allows user to control and provide data to
the computer using movement of a hand-held mouse or similar devices.
The use of pointing devices is to control the position of the pointer or cursor and allow
the user to select options displayed on the screen.
(i) Mouse,
(ii) Trackball,
(iii) Touchpad,
(iv) Touch Screen,
(v) Pointing Stick,
(vi) Light Pen,
(vii) Digitizer
The mouse is a computer input device used to move a cursor around the computer
screen. It is a kind of small hand held pointing device connected to the CPU with a
cable. It has two click buttons on the top. Mouse movements are converted into
electrical signals and the same is communicated to the CPU. These movements are
interpreted and displayed on the screen with the help of an arrow, which is known as
mouse pointer.
Based on the technology used the mouse can be categorize into following two types:
1. Mechanical Mouse,
13
2. Optical Mouse.
1. Mechanical Mouse
The mechanical mouse builds with a ball inside the mouse and it touches a surface and
rolls with the mouse. The distance and the speed of the ball inside the mouse determine
how far the mouse cursor moves on the screen. Look at the diagram given below:
2. Optical Mouse
The optical mouse uses special chips to encode data for the computer. It uses Light-
Emitting Diode (LED) to detect the underlying surface. Look at the diagram given
below:
14
Fig.1.11s Optical Mouse
Light Pen
A light pen is a pencil shaped light-sensitive pointing input device commonly used to
select text or data on a CRT (Cathode Ray Tube) screen. Look at the diagram given
below:
Why it is used?
It is used to select screen coordinates by detecting the light coming from illuminated
points on the CRT screen. It is useful in graphical applications.
15
How it works?
When an activated light pen, comes in contact with an illuminated spot on the screen, it
generates an electrical signal which is taken as input to the computer. The computer then
responds to it by displaying more information about the pointed text/data.
Touch Devices
A touch devices works as both input and output devices for a computer or an
information processing system. It is normally layered on the top of an electronic visual
display, where a user can give input or control it through simply touching the screen
with one or more fingers.
The touch screen devices are very easy to use and operate and do not require much skill.
They are based on either pressure sensitive, electrically sensitive, photo sensitive
material. The user can directly touch the screen with his/her fingertip. When the user
touches the screen, the sensors on the screen detect the touch of a finger.
Example:
***Remember:
16
Web Camera
Web camera is a small digital device connected to your computer which is capable of
taking pictures as well as high-definition videos and transmits them over the internet. It
is basically an input device that captures digital images/videos.
Microphone
17
Fig.1.15: Microphone
Microphone is useful in recording some speech as an input and converting this input into
digital form which can be played as and when required. A user can connect a
microphone to the computer and then he/she can play the audio recording which was
stored in digital form to the computer.
***Remember
Joystick
A joystick is an input device that enables its user to control a character or machine with
the help of a computer program. It looks like a control device such as flight simulator.
Joystick consists of a small rod known as stick or lever mounted on a rolling boll. This
stick is used to control the cursor available over the CRT screen. When this stick or
lever is operated, its movement is converted into electrical signals which are then sent to
the Central Processing Unit (CPU) for further processing. The CPU interprets these
signals and displays the movement on the CRT screen. It is mostly used as the game
controller.
18
Fig.1.16: Joystick
In this diagram:
1. Stick
2. Base
3. Trigger
4. Extra Buttons
5. Auto-fire Switch
6. Throttle
7. Hat Switch
8. Suction Cup
***Remember
Digitizing Tablet
Digitizing tablet is a small size notebook kind of input device, which enables you to
enter drawings and sketches into a computer. It is also called as digitizer or graphics
tablet. Because of its portability, it can be carried out easily anywhere we want. It
requires a pen called digital pen or stylus. This pen looks like a simple ballpoint pen but
uses an electronic head instead of ink. It support built in handwriting recognition
software which recognizes the data written over the screen.
19
Fig.1.17: Digitizing Table
A digitizing tablet has a cursor which is called a puck. This puck is similar to a mouse,
except that it has a window with cross hairs for pinpoint placement with 6 buttons. The
tablet contains electronics that enable it to detect movement of the cursor or pen and
translate them into digital signals that it sends to the computer. Each point on the
digitizing tablet represents a point on the display screen. The static nature of digitizing
tablets makes them particularly effective for tracing drawings.
***Remember
Modern digitizing tablets support a mouse emulation mode, in which the pen or cursor
acts like a mouse.
Output Device
Output devices are the peripherals used to output result to the user.
Printers
Printer is one of the most common output devices of a computer. It is an external output
device that receives data from a computer and generates output in the form of graphics /
text on a paper. The computer sends signals via commands to the printer and printer
works according to those commands.
Printers are made up of two types of materials:
1. Electronic Circuits
2. Mechanical Assemblies.
20
The electronic circuit is mainly used to control the mechanical assembly which consist
of a print head, paper mover, sensor, carriage motor and ribbon.
Characteristics of Printer
1. Quality,
2. Speed,
3. Memory,
4. Graphics/font and
5. Type (Printing Mechanism)
Types of Printer
1. Serial Printer,
2. Parallel Printer
Serial printers are those printers in which each bit is transmitted from the computer and
the same is received by the printer. Eight bits makes a character. In such type of printers,
bit-by-bit transmission of characters takes place between computer and printer in a
single communication.
Whereas in case of parallel printer, it has a group of 8 wires to have an interface with the
computer. Each wire is capable to carry one bit of a character at a time, therefore all
eight bits that make a character are transmitted to the printer. Thus we can say parallel
transmission is takes place in case of parallel printers.
Examples of printer
An impact printer makes contact with the paper. It usually forms the print image by
pressing an inked ribbon against the paper using a hammer or pins, whereas non-impact
printers do not use a striking device to produce characters on the paper; and these
printers do not hammer against the paper. These printers can print a complete page at a
WLPHWKDW¶VZK\they are also called as Page Printers.
***Remember
Dot Matrix
In this type of printers, a character is printed by striking pins against an ink ribbon. Each
pin makes a dot or selected number of dots from a matrix of dots. Pins are arranged in
the form of matrix and combinations of dots, form a character.
Working Principle
22
When a print command is given by a computer, the printer is activated to print the given
data/information and then the print head starts moving from the leftmost column to the
rightmost column of a paper. You must know that an inked ribbon between the print
head and the paper is available to print. Look at the pattern of printing a character
through dot matrix printer:
***Remember
Dot Matrix printers are low cost and high speed printers. But the quality of print is not
so good.
Laser
23
Fig.1.20: Laser Printer
Laser printer uses the same technology as copy machines. Laser printers produce very
high quality text and graphics but laser printers are very expensive.
Inkjet
Inkjet printer uses the principle of the dot matrix printer, but instead of pins, it uses an
array of nozzles which spray jets of ink onto the paper in a series of dots that make the
characters and graphics. A print head scans the paper in horizontal strip, using a motor
assembly to move it from left to right and back. Another motor assembly rolls the paper
in vertical steps. A strip of the image is printed, and then the paper moves on, ready for
the next strip.
Inkjet printers are the most affordable colour printers and offers high quality image
print. Printers are expensive in terms of the cost per page is high and these are slow as
compared to laser printer.
Thermal Printers
Thermal Printer is a type of printer that produces a printed image by pushing heated pins
against heat-sensitive paper. When the paper passes over the thermal print head, the
coating turns black in the areas where it is heated and we get the printed image as a
result.
24
Fig.1.22: Thermal Printer
Plotters
Plotter is an output device which is used to produce the graphical output. It is basically a
kind of printer that interprets commands from a computer to make line drawings on
paper with one or more automated pens. The plotter can draw continuous point-to-point
lines directly from graphics files or commands.
***Remember
3ORWWHU LV XVHIXO IRU SORWWLQJ JUDSKV FKDUWV DQG RWKHU GHVLJQV
RQWKHSDSHU
Types of Plotters
In this type of plotter, the paper on which something has to be plotted is fixed on a flat
rectangular surface. 7KH SDSHU GRHVQ¶W PRYH EXW WKH SHQ-holding mechanism moves
across the paper and plots the corresponding graphical information. The pen holding
mechanism is designed to hold more than one pen. For making any pattern, several pens
of different colours are used when and wherever required. When a command for
drawing anything is given to the plotter, the electronic circuitry activates the pen-
25
holding mechanism and a specific pen is selected from the pen-holder. Thus plotter plots
the pattern accordingly.
2. Drum Plotter
In this type of plotter, the paper on which anything has to be plotted is placed over the
drum. The drum rotates opposite the direction of pen-holder, which moves only in the
horizontal direction and thus plotter plots the pattern accordingly.
Advantages of plotters
Following are some advantages of plotters:
1. They can print on a wide variety of flat materials including cardboard, plywood,
plastic, aluminium sheet or steel.
2. A plotter can draw the same pattern for thousands of times without any image
degradation.
3. Plotters can maintain high resolution.
Disadvantages of plotters
Following are some disadvantages of plotters:
1. Plotter is more expensive than a printer.
2. Plotter is quite large when compared to a traditional printer.
Monitors
Computer Monitor is an output device. It is the most commonly used output device. It is
also called as a computer screen. It displays the video and graphics information (i.e.
images and text) generated by the computer.
***Remember
26
2. It is also referred as a video display unit (VDU), or video display terminal (VDT).
CRT
CRT stands for Cathode Ray Tube. A CRT monitor contains millions of small red,
green, and blue phosphor dots that glow when struck by an electron beam that travels
across the screen to create a visible image.
In a Cathode Ray Tube (CRT), the "Cathode" is a heated filament. The "Ray" is a stream
of electrons generated by an electron gun that naturally pour off a heated cathode into
the vacuum. The heated filament in a vacuum created inside a glass known as "Tube."
As electrons are negative terminal and anode is positive terminal, it attracts the electrons
pouring off the cathode. Screen is coated with phosphor that is an organic material that
glows when struck by the electron beam.
27
Fig.1.24: Cathode Ray Tube
The electron gun generates a beam of electrons which are accelerated by anodes.
Deflecting coils produce an ELF (i.e. Extremely Low Frequency) electromagnetic field
that allows constant direction of the electron beam. CRT has two sets of deflecting coils,
one horizontal and another is vertical. Above figure is showing only one set of coils for
simplicity. The intensity of the beam can be varied. When electron beam strikes the
phosphor-coated screen, it produces a tiny, bright visible spot.
1. The energy needed for the electron beam of CRT monitors is more than LCD
Monitor.
2. CRT monitors generate a lot more heat than the LCD monitors.
3. CRT monitors requires more space.
TFT
28
TFT stands for Thin Film Transistor. It is a type of display in which each pixel is
controlled by one transistor therefore the current that triggers pixel illumination can be
smaller and therefore can be switched on and off more quickly. Because of each pixel
has its own transistor on the glass itself, it offers more control over the images thus it
deliver sharp images
Advantage
The TFT technology provides the best resolution of all the flat-panel techniques.
Disadvantage
***Remember
Plasma
Plasma monitor is a display device in which each pixel on the screen is illuminated by
an ionized gas (a mixture of neon and xenon). In this type of monitor, a thin layer of
pixels exists between two transparent glass panels. Each pixel is composed of three gas-
filled cells (one each of red, green and blue colour). A grid of tiny electrodes applies an
electric current to the individual cells, causing the gas in the cells to ionize. This ionized
gas is known as plasma. This emits frequency UV rays, which stimulate the cells
phosphors to glow.
29
Fig.1.26: Plasma
***Remember
LCD Projector
An LCD projector is a type of projector based on Liquid Crystal Displays which can
display images, data or video. An LCD projector works on transmissive technology. A
standard lamp is the light source for an LCD projector. An LCD projector allows the
source light to pass through the LCD panels of three colors. The panels allow some
colors to pass through and block some colors to form the images on the screen.
30
Disadvantages of LCD Projector
DLP Projector
A DLP projector is a type of projector based on Digital Light Processing chip. This
Digital Light Processing chip is called as Digital Micro mirror Device (DMD).
A DLP projector is consists of million tiny mirrors. Each mirror in this chip is capable of
independent adjustment, moving toward or away from the light source to create a dark
or light pixel, however, the image is in gray scale. Color is fed to the DMD by a beam of
light that passes through a spinning color wheel before it reaches the chip. Each segment
of the color wheel delivers one color. After color reaches the DMD, the image is fed
through the lens and onto the projection screen.
31
Fig.1.29: DLP Projector Technology
1. Components of DLP Projector are not sealed so dust can settle on the color wheel
and affect image quality.
2. Most DLP projectors are not compatible with zoom lenses.
Speaker
Speakers are one of the most common output devices used with computer systems. The
purpose of speakers is to produce audio output that can be heard by the listener.
32
Fig.1.30: Speaker
The sound produced by speakers is defined by frequency and amplitude. The frequency
determines how high or low the pitch of the sound is.
Speakers convert electromagnetic waves into sound waves. The speakers receive audio
input from a device such as a computer or an audio receiver. This input may be either in
analog or digital form. Analog speakers simply amplify the analog electromagnetic
waves into sound waves. Since sound waves are produced in analog form, digital
speakers must first convert the digital input to an analog signal, and then generate the
sound waves.
Speakers typically come in pairs, which allow them to produce stereo sound. This means
the left and right speakers transmit audio on two completely separate channels. Surround
systems may include four to seven speakers plus a woofer.
==============================================================
=
Object Type Questions
==============================================================
=
33
3. The CPU can perform read or write operation at any point in
==============================================================
=
35
Chapter 2
Evolution and Generation of Computer Systems
===============================================================
Key Concepts
R Speed,
R Accuracy,
R Reliability,
R Memory Capabilities,
R Repeatability,
R Analog,
R Digital,
R Hybrid,
R General & Special Purpose Computer,
==============================================================
36
2.1.1 Speed
2.1.2 Accuracy
Accuracy means the correctness of the processed data. Since computer systems work
with the help of programs, so what ever input we give it, we get the result
accordingly. In other words we can say that it gives results with 100% accuracy, for
correct input. If we enter incorrect data we can not get the correct output using
computer.
***Remember
The computer is applied in scientific and industrial calculation where long range
data is used for information.
2.1.3 Reliability
Computers can have a large amount of memory to store a very large amount of data
or information ǁŝƚŚ appropriate format. It has an internal memory called as RAM,
which is the main memory of the computer system which is volatile in nature, as well
as a secondary storage which can store a large amount of data and programs
permanently. These stored data and programs are available any time for processing
further. Similarly data downloaded from the internet can be stored on such storage.
37
2.1.5 Repeatability
A computer always produces the same result if any number of times calculation is
made by any number of persons. It ensures no variation in the results, if computation
is made at different times and through different persons.
Based on the type of data they are designed to process and the principle of working,
computers are classified into the following types:
2.2.1 Analog
Analog computers are computers that measure physical quantity (i.e. that occurs in a
continuous flow) such as temperature, pressure, length and voltage variations etc and
convert them to a numeric value. Analog computers operate on data which are in the
form of continuously variable physical quantity. Data obtained through measuring
instruments is known as continuous data e.g. speed of a car is measured by the
speedometer or the temperature is measured by a Thermometer.
38
Fig.2.2: Analog Computer
2.2.2 Digital
Digital computer is a computer that performs calculations and logical operations with
quantities represented as digits, usually in the binary number system. Digital
computers operate using discrete electric signals rather than continuous. Digital
computers are used to process alphanumeric and graphical data.
2.2.3 Hybrid
Hybrid computers provide a high degree of precision than analog computers and high
speed and control than digital computers.
40
2.2.4 General & Special Purpose Computer
General purpose computers can be used in different applications since they can store
different sets of instructions and programs.
Special purpose computer can be fixed permanently in the machine e.g. processor that
are installed in automobiles to control fuel, braking system etc.
41
First Generation
The first generation computer used vacuum tubes as the basic components for memory
and circuitry for CPU (Central Processing Unit). These vacuum tubes like electric bulbs
produced a lot of heat and were fused frequently, WKDW¶VZK\ they were very expensive
and could not be afforded. These computers were limited to solving one problem at a
time. Input was based on punched cards and paper tape and output came out on
printouts. They used magnetic drums for data storage. In this generation of computer
mainly batch processing were used as an operating system and machine code and
electric wired board were used as programming language.
Advantages
1. Vacuum tube technology made possible to make electronic digital computers.
2. These computers could calculate data in millisecond.
42
Disadvantages
1. First generation computers had limited programming capabilities; they used only
machine language and were very slow in speed.
2. They were heated very soon due to thousands of vacuum tubes and were consumed a
large amount of energy, therefore air conditioning was required.
3. First generation computers were not portable as they were very large in size, not
reliable, and they required lots of maintenance.
Second Generation
The second generation computers replaced vacuum tube with transistors, thus the size of
the computers of second generation was decreased as compared to first generation
computers. The transistor were cheaper, consumed less power, more compact in size,
more reliable and faster than the first generation computers based on the technology of
vacuum tubes. In this generation, magnetic cores were used as primary memory and
magnetic tape and magnetic disks as secondary storage devices. In this generation
assembly language and high level programming language like FORTRAN, COBOL
were used.
43
Advantages
1. Second generation computers were faster, reliable and smaller as compared to
First generation computers.
2. Second generation computers consumed less electricity and generate less heat
as compared to first generation computers.
Disadvantages
1. Air conditioning was required for cooling,
2. Maintenance was required,
3. Costly,
4. Used only for special purpose.
Third Generation
The third generation computers used the integrated circuits (IC). A single IC chip may
contain thousands of transistors, capacitors and resistors along with the associated
circuitry, called semiconductor. The size of an IC is about ¼ square inch. The main
advantage of IC is not only its small size but also its superior performance and reliability
than the previous generation technology. Magnetic core was replaced by micro-chip.
Also 256 bit RAM was introduced as main memory. The usage of auxiliary storage
devices was started. Size of main memory reached about 4 megabytes and storage drive
capacities increased up to 100 megabytes. Keyboards were used to provide input and
monitors were used to get the output from the machine. In this generation Time-sharing,
Real-time, Multi-programming were used as an operating system and FORTRAN,
COBOL, PASCAL, BASIC, ALGOL etc. were used as high level language.
44
Fig. 2.7: Third Generation Computers
Advantages
1. Less maintenance required thus cost has been reduced considerably.
2. Computers of this generation support high level language.
Disadvantages
1. Third generation computers required highly sophisticated technology required for
the manufacturing of IC chips.
2. Cooling still required in computers of this generation.
Fourth Generation
The fourth generation computers used the microprocessor. They made the use of Very
Large Scale Integrated (VLSI) circuits. VLSI circuits having about 5000 transistors and
other circuit elements and their associated circuits on a single chip called as
microprocessor, made it possible to have microcomputers which made computers of this
generation more powerful, compact, reliable, and affordable. As a result, we got the
computers which we see around us. This is the generation where we are working today.
With this generation the operating systems like M.S. DOS and Windows were developed
and introduced. Windows supported Graphic User Interface (GUI) to make easy the
interaction of user with computer. Middle level language like C and High level language
like C++ are introduced for writing computer programs.
45
Example of Fourth Generation Computers
IBM 3033, HP 3000, PDP ± 11 and CYBER ± 205, Apple, Macintosh, IBM, Pentium
etc.
Advantages
1. Fourth generation computers have huge storage capacity and higher calculating
speed.
2. This generation reduced the size, cost and maintenance of the computers,
3. No AC required for cooling,
4. Very chip,
5. Portable and reliable.
Disadvantages
Computers of this generation required the latest technology for manufacturing of
Microprocessors.
46
Fifth Generation
Fifth generation computers are based on artificial intelligence, are still in development,
and scientists are constantly working to increase the processing power of computers.
They are trying to create a computer with real IQ with the help of advanced
programming and technologies. Computers of such technology can understand spoken
words & imitate human reasoning. It can respond to its surroundings using different
types of sensors.
Super computers are being developed with the use of Super Large Scale Integrated
(SLSI) Circuits incorporating ten million electronic components on a single chip.
47
2.5 Classification of Computer Systems
Classification of Computers based on types of data they are designed to process
Fig. 2.10: Classification of Computers types of data they are designed to process
1. Micro computers are general purpose computers, are also known as personal
computers (PCs).
2. They are small in sizes, relatively inexpensive and used at our homes.
3. Hardware peripherals can be attached easily.
4. Micro computer can handle one user at a time.
5. These are based on microprocessor technology, a silicon chip containing the
important circuitry to perform operations.
6. They are highly flexible and designed for small scale personal use and business
application.
7. These computers are used for documentation, making power point presentation,
printing tasks and other usual tasks that u all know.
8. Micro computers include Desktop computers, Laptops, tablet PC's, Personal Digital
Assistants (PDA) etc.
1. Mini Computers are bigger than micro-computers but smaller than the mainframes.
2. Minicomputers are multiprocessing system and can support up to 200 users at a time
but the power of processing is not as great as the mainframe and supercomputers.
3. They fill the gap between mainframe and a macro computer.
49
4. They are designed for computerization of data, scientific research, industrial process,
data collection and telephone switches.
5. It integrates commercial and technical operations better than micro computer.
6. Less processing speed than mainframe computers.
50
Characteristics of Super Computer
51
Large-scale integrated circuits appeared in the early 1970s. The development that
allowed the processor to fit on a chip also allowed chips to be used for memory. These
advances led to the invention of the microcomputer
In 1974, Intel came up with the first successful "computer on a chip" design called the
8080. It ran at 2 MHz and performed computing functions via an 8 bit Central
Processing Unit (CPU). The 8080 had a 40 pin design that allowed for a 16 bit bus.
The evolution of microcomputers was based on the Integrated Circuit (or Chip). This
technology allows a 5-millimetre-square chip to contain all the logic needed for a
computer processor to run programs. This technological breakthrough made possible a
massive reduction in the size of computers, especially compared to transistor-based
logic, where components were wired onto boards. The size reduction enabled logic
switching at many millions of times a second.
Microcomputer technology is still evolving. More recently computers have been enabled
to accommodate voice input and output.
2.8 PCs: Comparative study w.r.t. Micro-processor, clock speed, data bus,
controllers, memory, and peripheral interface of PC to Pentium computer
systems.
2 Clock Speed Can process 10 ± Can process 30± 100 Can process 400 ±
30 MIPS MIPS 10,000 MIPS
3 Data Bus
4 Controllers
5 Memory 2 GB 1,024,000 GB
6 Peripheral Magnetic Tapes, High end Tapes, Line Mini Computers
Interface Line Printers and Printers, Terminals
Terminals etc.
*MIPS Million instructions per second
52
==============================================================
Objective Type Questions
==============================================================
(A) Does not have operating system (B) Used by single person
(C) Assigned to one and only one task (D) All of these
53
6. In how many generations a computer can be classified?
Answer: (C) 5
54
==============================================================
Review Questions
==============================================================
==============================================================
55
Chapter 3
Number System, Codes & Data Representation
===============================================================
Key Concepts
9 Number System
9 Inter-Conversion from
Decimal to Binary,
Decimal to Octal,
Decimal to Hexadecimal,
9 Conversion of
ASCII,
Unicode,
9 Data representation
Bit,
Nibble,
Byte,
Kilo Byte,
Mega Byte,
Giga Byte,
Tera Byte,
Peta Byte.
56
3.1 Number System
We generally use the base-10 number system, which is also called decimal. The Number
3256 is may be represented as 325610 in Decimal Number system. It consists of the digit
6 in the units position, 5 in the tens position, 2 in the hundreds position, and 3 in the
thousands position.
Here it is clear that the same digit signifies different values, depending on the position it
occupies in the number.
57
2. Binary Number Systems
A binary number is a sequence of the digits 0 and 1, such as 1101001. This binary
number has no fractional part therefore it is called as binary integer.
A binary number having a fractional part contains a binary point (also called a radix
point), as in the number 1001.01.
The base of a number system (also called the radix) is equal to the number of digits used
in the system.
The decimal system uses the ten digits 0 1 2 3 4 5 6 7 8 9 and has a base of 10 whereas
the binary system uses two digits 0 1 and has a base of 2.
A binary number is sometimes written with a subscript 2 when there is a chance that the
binary number would otherwise be mistaken for a decimal number for example the
binary number 110 could easily be mistaken for the decimal number 110, unless we
write it as (110)2
Similarly, a decimal number that may be mistaken for binary is often written with a
subscript 10, as (110)10
Long binary numbers are sometimes written with their bits in groups of four for easier
reading.
The octal number system uses eight digits as from 0 to 7, i.e. 0,1,2,3,4,5,6,7 and hence
has a base of eight. In octal number system we represent the binary numbers as a set of 3
digits (23 = 8).
58
4. Hexadecimal Number Systems
Hexadecimal numbers (also known as hex number) can be obtained by making the
group of 4 bits in a binary number and representing each such set by a single number or
letter. A hex number one-fourth the length of the binary number is thus obtained.
Since a 4-bit group of binary digits can have a value between 0 and 15, we need 16
symbols to represent all of these values, thus the base of hexadecimal numbers is 16.
And for this, we use the digits from 0 to 9 and the capital letters from A to F.
***Note:
Decimal to Binary
To convert a given decimal number to its equivalent of binary number, the repeated
³division by 2 method´ is used.
1. Divide the given decimal number by two and store the remainder.
2. Repeat step (1) until the quotient is equal to zero (0).
3. The first remainder produced is called as the LSB (i.e. Least Significant Beat)
in the binary number and the last remainder produced is called as MSB (i.e
Most Significant Beat).
4. The binary number is then written from bottom to top, as the MSB comes first.
Example (1)
(42)10 = (?)2
59
The number is written from below
***Note:
Example (2)
(14)10 = (?)2
***Note:
60
Example (3)
Decimal to Octal
Reading the remainders from bottom up, we obtained octal equivalent that is 237. Thus
(159)10 = (237)8
61
Example 2: (1792)10 = ( ? )8
Reading the remainders from bottom up, we obtained octal equivalent that is 3400. Thus
(1792)10 = (3400)8
Decimal to Hexadecimal
1. Repeatedly divide the given decimal number by 16 and convert each remainder
to hex from conversion table.
2. Then write the remainder in reverse order from bottom to up i.e. the last
remainder obtained being the MSB.
62
Example 1: (83759)10 = ( ? )16
Changing the number 15 to hex F and reading them from bottom to up, we obtained our
hex equivalent that is 1472F. Thus (83759)10 = (1472F)16
63
Changing the number 15, 14, 14 and 11 to hex F, E, E and B respectively and reading
them from bottom to up, we obtained our hex equivalent that is BEEF. Thus ()10
= (BEEF)16
We use only two numbers i.e. 0 and 1 in binary number system. The base used in binary
number system is 2. Each position in a binary number represents a power of two.
Conversion
1. Binary Number System to Decimal Number System
Example (1)
(10101)2 = (?)10
Solution:
=> (1 x 24 ) + (0 x 23 ) + (1 x 22 ) + (0 x 21 ) + (1 x 20 )
=> 16 + 0 + 4 + 0 + 1
=> 21 ANS
Example (2)
(11001)2 = (?)10
Solution:
=> (1 x 24 ) + (1 x 23 ) + (0 x 22 ) + (0 x 21 ) + (1 x 20 )
=> 16 + 8 + 0 + 0 + 1
=> 25 ANS
64
Example (3)
(10100)2 = (?)10
Solution:
=> (1 x 24 ) + (0 x 23 ) + (1 x 22 ) + (0 x 21 ) + (0 x 20 )
=> 16 + 0 + 4 + 0 + 0
=> 20 ANS
Example (1)
Solution:
(1.001)2 = (?)10
(0.101)2 = (?)10
Solution:
(10.01)2 = (?)10
Solution:
(110.101)2 = (?)10
Solution:
=> (1 x 22 ) + (1 x 21 ) + (0 x 20 ) + (1 x 2-1 ) + (0 x 2-2 ) + (1 x 2-3 )
=> 4 + 2 + 0 + 0.5 + 0 + 0.125
=> 6.625 ANS
Steps for conversion from Binary Number System to Octal Number System are:
3. Write the bits of the binary number in groups of three, starting from right. (i.e.
DGGLQJ]HURVDVQHHGHGWR¿OORXWWKHJURXSV)
4. Then write the octal equivalent for each group.
Example (1)
(1101000110110)2 = (?)8
Solution:
1 5 0 6 6
Steps for conversion from Binary Number System to Hexadecimal Number System are:
66
1. Write the bits of the binary number in groups of four, starting from right. (i.e.
DGGLQJ]HURVDVQHHGHGWR¿OORXWWKHJURXSV)
2. Then assign to each group the appropriate letter or number from the conversion
table.
Example (1)
(10110100111001)2 = (?)16
Solution:
2 D 3 9
Example (2)
(101111.0011111)2 = (?)16
Solution:
2 F. 3 E
67
Conversion table for Number System
Conversion table for conversion of a number of one number system into another is given
below:
A computer system understands anything and everything only in machine language i.e.
in binary form. When you input any number or any alphabet or a special symbol, it must
be converted into binary form. This form is basically a format or pattern. These pattern
or format has to follow the coding standard. Some common coding standards are as
follows:
ASCII
ASCII stands for American Standard Code for Information Interchange. It is the most
widely used alphanumeric code for keyboards and as the name suggests, it is a code for
Information interchange. It is used to interchange information because computer doesn't
understand English or high level language. Computer understands binary language
means it understands only 0 and 1. 1 means True and 0 means False.
ASCII is standard that assigns letters, numbers, and other characters in 8-bit code.
ASCII codes represent some text in computers, communications equipment or any other
device that uses text.
68
Using ASCII codes, each alphabetic, numeric, or special character is represented with a
7-bit binary number (a string of seven 0s or 1s). Thus total 128 characters can be defined.
If you press 4 from keyboard, then keyboard send the value 100(value equivalent to 4) to
the main memory which will further be evaluated in secondary memory and then the
output will be 4 in monitor. Similarly if you press "a" the value will be 097 which is
equivalent to 01100001. You can now understand that 100 means True-False-False.
Unicode
The Unicode is nothing but a worldwide character standard which provides a 32 bit text
code (i.e. a unique number) for every character, number and special symbol, no matter
what platform, device, application or language is.
Need of Unicode?
Fundamentally, computers just deal with numbers and store letters and special symbols
by assigning a number for each of them. Before Unicode was invented, there were many
different systems, for assigning these numbers. These systems were known as character
encodings. These character encodings were limited and could not contain enough
characters to cover all the world's languages.
69
Even for a single language like English no single encoding was enough for all the
letters, punctuation, and technical symbols in common use, even they were conflicted
with one another i.e., two encodings could use the same number for two different
characters, or use different numbers for the same character. A server could need to
support many different encodings. However, when data is passed through different
computers or between different encodings, it may have risk of corruption. Solution to
these problems was Unicode.
Unicode has been adopted by all modern software providers and now allows data to be
transported through many different platforms, devices and applications without
corruption. It supports the representation of languages and symbols in laptops, and smart
phones and even in all major operating systems, search engines, browsers and Internet.
***Remember
With a 32 bit Unicode, we can represent 232 characters in the computer memory.
3.5 Data representation
Computers store data or information in the form of "1" and "0"s in different types of
storages such as memory, hard disk, USB drives etc. These data can be represented
using one of the following memory units:
Bit
'DWDRULQIRUPDWLRQVWRUHGLQFRPSXWHU¶VPHPRU\LVLQWKHIRUPRIVHTXHQFHRI bits. A
bit is a binary digit-either a 1 or 0. The smallest unit of data in a computer is called Bit.
The value of a bit is usually stored as either above or below to a level of electrical
charge in a single capacitor within a memory device. Bits in computer are grouped to
form a larger unit of data or information
A character is a number, letter or a special symbol. Eight bits together make up a
character.
Nibble
A nibble is a combination of four bits or we can say half of a byte is called a nibble.
70
Byte
A byte is a combination of eight bits. Eight bits forms a byte. In most computer systems,
byte is used to represent a character such as a letter, number or symbol (for example,
³m´³2´RU³#´. A byte can also hold a string of bits that need to be used in some
larger unit of application purposes.
It is possible to represent 256 characters that the computer can recognize and process,
using 1 and 0 in a byte.
Kilo Byte
Mega Byte
Giga Byte
Tera Byte
Peta Byte
Now look at the following table to understand the relation between memory units:
71
Table 3.1: Memory Units
72
==============================================================
Objective Type Questions
==============================================================
2. A Nibble is:
73
6. The binary representation of hexadecimal 'C3' is
8. What is UNICODE?
(A) PB (B) GB
(C) TB (D) MB
Answer: (A) PB
74
==============================================================
Review Questions
==============================================================
1. Describe decimal, binary and Octal number system with a suitable example
2. What is hexadecimal number system? Explain with example.
3. Solve the following and find values:
(i) (3H5.AB)16=()2
(ii) (90.5625)10=()8
(iii) (10111.11001)2=()16
(iv) (4261)10=()16
(v) (1011011)2=()16
(i) bit
(ii) byte
(iii) nibble
(iv) word
19. How a number is converted from decimal number system to binary number
system?
20. How a number is converted from decimal number system to octal number
system?
21. How a number is converted from decimal number system to hexadecimal number
system?
75
22. How a number is converted from binary number system to decimal number
system?
23. How a number is converted from binary number system to octal number system?
24. How a number is converted from binary number system to hexadecimal number
system?
76
Chapter 4
Storage Devices
===============================================================
Key Concepts
9 Storage Fundamentals,
9 Primary & Secondary Storage,
9 RAM,
9 Dynamic and static ROM,
9 PROM,
9 EPROM,
9 EEPROM,
9 Tape storage Devices,
9 Characteristics & limitations,
9 Floppy & their types.
9 Direct access Storage± Hard Disk,
9 Disk Cartridges,
9 Mass Storage Device
9 Optical Disk,
9 CD Rom,
9 DVD,
9 flash drive,
9 ZIP drive
The data storage media is a device that can store the data, information and instructions
for future use. This data can be read from it. All computers use data storage media to
keep the software that makes the hardware work.
A user can store a variety of data and information on storage media. Different types of
data e.g. text, audio, image requires a large amount of storage space. Even corporate
databases are measured in terms of GB (Gigabyte) or in TB (Terabyte) which are the
units of memory. Memory is basically classified into following two types:
Storage media are the physical materials on which data, information and instructions are
stored. Following are some examples of storage media:
1. Hard Disk
2. CD
3. DVD
4. USB Flash Drive
5. Web based storage
Memory devices refer to the primary memory whereas storage devices refer to the
secondary storage devices.
CPU contains several registers for storing data and instructions of the program being
executed by the CPU, but these registers can only hold only a few bytes at a time. To
hold the data and instructions of large amount of memory, secondary storage is used.
When a program is being executed, these instructions are fetched from the disk and
loaded one by one into the registers of the CPU. In this process the CPU being idle most
of the time, because there is a large speed mismatch between the rate at which CPU can
process the data and the rate at which data can be transferred from disk to CPU register.
Due to this reason, we get slow overall performance, even if computer system used a
very fast CPU. To overcome this problem, there is a need to have a reasonably large
storage space, which can hold the instructions and data of the programs, on which the
CPU is currently working. The time to fetch and load data from this storage space into
the CPU register must also be very small as compared to that for disk storage, to reduce
the speed mismatch problem with the CPU speed. Storage media used in computers, for
this purpose, is known as primary memory or main memory.
Secondary Storage
Primary storage stores the information till the pc is switch on. It also stores necessary
SURJUDPVRIV\VWHPVRIWZDUHZKLFKDUHUHTXLUHGWRH[HFXWHWKHXVHU¶VSURJUDP3ULPDU\
storage is also known as main memory of the computer. RAM is used as main memory.
It is volatile in nature, means when we shut down our system, the information stored in
primary storage become unavailable. Thus our computer system needs to store
information on a permanent storage. The secondary storage stores the information (or
data) permanently even when the electricity to the PC is cut off. It is non-volatile in
nature.
79
Example
1. Hard Disk
4.3 RAM
RAM stands for Random Access Memory. It is volatile in nature means its contents are
lost when power supply is switched off. RAM is the read and write memory. It is just
like a page of a notebook, where you can write something to or read something from.
The data and instructions entered by the user are stored inside RAM. The RAM chip is
made of metal oxide semiconductor (MOS), therefore any memory location is accessed
randomly for reading and writing. This means that the data/instructions stored in any
memory location can be accessed directly without scanning it sequentially. Because of
this reason, it is called Random Access Memory.
Types of RAM
The RAM chips are classified into two types:
1. Static RAM,
2. Dynamic RAM.
***Remember
1. The more RAM a computer has, the more it can do and faster it executes specific
tasks.
80
4.4 Dynamic and static RAM
Dynamic RAM
In Dynamic RAM the memory element have less retention period & loses its value
unless it is refreshed. It losses its stored information in a very short time (a few
milliseconds) even power supply is on. It has to be refreshed periodically, generally
every 2 mili seconds. Its power consumption is less.
Static RAM
Static RAM can retain stored information as long as power supply is on. Static RAM
elements once set to their values, do not loose them if the power supply does not go off
.It operates as a switch. In static RAM, a form of flip-flop holds each bit of memory .A
flip-flop for a memory cell takes four or six transistors along with some wiring, but
never has to be refreshed. This makes static RAM significantly faster than dynamic
RAM. However, because it has more parts, a static memory cell takes up a lot more
space on a chip than a dynamic memory cell.
***Remember:Static RAM is costly and consumes more power. It has higher speed
than dynamic RAM.
4.5 PROM
PROM is a type of Read Only Memory (ROM). So let us first we discuss about ROM.:
ROM stands for Read Only Memory. It is non-volatile (i.e. permanent) in nature means
its contents are not lost when power supply is switched off. Data in such memory is
stored by using fuse-links. Once fuse-link is burnt, it is permanent. The data stored in a
ROM chip can only be read and they cannot be changed.
PROM stands for Programmable Read Only Memory. PROM can be programmed only
once. Operations written once cannot be erased. Such information is needed while
executing user programs.
4.6 EPROM
EPROM stands for Erasable Programmable Read-Only Memory. EPROM chips can be
rewritten many times. It can be programmed through the use of special electrical pulses.
Erasing an EPROM requires a special tool that emits a certain frequency of ultraviolet
(UV) light. These are used to store programs which are permanent but need to be
updated.
81
***Remember
4.7 EEPROM
EEPROM stands for Electrically Erasable Programmable Read-Only Memory. Instead
of requiring a strong source of UV light EEPROM need only a higher than normal
voltage to erase their contents. The chip does not have to remove to be rewritten. The
entire chip does not have to be completely erased to change a specific portion of it. Each
byte in EEPROM is independently erasable & writable.
Example:Flash Memory
A tape storage drive is a device that stores computer data on magnetic tape. Magnetic
tap is a good example of Tape Storage Device.
82
Magnetic Tape
The limitation of tape drives is that they are sequential-access devices, which means that
to read any particular block of data, you need to read all the preceding blocks.
A floppy disk is a magnetic storage medium for computer systems which is composed of
a thin, flexible, circular plastic plate coated with magnetic oxide and sealed inside a
square plastic casing. It looks like as given the picture given below:
A floppy disk is a magnetic media and stores and reads data on the floppy disk using a
read head. The Floppy disk drive has a motor that rotates the disk available inside it. The
disk remains fixed at a spindle and spins at a speed about 300 RPM.
With a floppy diskette is inserted into the drive the metal slide door is opened and
exposes the magnetic disk within the floppy diskette. The read/write head comes in the
contact with the disk surface during the read/write operation. The read/write head uses a
magnetic polarity of 0 or 1. Reading this as binary data, the computer can understand
what the data is on the platter. For the computer to write information to the platter, the
read/write head aligns the magnetic polarities, writing 0's and 1's that can be read later.
The read/write head locates a particular data on the surface of the disk directly. It will
not scan each and every track and sector. This is shown in the following diagram:
84
A floppy has two holes on the bottom left and right of the floppy disk. First one
indicates the write protect and second one indicates the high-density slot. If hole found
on floppy disk, it is protected or high density else, if you found covered gap, it is write-
enabled or low density.
1. ´)ORSS\'LVN
2. 51/4´)ORSS\'LVN
3. 8´)ORSS\'LVN
A 5.25 inch floppy is called a Mini Floppy. These floppy disks are now out off market
and they do not find any place in the modern personal computers.
A 3.5 inch floppy is called a Micro Floppy. These are still in use in the modern personal
computers.
1.44 MB
The head may be fixed or movable. In a fixed head disk there is one read/write head per
track. The heads are mounted on a rigid arm. In a moveable head disk there is only on
read/write head which is mounted on an arm which can be extended.
A disk cartridge is portable removable drive, similar to a floppy disk that is capable of
holding large amounts of data. It took the form of an assembly containing a single rigid
magnetic disk permanently housed within a protective plastic cover.
The cover contained apertures to allow fixing of the cartridge to the drive, and a door
that the drive opened to allow insertion of the magnetic heads. Once loaded, the disk
could rotate clear of the covers.
Mass Storage Device refers to the device which are capable of storing large amounts of
data. The hard disk is one of the most popular Mass Storage Device, which can store
digital data.
86
Fig. 4.6: Track and Sector of Hard Disk
$+DUGGLVNFDQVWRUHGLJLWDOGDWDRQLWVSODWWHU¶VVXUIDFHLQFRQFHQWULFFLUFOHV known as
tracks. Each track is again divided into a set of sectors. There is a read/write head in
hard disk which is based on following technologies:
1. One recent technology uses magneto resistive read/write head, which has enabled
to have hard disk of more than four gigabits.
2. Another technology uses a solid immersion lens in the read/write head. A laser
beam may be focused on a very small area using this lens and thus it is possible to
create a very small spot on the recording surface. This technology is called near
field recording.
***Remember:
When a user saves information or data to a storage media, he or she is storing a file,
and this process is called writing. When the file is opened, the process is called reading.
Optical disk uses optical technology to store data. They use a reflective surface on which
the data is written. This data can be read by a laser beam transmitted from a laser head
mounted on an optical disk drive. They are designed and manufactured to meet the
demands of the growing storage requirements and faster accessing need of the business.
87
Optical disks are used:
An optical disk is primarily used as a portable and secondary storage device. It can store
more data than the previous generation of magnetic storage media, and has a relatively
longer lifespan.
1. CD,
2. DVD,
3. Blu-Ray Disks etc.
4.15 CD ROM
CD stands for Compact Disk. It is a Read Only Memory device. It comes under the
category of Optical Device. It is basically a thin, circular disc of metal and plastic about
4.5 inches in diameter. Most of a CD is made from a tough, brittle plastic called
polycarbonate.
Storage Capacity of CD
700 MB.
4.16 DVD
It can store all types of data such as text, audio, video, software, databases etc.
Fig. 4.8: Digital Versatile Disc
***Remember
1. CD-RW is a Compact Disk which has rewritable features. You can read, write
and delete data/files from the disk many times.
2. Both CD and DVD can be referred to as WORM (Write Once Read Many times) .
3. Now a days Blu Ray Discs are available in the market, which can store six times
more than a DVD and about 40 times more a than CD.
89
4.17 Flash Drive
A USB flash drive (normally called as Pen Drive) is a small storage device (like a
CD/DVD or Hard Disk) that is specifically designed to write and rewrite data multiple
times via your USB computer port. It is useful to WUDQVSRUWILOHVIURPRQHFRPSXWHU
WRDQRWKHU
Flash drives are easy to use, ultra portable, and connect seamlessly with all personal
computers.
Flash drives are small and light, use little power, and they don't have any delicate
moving parts. Data stored on flash drives is doest not affected from scratches, dust,
magnetic fields and mechanical shock. This makes them suitable for transporting data
conveniently without any damage.
Fig. 4.10 : Flash Drive
90
How to use a Flash Drive?
A flash drive is easy to use with a computer system or laptop. The data you want to
move can be copied inside flash drive. For this you simply need to plug your flash drive
into a USB port of the computer or laptop. The USB port will appear on the front of a
GHVNWRSFRPSXWHU¶V3&WRZHURURQWKHVLGHRIDODSWRS The USB port is looks like as
follows:
ZIP drive is slightly larger than conventional floppy disks, and about twice as thick.
They can hold 100 to 250 MB of data. Because they're relatively inexpensive and
durable, they have become a popular media for backing up huge data or large files.
A ZIP drive basically consists of a disk drive with a slot for a ZIP disk and the ZIP disk
itself, also referred to as a ZIP cartridge. A ZIP disk is about the same size as a 3 ½-inch
floppy, but much thicker. The plastic casing is also much stronger.
91
Fig. 4.13: ZIP Disk
The actual disk itself relies on magnetic storage, much like hard disks and floppy disks.
It was very good alternative for computer users who needed more removable storage
than floppy disks could provide. In addition to a larger storage capacity, the ZIP drive
had several other advantages. The data transfer rate (i.e. how fast data can be moved
between the disk and the RAM), was higher; the seek time (i.e. the time it takes to find a
particular location on the disk to read or write data) was much faster; and the disks
themselves were much stronger against physical damage.
It is a type of ZIP drive in which drive is installed inside the computer cabinet, similar to
CD or DVD drive. The drive is directly connected to the motherboard of the computer.
It is a type of ZIP drive in which it has its own separate casing and its own power
supply. it can be connected to the computer using a separate connector (i.e. cable).
Earlier models used a parallel port connection, while current models used a USB
connection
92
==============================================================
Objective Type Questions
==============================================================
1. Which computer memory is used for storing programs and data currently
being processed by the CPU?
2. Which of the following usually lost its data when power is switched off?
5. Optical disk technology uses which of the following to read and write data?
93
6. A laser beam is used to read data from:
8. 7KHGLIIHUHQFHEHWZHHQPHPRU\DQGVWRUDJHLVWKDWPHPRU\LV«DQGVWRUDJH
LV«
94
==============================================================
Review Questions
==============================================================
==============================================================
95
Chapter 5
==============================================================
=
Our computer system cannot perform any task with its own. It needs some instructions
to complete the job. Hence, it is necessary to specify a sequence of instructions, written
in a language, which can be understood by a computer. This sequence of instruction is
known as a computer program. This computer program controls the activity of
processing by the computer.
A set of programs written for a computer to perform a specific task is called as software.
A program is a collection of a sequence of instruction to solve a particular problem.
96
Types of Software
1. System Software
2. Application Software
Systems Software
System software is the software which deals with the system or hardware. Actually,
system software is any computer software which manages and controls computer
hardware so that application software can perform a task
1. Operating System
2. Loader
3. Linker
4. Language Processor
5. Assembler
6. Compiler and Interpreter
7. Device Driver
Operating System
Operating System provides following functions to manage resources like CPU, memory,
input and output devices and files:
1. Memory Management
2. Process Management
3. I/O Devise Management
4. File Management
Loader
Loader is a computer program use by an operating system that loads executable codes of
a program into the main memory of a computer system from its secondary storage
device therefore it can be executed. It is basically the part of an Operating System.
/RDGLQJ D SURJUDP¶V PDFKLQH FRGH LQWR PDLQ PHPRU\ is an essential stage in the
process of starting a program, because it places programs into memory and prepares
them for execution. It involves reading the contents of executable file into memory.
Once loading is complete, the operating system starts the program by passing control to
the loaded program code. All operating systems that support program loading have
loaders. The Operating System invokes the loader when needed.
Linker
In High Level Languages (HLL), some predefined built in header files or libraries are
available. These header files may contain basic functions which are essential for
executing the program. These functions are linked to the libraries by a program called
Linker. If linker does not find a library of a function then it informs to compiler and then
compiler generates an error. The compiler automatically invokes the linker as the last
step in compilation process.
98
Fig.: Linker
Roles of Linker
Language Processor
Special software used to translate high level language to machine language for the
operation of a computer before executing a program is called as Language Processor or
Language Translator.
Example
1. Compiler
2. Interpreter
Assembler
99
Fig. Assembler
The translation of an assembly language program into its equivalent machine language
program can be illustrated with the process shown in figure.
When an assembly language program is given as an input to the assembler (i.e. referred
as source code), the assembler produces its equivalent machine language program (i.e.
referred as object code)
Compiler
A computer can directly execute only machine language programs hence a high level
language program must be converted (translated) into its equivalent machine language
program, before it can be executed on the computer. This translation is done by
compiler.
Look at the diagram shown below:
Fig.3.9 Compiler
Thus compiler is a system program which translates source code written in high-level
language into its equivalent machine language program which is executable code for the
machine.
***Remember
100
Interpreter
Interpreter is also a translator which translates a high-level language program into object
FRGH VWDWHPHQW ZLVH ,W GRHVQ¶W WUDQVODWH the entire program at a time. It takes up one
statement of a high-level language program at a time, translates it and then executes it
and then takes up the next statement and repeats the whole process till end.
101
Device Driver
A computer system is connected with multiple input and output (I/O) devices, so that it
can communicate with the end user. In order to interact with the I/O devices, the
computer system requires special software called device driver.
Example
For example, printer drivers tell the operating system about exactly how to print data or
information on the page.
Device driver is a software component that lets the operating system and a device
communicate with each other. It may have following two parts:
***Remember
Once the planning for a computer program has been done, the next step in its
development is to write the specific steps for solving the problem at hand in a language
and make a form, which is acceptable to a computer system.
Low level programming languages have been designed to give a better machine
efficiency.
103
Advantages of Low level programming language
1. Machine Language
2. Assembly Language
Characteristics of Languages
The popularity of any programming language depends upon the useful features that it
provides to its users.
104
12.The language must provide necessary tools for development, testing, debugging, and
maintenance of a program. All these tools must be incorporated into a single
environment known as Integrated Development Environment (IDE), which enables
the programmer to use them easily.
13.A computer programming language should be flexible.
In an assembly language, mnemonics are used to represent operation codes, and strings
of characters to represent addresses. It is designed mainly to replace each machine code
with an understandable mnemonic and each address with a simple alphanumeric string.
The input to an assembler is the assembly language program and is known as the source
code. Its output is the equivalent machine language program and is known as the object
code.
105
Advantages of Assembly Language
***Remember:
Although both Assembly and Machine Language might look similar, they are in fact two
different types of languages. Assembly consists of both binary and simple words
whereas MaFKLQHFRGHFRPSRVHGRQO\RI¶VDQG¶V
High Level Language is simplest and most widely used language for application
development. One command in a high-level language may translate to tens of machine
language instructions. In this language, statements are more clearly assemble English
and Mathematics than mnemonics. Instructions written in high-level language are called
statement rather than mnemonics.
1. BASIC
2. COBOL
3. PASCAL
4. ALGOL
5. FORTRAN
1. Programmer need to know about standard rules for writing a program in high level
language.
2. Program written in high level language have lower efficiency.
3. High level language programs are less flexible.
4. High level language program requires a compiler which causes large memory space
inside main memory at the time of execution of a program.
5. Required compiler is expensive.
6. Expensive hardware and software supports are required.
7. Compilation time is more due to low speed.
***Remember:
107
Differences between Machine Language and High Level Language:
Machine language is the only programming language that the computer can understand
directly without translation. It is a language made up of entirely with the combination of
¶s and ¶s. However, there is not a single universal machine language because the
language must be written in accordance with the special characteristics of a given
processor. Each type of processor requires its own machine language. For this reason,
machine language is said to be machine-dependent, and therefore this limitation was
need to be overcome with further generation languages.
Machine language programs have the advantage of very fast execution speeds and
efficient use of primary memory.
108
Disadvantages of First Generation Computer Programming Language
1. Use of machine language is very tedious, difficult and time consuming method of
programming.
2. Since Machine language is low-level language, the programmer must specify every
detail of an operation.
3. A low-level language requires that the programmer have detailed knowledge of how
the computer works.
4. Programmers had to know a great deal about WKH FRPSXWHU¶V GHVLJQ DQG LWs
functionality.
The second-generation languages, or 2GL, are also low-level language that is Assembly
languages. They are also classified as low-level languages because detailed knowledge
of hardware is still required. The first step in making software development easier and
more efficient was the creation of Assembly languages.
Objective of Second Generation Computer Programming Language
Assembly languages use mnemonic operation codes and symbolic addresses in place of
1s and 0s to represent the operation codes. A mnemonic is an alphabetical abbreviation.
This means a programmer can use abbreviation instead of having to remember lengthy
binary instruction codes. For example, it is much easier to remember L for Load, A for
Add, B for Branch, and C for Compare than the binary equivalents i-e different
combinations of 0s and 1s.
1. Only computer specialists familiar with the architecture of the computer being used
can use Assembly Language.
2. Assembly language is also machine dependent.
3. Assembly language is not easily converted to run on other types of computers.
Example:
Fourth Generation Computer Programming Languages are:
Perl, PHP, Python, Ruby and SQL etc.
110
Objectives of Fourth Generation Computer Programming Language
1. Minimizing maintenance by reducing errors and making programs that are easy to
change.
2. Increasing the speed of developing programs.
3. Decreasing the skill level required of users.
Fifth Generation Computer Programming Languages (5 GL) are designed to make the
computer solve a given problem without the programmer. This way, the programmer
only needs to worry about what problems need to be solved and what conditions need to
be met, without worrying about how to implement a routine or algorithm to solve them.
The text of a natural language statement very closely resembles human speech. Even
misspelling some words or changing the order of the words can give the same result
using such languages7KHVHODQJXDJHVDUHGHVLJQHGWRPDNHWKHFRPSXWHU³VPDUWHU´
Example
Clout, Q & A, Savvy Retriever and HAL (Human Access Language), Mercury, and
Prolog etc.
Application software is designed to solve a specific problem. It helps users with certain
tasks. The Application Software is a software that applies to the real life application.
Example
1) M.S. Office
2) Music Player
3) Antivirus
4) Acrobat Reader
Micro Soft Word is an application software which enables us to create, edit, save and
print documents. It is basically a word processing software which is developed by
Microsoft.It is one of the important tools that is primarily designed for word processing.
1. Creating a document
2. Saving a document
3. Editing a document
4. Formatting a document
5. Printing a document.
112
Creating document using MS-Word
Step 2 íSearch for Microsoft Office Package
113
Step 3 ± After clicking on Microsoft Office, you will get following options:
Step 4 ± Click on Microsoft Office Word 2007, you will get the window shown below:
114
Editing document using MS-Word
1. Insert Text
2. Select Text
3. Delete Text
4. Move Text
5. Copy & Paste
6. Find & Replace
7. Spell Check
8. Zoom In-Out
9. Special Symbols
10.Undo Changes
115
Formatting document using MS-Word
Formatting of a document can be defined as the method which is used to change the
design and the layout of the text according to the requirements.
Formatting Text
Formatting Paragraph
1. Create First Line Indent
2. Apply a Style
3. Customize a Style
4. Create a New Style
117
1. Creating a worksheet
2. Saving a worksheet
3. Modifying a worksheet
4. Renaming a worksheet
5. Deleting a worksheet
6. Moving a worksheet
7. Editing a worksheet
If Data Analysis tab is not available in your MS Excel 2007, then it can be added as
follows:
In MS Excel 2007, click the Office Button and select Excel Options.
118
Now click on Add-Ins, select Excel Add-Ins in the Manage box and click Go. Select
Analysis ToolPak and click OK.
119
If Analysis ToolPak is not listed in the Add-Ins list, click Browse to locate it. If Excel
notifies you that the Analysis ToolPak is not yet installed, click Yes to install it. After
loading it, you will find Data Analysis on the Data tab as given below:
120
Select the Analysis Tool and press OK button. If selected Anova: Single Factor then you
will get the following window:
Now you can use the Collapse Dialog button to select a range and the Expand Dialog
button to return. Select the output range. Then Click OK.
Creating Chart
In Excel, it is easy to create professional looking charts simply by choosing a chart type,
a chart layout, and a chart style.
To create a basic chart in Excel, you start by entering the data for the chart on a
worksheet then select the data and go to the insert tab and select a type of chart. These
charts can be modify and format later.
121
5.12 Creating and Presenting slide show using MS-POWERPOINT
122
Creating a Power Point Slide is not a difficult task. You have to open Power Point from
MS office, then a slide will appear automatically. The slide has two text boxes. You can
also add additional text boxes in your slide.
When a Power Point Slide is created, it can be saved by clicking on the Microsoft Office
Button then select Save or Save As from the menu.
123
Presenting Slide Show
Once your power point presentation is created with several slides you can select the
View tab to locate the Presentation Views group. It displays four options to view
presentations, as given below:
1. Normal View,
2. Slide Sorter View,
3. Slide Show View and
4. Notes Page View.
The normal view appears by default when we open the PowerPoint window. You can
create and edit slides in Normal View. This view also offers three view options out of
four options in the form of buttons on the status bar.
Slide Sorter View offers thumbnails of all slides. You can see all your slides at one time
in the screen. You can also drag or delete the slides to rearrange them.
125
Fig.: Slide Sorter View
Slide Show View displays your presentation in full screen mode. It also offers an
additional menu at the left bottom corner of the slide.
126
Notes Page View
Notes Page View offers space to add some notes just below the slide.
127
==============================================================
Objective Type Questions
==============================================================
1. The program that translates assembly language to machine language called as:
3. In MS Word, which of the following tool is used to send letter to many peoples
simultaneously?
Answer: (D) =
5. The ability to combine name and addresses with a standard document is called
________
Answer: (C) 5
9. What is a compiler?
129
==============================================================
Review Questions
==============================================================
130
View publication stats