basics of computer
basics of computer
Characters are represented in memory as special numeric codes. There are different
methods to represent characters.
1. ASCII - ASCII stands for American Standard Code for Information Interchange. It
uses 7 or 8 bits.It can store 256 different characters if 8 bits are used.
2. EBCDIC – Extended Binary Coded Decimal Interchange Code. It is an 8 bit code
used in computers designed by IBM.
3. ISCII – Indian Standard Code for Information Interchange. Developed in India and
uses 8 bits.
4. Unicode – UNIvesal Code. Uses 16 or more bits. It can represent up to 65,536
characters if 16 bits are used. It is a code that can represent all characters of all
written languages of the world.
Motherboard : Printed Circuit Board (PCB) to which all the major components including
the processor are integrated.
Peripherals and Ports
Peripherals : Peripherals are devices that are attached to a computer system to increase
its
functionalities. Peripherals include input devices, output devices, external storage and
communication devices.
Ports : Ports are the interfaces to which peripherals are connected.
Serial port : A serial port / serial communication port transmits data one bit
at a time
Parallel port :Parallel ports can transmit several bits of data simultaneously.
Faster than serial port.
USB (Universal Serial Bus) : is a connection that provides high speed data
communication between devices. The main advantage of USB ports are:
◦ USB ports are capable of supplying electric power to external devices.
◦ USB devices can be connected and disconnected even when the power is
on.
LAN port: is a port connection that allows a computer to connect to a
network using a wired connection. RJ45 is a standard type of connector used
for connecting cables through LAN ports.
PS/2 port: Personal System/2 (PS/2) ports are special ports invented by IBM
(International Business Machines) for connecting the keyboard and mouse
Audio ports : Audio ports are used to connect audio devices like speakers,
microphone, etc.
a. Line in - Sound input (from any audio device like mobile line out, ipod,
etc.)
b. Line out - Sound out (to connect your PC's sound output to external
speakers)
c. Mic in - Microphone input port
VGA (Video Graphics Array) port: The VGA port is used to connect a
monitor or a projector to a computer. The VGA connector has 15 pins
displayed in three rows VGA was replaced by SVGA and later SVGA by
XGA.
High Definition Multimedia Interface (HDMI): HDMI is a type of digital
connection capable of transmitting high-definition video and multi channel
audio over a single cable.
KEYBOARD.
o Keyboard is most commonly used input device.
o It is similar like a type writer which is used to enter data in the computer.
o It contains sets of keys such as alphabets, number & special signs.
o There are two types of keyboard.
o General purpose keyboard
o Special purpose keyboard
GENERAL PURPOSE KEYBOARD:
o Standard keyboard which are used in personal computers.
o It contains enough keys which are used in all types of applications so they are
known as general purpose keyboard.
o Most popular general purpose keyboard contains 101 keys.
o The general purpose keyboard are divided into following parts:
ALPHANUMERAIC KEYPAD
o The centred part of the keyboard is known as alphanumeric keypad.
o It contains alphabets, numbers & special signs such as *,!, @, #, $, %,* etc.
NUMERAIC KEYPAD
o The right most part of the keyboard is known as numeric keypad.
o It contains 0 to 9 numbers & mathematical signs such as +, *, -, /.
o Mainly used for fast data entry in mathematical applications.
ARROW KEYS
o Set of four keys up, down, left & right.
o Used to move the cursor at left & right or up and down on the screen.
o They are referred as “cursor-control” or “cursor-movement” keys.
FUNCTION KEYS
o The first line of the keyboard contains a Set of 12 keys with name f1 to f2 are
known as function keys.
o Used to generate short-cuts in different software package.
SPECIAL KEYS
There are lots of keys that are used for some specific task describes follows:
o TAB: used for gives multiple spaces or move the cursor to next defined
position.
o ENTER: used for generate the output of any command.
o SPACE: used to make one blank space between two words.
o BACKSPACE: used to remove the left-most character at cursor position.
o DELETE: used to remove the right-most character at cursor position.
o HOME: moves the cursor at the beginning of the line.
o END: moves cursor at the end of the line.
o PAGE UP: moves or scroll the screen up or previous page of the current page.
o PAGE DOWN: moves the screen to the next page from the currently displayed
page.
o PRINT SCREEN: used to print what is currently displayed on the screen.
o INSERT: used to enter text between two characters.
o ESC: used to negate current command or terminate the execution of the
program.
o ALT: used to expand the functionality of keyboard. Basically, used to generate
shortcuts in different application.
o CTRL: used to expand the functionality of keyboard. Basically, used to
generate
o shortcuts in different application.
o NUMLOCK: used to on or off the numeric keypad.
o CAPSLOCK: used to type the all-inputted text capitally.
POINTING DEVICES.
1.MOUSE
Mouse is small hand-hold device Input device which is generally used for
drawing purpose.
It’s a Pointing device.
It contains two or three buttons
Left button is used to point out or select any item by clicking.
Right to generate context menu.
When user moves mouse across flat surface, the graphic cursor moves on screen.
Graphic cursor contains verity of symbols such as arrow, wrist, pointing finger
etc.
Depending on application text & graphic cursors are changed.
3. JOYSTICK
Joystick is a pointing device which is works on the same principle of track ball.
It contains a stick which is placed on the spherical ball.
The stick is used to move the cursor at desired position left or right or backward or
forward.
It also contain button that is clicked to make selection of currently pointed item.
A joystick is similar to a mouse, except that with a mouse the cursor stops moving
as soon as you stop moving the mouse.
With a joystick, the pointer continues moving in the direction the joystick is
pointing.
To stop the pointer, you must return the joystick to its upright position.
Some of the systems using joysticks are
o Aircrafts, UAVs for flight control
o Motorized Wheelchairs as input device
o Microscopes
o Submarines
o Security Systems
o Video Games
Joysticks are widely used for video games
Advantages of joystick
It is very easy to learn to use.
Very simple design so they can be inexpensive.
It has a big analogue stick in the middle so it’s easier to control.
5. LIGHT PEN
Light pen is a pointing device which is used to draw directly draw on the screen.
It is called light pen because it is similar to a pen & senses light.
It’s an input device in the form of light-sensitive stick used in conjunction with a
CRT display.
The light pen allows the user to point out or draw any object on the screen.
The user brings the pen to the desired point on screen and presses the pen button
to make contact.
It has a switch on its top which allows the user to make contact with screen.
It is useful for drawing or graphics in the program such as CAD (computer aided
design).
An engineer, architect or fashion designer can draw directly on screen.
Used in application such as gaming, graphic arts, healthcare applications etc.
Light pen cannot scratch or damage a screen.
Advantages of light pen;
o Less expensive than touch screen.
o gives the user the full range of mouse capabilities, without the use of a
pad or any horizontal surface
o Cannot scratch or damage screen.
o Works on any size screen.
5.TOUCH SCREEN
Touch screen is a pointing device.
It is most simple & easiest to learn of all input devices.
It allows the user to choose from available options by simply touching with their
figure to the desired icon or menu item displayed on the computer screen.
A touch screen is an electronic visual display that can detect the presence and
location of a touch within the display area.
The term generally refers to touching the display of the device with a finger or hand.
Touch screens are common in devices such as computers, tablet computers &
Smartphone.
The touch screen has two main attributes:
o First, it enables one to interact directly with what is displayed.
o Secondly, it lets one do so without requiring any intermediate device that
would need to be held in the hand
It’s a very easy to operate device which users can use the system without any formal
training.
Uses optical sensors that detect the touch of the finger on screen.
Sensors communicate the position of touch to the computer which interprets the
input made by the users.
It contains pressure sensitive monitors which are placed inside the base of computer
screen.
Pressure sensitive monitors contain sensors to measure the monitor’s weight at
many points.
When user touches the screen, the changes on weights & forces transferred down to
sensor which allows the device to detect the location of the touch.
This type of monitors required little pressure to transmit the desired input.
Touch screen are commonly used in following places.
o An airport or railway station.
o Large departmental stores.
o In large museums or zoos to guide visitors to the locations of various attractions.
o Self service check out
o In ATM machines
o In I-phones or PDA’s
o Computer based training
Any type of touch screen contains Three main components:
o A touch screen sensor panel: Which sits above the display & generate appropriate
voltage according to where precisely it is touched?
o A touch screen controller: Processes the signal received from the sensor &
translates this touch event data & passed to pc’s processor via serial or USB
interface.
o A software driver: Provides an interface to the pc’s operating system & which
translates the touch event data into mouse event.
6.DIGITIZER
An input device.
Used for converting pictures, map & drawing into digital form.
Allows one to hand-draw images and graphics, similar to the way one draws images
with a pencil and paper.
Also be used to capture data or handwritten signatures.
The device consists of a flat surface upon which the user may "draw" an image
using an attached stylus, a pen-like drawing tool.
These devices are usually connected via a Serial port.
Placed on the desk n connected with the computer.
Digitizer consists of graphic tablets which are associated with a stylus.
The stylus is like a pen with a button.
Stylus connected with a tablet and can press down at a point on the tablet to input
(x, y) co-ordinates of point.
It contains hundreds of copper wires forming a grid that receives electric pulsed.
When stylus moves on tables the cursor on screen moves simultaneously.
Allows the user to draw sketches directly.
Commonly used in CAD by architects & engineers.
Used in GIS (geographical information system) for digitizing maps.
7.MICROPHONE
It’s an input device.
Used to stores the voice data into the computer system.
Microphones are a type of transducer - a device which converts energy from one
form to another.
Microphones convert sound waves into electrical energy.
Different types of microphones have different ways of converting energy.
All the microphones share one common thing: The diaphragm.
Thin piece of material (such as paper, plastic or aluminium) which vibrates when it
is struck by sound waves.
When the diaphragm vibrates, it causes other components in the microphone to
vibrate.
These vibrations are converted into an electrical current which becomes the audio
signal.
The microphones are divided in mainly two types
The type of conversion technology they use
o This refers to the technical method the mike uses to convert sound into
electricity.
o The most common technologies are dynamic, condenser, ribbon and crystal.
The type of application they are designed for
o Some mikes are designed for general use and others are much specialised
purpose.
8.WEB CAMERA
It’s an input device.
Used to feeds the image to a computer or computer network often via USB or Wi-
Fi.
Web camera is a hardware camera connected to a computer that allows everyone to
connect to internet to view either pictures or motion video.
Most Web cameras are embedded to display with laptop computer or connected
with USB or Wi-Fi with a computer.
Simple web cam. Consists a digital camera attached to your computer typically
through USB.
The camera part of web camera is just a digital camera.
Web camera comes with software which preset interval & transfer it to another
location of viewing.
Web camera system allows you to using video also for that you have web camera
with high frame rate.
Web camera is a digital camera which taking picture over & over & again one after
another.
These images are stored image into the physical memory of camera in built in.
After capture image & stored in memory it reduced the amount of data need to
transmit.
Web camera software takes image & converts data in jpeg (compressing format).
OUTPUT DEVICE.
The output devices are the devices which are used to display the result generated by
the computer system.
Monitor, printer, plotter, speaker is the example of output devices.
FUNCTIONS OF INPUT DEVICES:
o Accept the result from the CPU.
o Convert that result into human readable form.
o Supply this result to output device.
IMPACT PRINTERS.
Dot matrix printer:
Character printer.
Capable to print single character at the same time.
Forms characters & images as a pattern of dots.
Contains a print head which moves horizontally across paper.
Uses 5 × 7 matrix to form a character.
Print by hammering the pins on inked ribbon to leave ink impressions on the paper.
Able to print 30 to 600 characters per second.
ADVANTAGES:
o Low cost & easily available.
o Cheap in cost.
o Can make carbon copy of print out.
o Low maintenance cost.
o Work with any type of environment.
DISADVANTAGES:
o Slow in speed.
o Very noisy.
o Cannot work perfectly in graphics.
DRUM PRINTER:
It’s a line printer.
Able to print a line at the same time.
Consist of a solid cylindrical drum with characters embossed on it in circular band.
Each band consists of character set which contains 96 characters.
Drum rotates fastly when desired characters arrives an appropriate hammer stike on
ribbon & character is print on paper.
Capable to print 300 to 2000 lines per minute.
ADVANTAGES:
o Low cost than non impact printer.
o Can make carbon copy of print out.
o Low maintenance cost.
o Faster than other impact printer.
o Printing quality is similar to a type writer.
DISADVANTAGES:
o Very slow in speed.
o Very noisy.
o Large & heavy.
o Cannot print graphics.
o Only prints predefined set of characters.
CHANIN PRINTER:
It’s a line printer.
Able to print a line at the same time.
Consist of a metallic chain on which all characters of character set are embossed.
Character set contains 48, 64 or 96 characters.
Characters are embossed several times.
Chain rotates at high speed when the desired characters in correct position the
hammer strikes & the characters are print on paper.
Capable to print 400 to 2500 lines per minutes.
ADVANTAGES:
o Low cost than non impact printer.
o Can make carbon copy of print out.
o Chain can be easily changed.
o Allowed to print different type font.
o Printing quality is similar to a type writer.
DISADVANTAGES:
o Slower than non impact printer.
o Very noisy.
o Large & heavy.
o Cannot print graphics.
o Only prints predefined set of characters.
NON-IMPACT PRINTERS.
INK-JET PRINTER:
It’s non-impact printer.
It’s a character printer.
Forms characters and all kinds of images by spraying drops of ink on to the paper.
Print head contains 64 tiny nozzles.
To print a character the printer the printer selectively heats the appropriate set of
nozzle as the print head moves horizontally.
Inkjet printer can either colour or monochrome.
Capable to print 30 to 400 characters per minutes.
ADVANTAGES:
o High quality output.
o Silent during the operation.
o Able to print graphics.
o Able to print any characters & graphics.
o Able to generate colour & monochrome output.
DISADVANTAGES:
o Slower than dot matrix printer.
o Cannot make carbon copy of print out.
o Expensive than impact printer.
LASER PRINTER:
It’s non-impact printer.
It’s a page printer.
Three main components laser beam, a multi-sided mirror, a photoconductive drum
& toner.
To print page laser beam is focused on drum by spinning multisided mirror.
Drum is electric charged.
Toner which is composed of oppositely charged ink particles, stick to the drum.
Then toner focused on the paper with heat & pressure to generate output.
Low speed laser printer can print 4 to 12 page per minute while high speed laser
printer Capable to print 500 to 1000 pages per minutes.
ADVANTAGES:
o High quality output.
o Very faster in speed.
o Silent during the operation.
o Able to print graphics.
o Able to print any characters & graphics.
o Able to generate colour & monochrome output.
DISADVANTAGES:
o Very expensive.
o Cannot make carbon copy of print out.
THE DIFFERENCE BETWEEN IMPACT & NON-IMPACT PRINTER.
Impact printer Non impact printer
Printing character by striking hammer Printing characters or graphics by spraying
against ink ribbon to produce output ink on paper.
Slow in speed Faster than impact printer
Less expensive than non impact printer More expensive than impact printer
Noisy during printing Silent during printing
Able to produced carbon copy output Cant able to produced carbon copy output
e.g.: e.g.:
daisy wheel, drum, chain, dot matrix inkjet, laser
PLOTTER
SPEAKER.
The speaker is output device which is connected to computer’s soundcard.
The speaker output the sound generated by the sound card.
Audio data is generated by computer is send to audio card which is located inside
extension slot.
It can translate data into audio signal which are sending to speaker.
The speaker can able to produced series of different tones.
TYPES OF PROCESSORS.
DUAL CORE
Dual-core refers to a CPU that includes two complete execution cores per physical
processor.
It has combined two processors and their caches and cache controllers onto a single
integrated circuit (silicon chip )
Multi-core is similar to dual-core in that it is an expansion to the dual-core
technology which allows for more than two separate processors.
Dual-core refers to a CPU that includes two complete execution cores per physical
processor.
It combines two processors and their caches and cache controllers onto a single
integrated circuit (silicon chip).
It is basically two processors, in most cases, residing reside side-by-side on the
same die.
Dual-core processors are well-suited for multitasking environments because there
are two complete execution cores instead of one.
Each with an independent interface to the front side bus.
Since each core has its own cache, the operating system has sufficient resources to
handle most compute intensive tasks in parallel.
ADVANTAGES:
o Performance is faster than single-core processors.
o Able to divide information for processing by multiple units.
o Core processor uses slightly less power than two coupled single-core processors
o Multi-core chips also allow higher performance at lower energy.
CORE 2 DUO
Core 2 Duo is the name given by Intel to its second batch of dual core processors.
Desktop PCs with the Intel® Core™2 processor family deliver faster performance,
greater energy efficiency, and more responsive multitasking.
Intel’s dual core processors were simply 2 Pentium 3 processors that were
fabricated in a single chip.
As they refined their product more, they decided to differentiate their second set of
processors from the Core Duo and decided to call it Core 2 Duo.
The difference between dual core processors and the Core 2 Duo processors is just
in the semantics as Core 2 Duo is simply a name given to a more recent family of
dual core processors.
If we translate this to the single core processors, we can say that Core Duo is
Pentium 1 while Core 2 Duo is Pentium 2. But all these are still single core
processors.
We can therefore say that Core 2 Duo is simply a subset of all the dual core
processors that are out in the market today.
RAM
The complete name of RAM is random access memory which is also known as
Primary memory.
It is called read/write memory because data can be read as well as write in RAM.
It is called random access because you can directly access any data from RAM if
you know row & column cell.
The RAM chip is fixed on the mother board & the mother board is designed in such
a way that its memory capacity can be enhanced by adding more RAM chip.
RAM is a VOLETILE memory.
RAM chips are of two types:
DRAM:
Dynamic Random Access Memory is a volatile memory that allows fast
access to data and is ideal for use as the primary store of computer systems.
However, the information is stored as electrical charges and the charges need
to be constantly refreshed in order for the data to be maintained.
SRAM:
Static Random Access Memory is also a volatile memory.
Once data is written into the chip, it is maintained as long as power is
supplied to it; it does not need refreshing.
However, SRAM is slower than DRAM and it is also more expensive.
ROM
The complete name of ROM is read only memory.
The data stored permanently & can’t be altered by the programmer.
Data stored in RAM chip can be read & used but cannot be changed.
This memory also known a field storage permanent storage or dead storage.
It is basically used to store manufacturer programmed & user program.
Most of the basic operations are carried out by electronic circuits which are known
as micro programs.
These programs are stored in ROM. For ex. System Boot Loader.
ROM
o The complete name of ROM is read only memory.
o The data stored permanently & can’t be altered by the programmer.
o Data stored in RAM chip can be read & used but cannot be changed.
PROM
o Programmable Read Only Memory is a non-volatile memory which allows
the user to program the chip with a PROM writer.
o The chip can be programmed once, thereafter, it cannot be altered.
EPROM & EEPROM
o Erasable Programmable Read Only Memory and Electrically Erasable
Programmable Read Only Memory chips can be electrically programmed.
o Unlike ROM and PROM chips, EPROM chips can be erased and
reprogrammed.
SERIAL PORT
Known as asynchronous port or RS-232-C port.
This type of port is sends & receives data using only two line.
Therefore this type of port is ideal for connection to the phone circuits which uses 2
data lines.
The communication process of data transfer is slower.
Due to this reason it is not used for printer.
It has high signal travelling capacity.
PARALLEL PORT
Known as Centronics or printer port.
It’s a type of socket found on personal computer for connecting various types of
computer devices.
Normally it is reserved for printer.
They carry 8 bits at the same time so that communication becomes very faster.
Due to the faster data communication capability it is used in input & output devices.
The signal travel capacity is less than serial port.
USB PORT
It’s a new interface technology which are used to connect computer peripherals such
as keyboard, mouse, scanner, joysticks, printer, web camera etc.
USB operate at two speeds 1.5 mbps & 12 mbps.
The speed is depending upon the devices which are attached with the port.
For example the devices such as mouse, keyboard Use the law band while digital
camera use high speed channel/
Main advantage is that when devices are attached the appropriate drivers are loaded
automatically.
PS/2 PORT
Developed by IBM for connecting mouse or keyboard to PC.
It supports the plug that contains 6 pins.
Also called mouse por.
Serial Cable
Serial Cables are typically used for RS-232 communication.
A serial cable is a cable that can be used to transfer information between two
devices using serial communication.
The form of connectors depends on the particular serial port used.
The maximum working length of a cable varies depending on the characteristics of
the transmitters and receivers.
This cable has short transmission distance because of noise limiting the transmission
of high numbers of bits per second when the cable is more than 15 meters long.
It is cheap to purchase and is simple to join and connect.
It is suitable for unbalanced data standards.
Only one device can be connected to the cable.
Parallel Cable
On many legacy peripherals, the parallel cable utilized both the 25 pin Sub-D
connector and the 36 pin Centronics connector.
This was a common printer interface and is still in service in great numbers.
With the advent of "intelligent" laser and ink jet printers, the IEEE-1284
bidirectional printer cable was introduced.
This parallel interface allows for bi-directional communication resulting in speeds
up to 10 times faster than conventional cables.
USB Cable
To Connecting a USB device to a computer is simple -- you find the USB connector
on the back of your machine and plug the USB connector into it.
If it's a new device, the operating system auto-detects it and asks for the driver disk.
If the device has already been installed, the computer activates it and starts talking
to it.
USB devices can be connected and disconnected at any time.
GRAPHIC CARDS.
A graphics card is the component in your computer that handles generating the
signals that are sent to the monitor or "graphics".
It is responsible for generating all the text and pictures that are displayed on your
screen.
The images you see on your monitor are made of tiny dots called pixels.
At most common resolution settings, a screen displays over a million pixels, and the
computer has to decide what to do with everyone in order to create an image.
To do this, it needs a translator -- something to take binary data from the CPU and
turn it into a picture you can see.
This task is performed by Graphic Card which is built into motherboard.
A graphics card's job is complex, but its principles and components are easy to
understand.
The CPU, working in conjunction with software applications, sends information
about the image to the graphics card.
The graphics card decides how to use the pixels on the screen to create the image.
It then sends that information to the monitor through a cable.
To make a 3-D image, the graphics card first creates a wire frame out of straight
lines. Then, it rasterizes the image.
It also adds lighting, texture and colour.
The graphics card accomplishes this task using four main components:
DATA STORAGE
MAGNETIC TAPE
Sequentially access storage device.
Most popular storage medium for storage large data.
Its plastic ribbon which is ½ or ¼ inch wide and 50 to 2400 feet long.
It is coated with a magnetisable recording material.
In a magnetic tape data are recorded serially.
Information is recorded on the tape in the form of tiny invisible magnetized and non
magnetized spots.
The tape ribbon is itself stored in reels or small cassette.
Whenever we stored new data on the tape that contains old data the old data are
automatically erased and new data are recorded in the same area.
In older tape contains 7 tracks and they used 6-bit BCD code format for data
recording.
Morden magnetic tape contains 9 tracks & used 8-bit EBCDIC code format for data
recording.
There are various types of magnetic tape are used. Most commonly are:
o ½ inch tape reel
o ½ inch tape cartridge
o ¼ inch streamer tape
o 4 mm digital audio tape
Advantages:
o Large or unlimited storage capacity.
o Low cost.
o Light weight and compact in size.
o Copying of data is easy and fast.
o Possible to erase older data n store new data.
Disadvantages:
o Cannot be accessed directly because it’s a Sequential access device.
o Must be located in dust free environment otherwise it cause errors.
o Data are stored in coded form so cannot interpret or verify directly.
MAGNETIC TAPE
Directly access storage device.
It’s a thin circular plate that is made up with plastic material.
Plate is coated both side with magnetic material such as iron oxide.
Information is recorded on the tape in the form of tiny invisible magnetized and non
magnetized spots.
8-bit EBCDIC code is used for data recording.
Like magnetic tapes, magnetic disks are also erased & reuse.
The disk is divided into number of circles called tracks.
The tracks are further divided into sectors.
A sector typically contains 512 bytes.
storage capacity of disk =number of recording surface * number of track per surface *
number of sector per tracks * number of bytes per sectors
Two common types of magnetic disks are used widely.
o Floppy disks
o Hard disks
FLOPPY DISK
Floppy disks were introduced by IBM in 1972.
A floppy disk is a round, flat piece of flexible plastic which is coated with magnetic
oxide.
It is encased in square plastic cover that gives protection to the disk.
They are also referred as diskettes.
The data is read and write in floppy disk is using a device called FLOPPY DISC
DRIVE.
The long lit is provided for the read / writes head to access the disk.
A hub in the centre is used for mounting the disk drive.
A hole is used to sense index marking.
The floppy disks are available in two sizes.
o 5 ¼ inch (1.2 MB)
o 3 ½ inch (1.44 MB)
Advantages:
o Cheap in cost.
o Convenient offline storage for small computer users.
Disadvantages;
o Low storage capacity.
o A floppy disk drive device is required to use read/write data.
HARD DISK
Hard disks are most popular secondary storage device.
It supports the direct access of the data.
It’s a thin magnetic plate which is made of metal n both side coated with magnetic
material.
The disk is divided in many tracks & the data is store in both side of the disk.
The disk pack consists of multiple disk plates.
The disk drive pack has a separate read/write head for each disk surface.
The disk drive consists of motor to rotate the disk pack about its axis at a speed of
about 5400 revolution per minute.
The drive also has a set of magnetic heads mounted on arms.
The arm assembly is capable of moving in & out in radial direction.
The hard disk drive has become the most indispensable secondary storage device in
micro-computers.
It is fast and speeds of less than 10 (ms) milliseconds are achievable.
Storage capacity is large and it is not uncommon for micro-computers.
CD-ROM
CD-ROM (Compact Disk – Read Only Memory) is a non-erasable backing store
which can hold large amounts of data.
It’s a shiny silver colour metal disk of 5 ¼ inch and the storage capacity about 650
megabytes.
Large volume production is achieved by automated processes similar to that of
audio compact disks.
Many of today’s micro-computers come with CD-ROM readers and as a result,
CD-ROM is popularly used for distribution of software, digitized graphic images as
well as Multi-Media material.
Information is written on the disk surface by shining a laser beam.
As a disk rotates the laser beam traces out a continuous spiral.
It’s known as WORM (Write Once Read Many) disk technology.
The data can be read time and again but, once the data is stored, it cannot be erased
or changed.
Advantages:
o Cost per bit is Low.
o Need not have any mechanical read/write heads to read/write data.
o Compact in size.
o Light weight
Disadvantages:
o Read only storage medium.
o Slower access speed than magnetic disk.
DVD
DVD (Digital Versatile Disk) is optical disk storage.
Basically it is used for storing large amount of data including movies with high
video & sound quality.
Work on the same principle of CDROM.
Data is recorded on each layer so that the storage capacity is become large.
Total capacity of DVD is 8.5 GB
Advantages
o Larger capacity than CD.
Disadvantages:
o Expensive than CD.
o Damaged if not handled properly.
ZIP DISK
It’s a high capacity, removable magnetic disk which can be read or write by ZIP
drive.
It is similar to floppy disk except that much faster & larger capacity.
Zip disks are available in two size namely 100 megabytes & 250 megabytes.
Advantages:
o Easy to use
o Large capacity than floppy disk.
o Faster than floppy disk
o Easy to carry.
Disadvantages:
o Expensive
o Data transfer between drive & computer is slow.
PEN DRIVE
It consists of a small printed circuit board encased in a robust plastic or metal
casing.
It is easy to carry in pocket.
It uses standard-A type connection which allows it to directly connect with the
computer.
It contains following components:
Male type-A USB connector-provides an interface to computer.
USB mass storage controller- provides liner interface to block oriented serial
flash device.
NAND flash memory chip- stores data.
Crystal oscillator- controls device data.
ADVANTAGES:
o Portable in size.
o Can easily work with all new operating system.
o More reliable than floppy disk
DISADVANTAGES:
o Expensive than optical disk
o Do not provide protect mechanism.
EBCDIC
EBCDIC stands for Extended Binary Coded Decimal Interchange Code.
It uses 8 bits and can represent 256 distinct characters.
It also uses one extra parity bit for parity check.
The EBCDIC code is used in IBM mainframe models and other similar machines.
Electronic Circuits are available to transform characters from ASCII to EBCDIC
and vice-versa and can also be achieved using computer programs.
UNICODE
With the onset of globalization through Internet, there emerged a need to Cater for
data interchange of the more common languages of the different nationalities like
Chinese, Korea and Japanese.
ASCII, EBCDIC and other forms of representation proved insufficient.
The Unicode/ISO 10646 standard was devised to overcome this problem.
The 16 bits used by Unicode can represent 65536 symbols, one extra parity bit for
parity check, which is more than enough to represent all the worlds written
characters.
Although Unicode solves the problem of multi-language data representation, it is
not the perfect solution as there remain issues to be addressed.
Problems include the wastage of storage space, time needed for data transmission
and the lack of support of current operating systems.
Furthermore, Unicode does not guarantee a particular sort order.
Parity Check
A parity check is a technique to detect the correctness of characters transmitted.
For each character transmitted, a bit knows as the parity bit is added.
In an Even Parity System, a parity bit is added such that the total number of ‘1’s,
inclusive of the parity bit, is even.
In an Odd Parity System, the total number of ‘1’ bits transmitted must be odd.
The parity check is not fool proof. It will fail when an even number of bits were
incorrectly received.
This cannot be recognized by this system. That if they are incorrectly received or
not.
Introduction
A computer can only do what a programmer asks it to do.
To perform a particular task programmer writes a sequence, called the program.
An instruction command given to the computer to perform a certain specified
operation on the given data.
Now as we know only human languages and computer knows only machine
language, we need some media through which we can communicate with the
computer.
So we can complete our desired task. That media is Language.
Languages are tools human can use to communicate with the hardware of a
computer system.
Each language has a systematic method of using symbols of that language.
In English, this method is given by the rules of grammar.
Similarly, the symbols of particular one computer language must also be used as per
set of rules which are known as the “Syntax” of that language, the language which
you are using.
Computer Languages can be classified into three broad categories:
1. Machine language
2. Assembly languages
3. High-level languages
MACHINE LANGUAGE
Computer programs are written using many different computer Languages but the
language which is understood by the computer without translating program is called
machine language.
Machine language is normally written as string of binary 1s and 0s.
A machine language instruction has two part format.
OPCODE OPERAND
(OPERATION CODE) (ADDRESS)
The 1st part is the operation code which tells the computer what function to be
performed.
The 2nd part is the operand which tells the computer where to find & store data to
be manipulated.
So each instruction tells the computer what operation to perform & the length &
location of the data field which are involved in the operation.
Advantages
o Programs can be executed immediately upon completion because it doesn’t
require any translation.
o Now extra storage space is needed.
o Programmer has complete control over the performance of the hardware.
Disadvantage
o Tedious to program
o Difficult to program
o Difficult to modify
o Time consuming to code
o Error prone
o Operation codes have to be memorised
o Assignment of memory is done by programmer
o Time consuming for development
o Programs development are machine dependent
o Preparation of programs was slow and costly.
ASSEMBLY LANGUAGE.
Assembly language is a language which allows instruction & storage location to
be represented by letters & symbols, instead of number.
A program written in an assembly language is called assembly language program
or symbolic program.
Assembly language was introduced in 1952.
Machine language was tedious to code and errors were expected to arise in bulk.
To solve these problems mnemonic codes and symbolic addresses were developed.
It allows using alphanumeric mnemonic codes instead of numeric code for the
instructions in instruction set. For example using ADD instead of 1110 or 14 to
add.
The storage locations are to be represented in the form of alphanumeric addresses
instead of numeric address.
Format of assembly language is similar to machine language:
MNEMONIC CODE SYMBOLIC ADDRESS
Assembler
Assembler is a special program (translator) which translates symbolic operation
codes into machine codes, and symbolic address is addressed into an actual machine
address.
Advantage
o Easier to use, code and understand.
o Easier to correct error.
o Easier to modify.
o No worry about addresses.
o Easily relocatable.
o Efficiency of machine language.
o Can use Macros (Macro is a bunch of instruction referred as a single name)
Disadvantage
o Machine depended.
o Programs have to be translated before execution.
o Translation of programs takes up time.
o Knowledge of hardware is required.
o Additional storage area needed for the source programs and object code.
Examples of Assembly Language
o Microsoft Assembly Language (MASM), Turbo Assembler
Compiler
Compiler is a special program (translator) which translates high level programs into
machine codes.
Advantages:
o Machine independent.
o Easier to learn, use and understand.
o Easier to correct error.
o Easier to maintain.
o Less time & efforts.
o Easily relocatable.
o Program preparation cost is low.
o Few errors.
Disadvantages:
o Less flexible.
o Lower efficiency.
o Require more time & storage space.
ASSEMBLER
A computer can directly execute only machine language programs so the assembly
language program must be converted into its equivalent machine language program
before can be executed.
This translation is done with the help of a translator program which is known as
assembler.
Assembler is a special program (translator) which translates symbolic operation
codes into machine codes, and symbolic address is addressed into an actual machine
address.
As shown in figure that the input to assembler is the assembly language program
(source program) and the output is the machine language program (object program).
Assembler translates each assembly language instruction into equivalent machine
language instruction.
There is one to one correspondence between the assembly language instructions of
source program & the machine language instruction of its equivalent object
program.
In case of assembly language program the computer not only has to run the program
but also must first run assembler program to translate the original assembly
language program into machine language program.
So the computer has to spend more time in getting desired answer.
COMPILER
A computer can directly execute only machine language programs.
So the high level language program must be converted into its equivalent machine
language program before can be executed.
This translation is done with the help of a translator program which is known as
compiler.
A compiler is a translator program which translates a high level language program
into equivalent machine language program.
The process of translating is shown in below figure:
As shown in figure that the input to compiler is the high level language program
(source program) and the output is the machine language program (object program).
High level language instructions are macro instructions.
The compiler translates each high level language instruction into set of machine
language instructions rather than a single machine language instruction.
There is one to many correspondence between high level language instructions of
source program into equivalent object program.
During the translation the source program is only translates not executed.
A compiler can translates only those source programs which have written in the
language for which compiler is designed.
A compiler can also detect & indicates the syntax errors during the compilation
process but cannot able to detect logical errors.
INTERPRETER.
An interpreter is another type of translator which is used for translating program
written using high level languages.
It takes one statement of high level language, translates into machine language &
immediately executes the resulting machine language instructions.
The main difference between compiler & interpreter is that compiler can translates
the entire code but not involve in execution.
As shown in figure that the input to an interpreter is a source program & the output
is the result of an execution program.
Interpreter translates & executes a high level language program statement-by
statement.
A program statement is reinterpreted every time it is encountered during program
execution.
The main advantage of interpreter is that interpreter makes it easier & faster to
correct programs.
The main disadvantage is that interpreter is slower than compilers when running a
finished program.
OPERATING SYSTEM
An operating system is a software program that provides an interface between user
& the computer and manages thousands of applications.
It’s a collection of system software that co-ordinates between the hardware,
provides a platform for software to run on.
An operating system is an integrated set of programs that the resources (the CPU,
memory, I/O devices etc) of computer system & provides an interface to the user to
run the machine.
The main two primary objective of operating system are:
o Making a computer system convenient to use
o Managing the resources of a computer system
FUNCTION OF OPERATING SYSTEM
1. PROCESS MANAGEMENT
The process management of OS taking care about the creation & deletion of user &
system process, providing mechanism for process synchronization & process
communication.
2. MEMORY MANAGEMENT
The memory management of OS taking care about the allocation & deallocation of
memory space to the various programs in need of this resource.
3. FILE MANAGEMENT
The file management of OS is taking care about the file related activities such as
creation, storing, retrieving, naming, sharing & organization of files.
4. SECURITY
The security model of OS protects the resources & information of a computer
system against destruction & unauthorized access.
5. COMMAND INTERPRETATION
This model taking care of interpreting user commands & directing the system
resources to handle the requests.
SOFTWARE PACKAGES
DATABASE SOFTWARE
o A database is a collection of related data stored & treated as a unit for
information retrieval purpose.
o Database software is a set of one or more programs which enables us to create
a database, maintain it, and organize it.
GRAPHICS SOFTWARE:
o Graphic software enables you to use a computer system for creating, editing,
viewing, storing, retrieving and printing designs, drawings, pictures, graphs.
PERSONAL ASSITANCE SOFTWARE:
o It allows you to use personal computers for storing & retrieving your personal
information & planning & managing schedules, contacts, inventory &
important items.
PRESENTATION SOFTWARE:
o It allows you to provide the tools which help you to develop a presentation on
specific subject.
ANIMATION/VIDEO/SOUND PACKAGE:
o Provides the different kinds of application that allows you to generate
animation, watching or creating videos, playing or producing sound data.
ONLINE OPERATING SYSTEM
In an On-Line system, the terminal used by the operator is connected to the main
computer so that the operator can interact with the computer in a conversational
mode.
It is used in applications requiring fast response from the computer.
There are some benefits by allowing users to communicate with the computer on-
line.
Error checking can be performed by the computer when data entry is carried out.
The operator can be informed of the error so that immediate correction can be made.
On-Line queries can be performed to allow immediate retrieval of information.
The nature of on-line systems allows centralization of information, fast data
retrieval immediate file updates and improved customer services.
Limited validation checks at the terminal increases the accuracy of input.
However, the cost of implementation such a system is much more than the batch
system.
Furthermore, as the terminals may be located remotely from the main computer site,
security aspects of implementation must receive special considerations.
Aspects which should be incorporated are
o Security of access to facilities
o Security of data files
o Audit trial – maintaining a record of all actions that have been carried out to
any data
GIS
A GIS (Geographic Information System) is a tool that uses for the answer of the
geographic question
A GIS integrates hardware, software, and data for capturing, managing, analyzing,
and displaying all forms of geographically referenced information.
GIS allows us to view, understand, question, interpret, and visualize data in many
ways that reveal relationships, patterns, and trends in the form of maps, globes,
reports, and charts.
A GIS helps you answer questions and solve problems by looking at your data in a
way that is quickly understood and easily shared.
GIS technology can be integrated into any enterprise information system
framework.
By using GIS tool, user can arrange and display the data about places on the earth in
variety of ways including maps, charts and tables.
We can store, analyse and manage the data about places on the earth with the help
of GIS tool.
User can zoom in and out of maps, charts and tables freely and study in details.
By using GIS tool, we can create maps, charts and tables and also we can solve the
complicated problems and develop the effective solutions.
GIS allows automatic determination of the relationships between maps & can create
a new map of those relationships.
GIS allows the relating of multiple data bases using common geographic locations
and allows powerful analyses of widely disparate data.
COMPONENTS OF GIS
There are 5 types components of a GIS like
o Hardware
o Software
o Data
o People
o Method
GPS
GPS means Global Positioning System and it is a satellite based navigation system.
GIS is a system that can provide a position at any point on the Earth’s surface to a
very high degree of accuracy.
GPS provides the position information of the earth.
GPS is a system that measures the distances from the satellites that are in path
around the Earth.
By knowing the distance from the satellites, it is possible to calculate the position on
the Earth’s surface.
The satellite sends all the timing and position information to the receiver so the
receiver knows when the message was sent and also the receiver is able
To calculate the distance from the satellite about their position.
The satellite contains an atomic clock so that the satellite sends the timing
information to the receiver that is very accurate.
The satellite uses their own power through their solar panels and these extend to
about 17 feet and it provides 700 watts power.
Each satellite is in circular orbit around the earth and it sends the data on two
frequencies like L1 (1600 MHz) and L2 (1300 MHz).
A GPS (Global Positioning System) is the satellite-based system that provides
accurate information about position, speed and time of the earth.
There are 24 satellites in GPS that orbits the earth at a height of about 12000 miles.
Each of this satellite are constantly moving and making two complete orbits in less
than 24 hours.
The speed of satellite is 7000 miles per hour.
A GPS contains 3 types of segments like User, Control and Space.
User segment changes according to the requirements of application but
Control and Space segments do not change for all applications.
GPS APPLICATIONS:
o Navigation
o Agriculture
o Space Shuttle
o Tourism
o Air Traffic Control
o Surveying and mapping
o Remote sensing
o military
CDMA
CDMA stands for Code Division Multiple Accesses.
CDMA is a spread spectrum technology that allows many users to occupy the same
time & frequency allocations in a given space.
CDMA assigns unique codes to each user to differentiate it from other in the same
spectrum.
Its platform on which 2G & 3G advanced services are built.
The foremost application of CDMA technology is digital cellular phone technology
operating in 800MHz and 1.9HZ PCS bands.
After the speech the codec converts voice into digital, CDMA spread the voice
stream over the full 1.25MHz bandwidth of the CDMA channel, coding each stream
separately so it can be decoded at the receiving end.’
The rape of spreading signal is known as the ‘chip rate’ as each bit in the spreading
single is known as ‘chip’.
All voice conversations use the full bandwidth at the same time.
One bit from each conversation is multiplied into 128 bits by the spreading
techniques.
STANDARD OF CDMA:
There are number of standards that employs CDMA for instance, IS-95A, IS-
95B,CDMA-1 etc.
CDMA-1 describes a complete wireless system.
It represents the end-to-end wireless system and all the necessary specifications
that administer its operation.
CDMA provides a collection of related services including fixed wired, wireless
local loop and cellular within the personal communication services family
ADVANTAGES:
o Provides good quality & low power consumption
o Avoid interceptions.
o Require fewer cell sites than GSM
o This technology provides good resistance to fading problems.
GSM
GSM stands for Global System For Mobile communication.
GSM is the most popular standard for mobile phones in the world.
Its promoter, the GSM association, estimates that 80% of the global mobile market
uses the standard.
GSM is used by over 3 billion people across more than 212 countries.
Its ubiquity makes international roaming very common between mobile phone
operators, enabling subscribers to use their phones in many parts of the world.
GSM differs from its predecessors in both signalling & speech channels are digital
& thus it is considered as 2G mobile phone system.
The GSM standard has been an advantage to the both consumers and also network
operators.
GSM pioneered a low cost alternative to voice calls, the short message
service(SMS) which is now supported on other mobile standard as well.
Another advantage of GSM is that the standard includes one worldwide emergency
telephone number, 112.
This makes it easier for international travellers to connect to emergency services
without knowing the local emergency numbers.
There are 5 different cell sizes in a GSM network: macro, micro, pico, femto and
umbrella cells.
The coverage area of each cell varies according to the implementation environment.
COMMUNICATION DEVICES:
MODEM
Converting digital signal into analog is called modulation and the reverse process
that is converting analog signal into digital signals is called demodulation.
The word “MODEM” comes from the term modulation-demodulation
Computer can store & transmit data digitally while our telephone lines can transmit
data in analog signals.
When an analog facility is used for data communication between two digital
devices, two modems are required, one near each digital device.
The analog signal is transmitted through the telephone line which is converted into
digital by modem.
To connect a computer network that are at distant location by using telephone line
then modems must be used at both ends to do the modulation & demodulations.
The modem is an essential piece of hardware for any application in which two
digital devices want to communicate over an analog transmission channel.
Different capacity modems are available according to different data transfer rate.
INFRARED
Infrared are widely used for short-range communications.
Distance is about to only 1 meters range.
Remote controls used on television, VCRs and stereos all used in infrared
communications.
They are directional, cheap and easy to build but do not pass through solid objects.
Infrared is used for indoor wireless LANs.
Two types of infrareds given below:
o Point to point
Point to point systems requires direct alignment between devices.
Many laptop systems and PDAS use point-to-point transmission.
o Broadcast
Broadcast infrared transmissions use a spread signal.
One broadcast in all directions instead of a direct beam.
This help to reduce the problems of proper alignment & obstructions.
It allows multiple receivers of a signal.
BLUETOOTH
Bluetooth is the technology using short range radio links, intended to replace the
cables connecting portable/fixed electronic devices.
By using Bluetooth the users can have all mobile and fixed computer devices can be
totally coordinated.
The standard defines a uniform structure for a wide range of devices to
communicate with each other and minimal user efforts.
This technology offers wireless access to LANs, PSTN, the mobile phone network
and the internet.
Bluetooth technology use license-free 2.4GHz frequency band.
You can connect wireless device up to 10 meter.
The main advantage of Bluetooth is it can able to simultaneously handle both data
& voice transmissions.
Bluetooth is a radio based wireless technology which allows devices to share
information over a maximum range of 10 meters.
It enables computers, phones and the other peripherals to communicate with one
another without cables.
Provides more security, flexibility and less power consumptions.
ADVANTAGES:
o Less power consumptions.
o Enhances user’s experience.
o Voice conferencing & video clips on cell phone is possible.
o Connect devices without using cable.
WI-FI
Wi-Fi stands for wireless fidelity.
It is used to define any of the wireless technology in the IEEE 802.11.
It is useful to get internet access.
It’s a wireless way to handle networking.
It is also known as 802.11 networking or wireless networking.
It provides the facility to connect computers anywhere in your home office without
need of physical connection.
Wi-Fi allows connecting the computers within up to 100 feet area.
Wi-Fi network uses radio technologies called IEEE 802.11 which provides fast,
secure & reliable wireless connectivity.
Wi-Fi setup contains one or more access points & one or more clients.
The Wi-Fi standard leaves connection criteria & roaming totally open to the client.
Wi-Fi transmit in the air, it has some properties as a non-switched wired Ethernet
network therefore collisions can occur.
Wi-Fi cannot do collision detection.
Wi-Fi network can be used to connect computer to each other to the internet &
wired networks.
Wi-Fi networks operate in the unlicensed 2.4 and 5 GHZ radio bands.
ADVANTAGES:
o Allows LANs to be deployed without cabling.
o Allows you to connect any place within up to 100feet area.
o Contains one more access points and connect with one or more clients.
o Wi-Fi products are widely available in market.
DISADVANTAGES:
o Limited range.
o Power consumption is higher than Bluetooth.
o Wi-Fi devices do not have channels to avoid interference.
COMPUTE VIRUS
A computer virus is a program that can copy itself & infect a computer without
permission or knowledge of the user.
It’s a small piece of software that damages the real programs.
A virus can only spread from one computer to another when it host is taken to the
uninfected computer by internet or removable medium such as CD or USB.
In computers virus is a program that replicates to another program, computer boot
sector or document.
Virus can be transmitted as attachments to an e-mail or downloaded file or be
present on CD.
The virus is classified in main five types.
FILE INFECTORS
o It infects program files.
o Normally infect executable files such as .COM or .EXT files.
o Some virus can infect any program when the program is requested for
execution such as .SYS, .OVL, .PRG and .MNU files.
o Many of this virus are memory resident.
MULTI-PARTITE VIRUSES:
o Known as polypartite.
o They infect both boot records and program files.
o This virus is difficult to repair.
o If the boot area is cleaned, but the files are not than boot area infected again.
MACRO VIRUSES:
o These are the most common virus and they tend to do the least damage.
o These types of virus infect data files such as it can infect your word
document and insert unwanted words or phrases.
o Ex. W97M, Melissa
STEALTH VIRUSES:
o These viruses use certain techniques to avoid detection.
o They may either redirect disk head to read another sector instead of the one
which they are reside or alter the reading of infected files.