History of Computers
Computers have become an integral part of day-to-day life. Man has been inventing
devices to assist him in calculating and processing data. It began with manual mechanical
devices powered by hand. With the invention of electricity electromechanical devices
were developed which used electric power. Eg. Electric desk calculators. With the advent
of electronics, electronic devices were developed.
ABACUS (5000 BC)
China
It is frame with beads strung on rods or wires. Calculations are performed by
manipulating the positions of the beads.
Napiers Bones (1617)
Scottish Mathematician John Napier
Bones are a set of 11 rods with nos. marked on them in an order.
By placing the rods side in an order, products and quotients of large nos. can be obtained.
Slide Rule (1632)
English Scientist William Oughtred
Two movable rules placed side by side. The rules are placed in such a way that by sliding
the rules one can divide and multiply.
Adding Machine (1642)
Computer Organization
ALU
CU
Mem
RAM
Secondary
Storage
I/O
Devices
Mem. Unit
Input
Control Unit
Output
ALU
MEMORY :
Is that part of the computer where programs and data are stored.
Bit: The unit of memory is a binary digit - Bit(0/1)
Memory addresses: Memories consist of no. of cells locations, each of which
can store a piece of information. Each cell has a number called address, n cells ,
n-1 addresses. All cells in a memory contain the same number of bits. If a cell
consists of k bits it can hold one of 2k diff. Bit combinations.
Contents
Addr
Byte
0/1
----- 1 bit
8 bits
----- 1 Byte
1024 Bytes
-----1 Kilo Byte
10,00,000 Bytes ---- 1MB
Types of Memories :
1)Random Access Memory (RAM)
Information can be read from a RAM chip and also written onto it. When
switched off any information stored in the memory is lost. RAM acts as a
temporary storage and holds data which are to be processed by the
microprocessor. It is volatile in nature.
SECONDARY MEMORY :
Secondary memories hold data larger than main memory can hold. The various
secondary storage devices are as follows.
1)Magnetic tapes :
First kind of secondary memory. Computer tape drive is similar to cassette tape
recorder. 2400 ft long tape is wound from feed reel past a recording head to the
take-up reel. By varying the current in the recording head the computer can write
information on the tape in form of magnetized spots.It is a sequential access
device. To read the nth record it is necessary to read n-1 records.
2)Magnetic Disks :
Is a piece of metal with magnetized coating on both sides. Diameter is 5-10
inches. Information is recorded on concentric circles called tracks. Tracks are
divided into sectors, 10-100 sectors / track & 512 bytes / sector.There are 40 to
few hundred tracks per surface. A movable head moves to & fro from the center.
The head is wide enough to read or write information from exactly one track. A
disk drive often has several disks stacked vertically about an inch apart on the
spindle. The arm has one head next to each surface all of which move in and out
together. The whole is a sealed unit to avoid contamination from dust.
3)Floppy Disks :
Made up of magnetic oxide coated mylar material. The material of the floppy is
thin and and flexible hence it is called as a floppy. It is packed into square plastic
envelop with a long slot for read-write head access. When the disk is inserted in a
floppy disk drive unit, a spindle clamps in the large center hole and spins the disk
at a constant speed. Data is stored on concentric tracks. Read / Write head
contacts the disk through the slot to read from or write to the disk. Head moves to
and fro. The write protect notch can be used to protect stored data. When the
notch is covered with a tab one cannot write data onto the disk. Index hole
punched in the disk indicates the beginning of the recorded tracks.
4) Optical disks :
Have higher recording densities. Originally developed for recording TV
programs.These disks are based on the same technology used in compact disk
audio players and are called CD-ROMs. They are prepared by using high power
laser to burn 1 micron holes in a master disk. From this disk a mold is made to
stamp out copies on plastic disks. The disk is made of polycarbonate wafer,
120mm in diameter and 1.2mm thick, with a 15mm hole in the center.This wafer
base is coated with a metallic film usually an aluminum alloy. The aluminum film
is the portion of the disc that the CD-ROM drive reads for information. The
aluminum film is then coated by plastic polycarbonate coating that protects the
underlying data. This device degrades as its optical surface becomes dirty or
scratched.
I/O Devices
1) Monitor
Is a box consisting of CRT and its power supplies. CRT contains a gun that can
shoot an electron beam against a photophosphorescent screen near the front of the
tube. The beam sweeps across the screen in about 50 sec, tracing out an almost
horizontal line on the screen. It executes a horizontal retrace to get back to the left
hand edge in order to begin the next sweep. A device that produces an image line
by line is called raster scan. A full screen image is normally repainted between 30
and 60 times a second. To produce a pattern of dots on the screen a grid is present
inside the CRT. When positive voltage is applied to the grid, the electrons are
accelerated causing the beam to hit the screen and make it glow. When negetive
voltage is applied the electrons are repelled, so they do not pass through the grid
& the screen does not glow.
2)Printers
I] Impact printers
a) Daisy wheel printers
Is like a type writer. A piece of metal or plastic with a raised letter strikes an
inked ribbon against the sheet of paper. Similar technique is used in daisy wheel
printers. Consists of spoked wheel like a daisy, with characters on the petals. To
print a character the printer rotates the proper character in front of the
electromagnet. It energizes the magnet, pressing the letter against the ribbon.
Speed --- 20-40 characters/sec.
b)Dot matrix printer
The heart of the printer is a printer head which consists between 7 & 24
electromagnetically activable needles which is scanned across each print line.
Each letter can be viewed as a matrix of dots. Therefore each print line consists of
7 horizontal lines each consisting of 5x80 = 400 dots. Each dot can be printed or
not printed depending on the characters to be printed.
The print quality can be increased by two techniques.
1) Using more needles so that dots overlap
2) Multiple passes over each scan line
II] Non-Impact Printers
1)Laser printers
Combines - high quality image
- excellent flexibility
- good speed
- moderate cost
Use the same technology as Xerox machines.
The heart of the printer is a rotating precision drum. At the beginning of each page
cycle it is charged upto 1000 volts and coated with a photosensitive material.
The light from the laser is scanned along the length of the drum. A rotating
octagonal mirror is used to scan the length of the drum. The light beam is
modulated to produce a pattern of light and dark spots. The spots where the beam
hits lose their electrical charge. After a line of dots has been painted, the drum
rotates a fraction of a degree to allow the next line to be painted. In the mean time
the first line of dots reaches the toner----reservoir of an electrostatically sensitive
black powder. Toner is attracted towards the charged dots forming a visual image
of that line. The toner coated drum is pressed against the paper transferring
black powder to the paper. The paper is then passed through heated rollers to bind
the toner to the paper, permanently fixing the image. The drum is then discharged
and scraped clean of any residual toner.
2)Deskjet printers
They combine dotmatrix and laser technology to print. The ink in the cartridge is
electrostatically charged. The primary difference between the deskjet & laser is
the way in which the image is applied to the page. They use tiny nozzles to spray
liquid ink directly onto the paper in the same dot patterns used by laser printer.
The no. of nozzles is dependent on the printers resolution. From 21 to 128 nozzles
per colour. Color printers use four reservoirs with different color inks cyan,
magenta, yellow and black. By mixing the four inks the printer can produce
virtually any color.
3)Mouse:
A mouse is a small piece of plastic box that sits on the table next to the terminal.
When it is moved around on the table, a pointer on the screen moves, allowing
users to point at screen items. There is a ball at the bottom of the the mouse that