Hardware & Networking PDF
Hardware & Networking PDF
Chapter 1
Introduction to Computer
Introduction:
The term computer is derived from the word “compute”. Generally computer gives a impression that
it is calculating machine but computer will do several jobs other than computation.
The computer is a group of pieces both hardware and software put together to get a job done faster.
The principle behind the computer is Input-process-output.
Definition: computer is an electronic device that they take data as input process the data and
produces the information as output.
HISTORY/EVOLUTION OF COMPUTERS:
• Chinese invented calculating device called ABACUS. Abacus was the first computing
device which emerged 5000 years ago. It was invented in china. It is a rectangular wooden
frame with beads on parallel wires. Calculation like addition and subtraction are performed
by moving the beads of the frame.
• In 1617 John Napier invented a technology that allows multiplication to be performed via
addition. Napier also invented an alternative to tables where the logarithmic values were also
calculated on ivory sticks which are now called Napier sticks.
• In 1642 Blasie Pascal invented the first mechanical adding machine called “Pascaline”
which is limited for addition.
• In 1822 a professor of mathematics Charles Babbage invented the differential engine. It was
use to calculate various Mathematical functions and to perform differential equations.
• After working of 10 years Charles Babbage developed the analytical engine. It consists of
5 functional units such as Input unit, memory unit, control unit, arithmetic unit, output unit.
The modern computer looks like Analytical Engine hence Charles Babbage is known as
Father of Computer.
It was the First Commercial computer used for both scientific and Commercial
Applications. It is used First for business in 1954.
Computers are built from many components. The above block diagram illustrates different and main
components of the computer. They are
• Input unit
• CPU
• Control unit
Input unit:
A device that accepts the information from the user is called input unit. Its main function is accepts
data and information provided by the user and passes this information to the CPU. The input unit
basically links external world to the computer. A system may consists of one or more i/p devices
such as keyboard, mouse, OMR, OCR, light pen, joystick etc.
Computer Fundamentals VVFGC, Tumkur
It is the main part of the computer it is also called as brain/ heart of the computer. The function of
the CPU is interpret the instruction in the program and execute them one by one. It consists of 3
sub units. They are storage unit, control unit, ALU unit.
1. Control unit: it controls and directs the transverse of program instructions and data b/w
various units. The main activity of the CU is to maintain order and directs the operations of
the system. The overall activity of computer is controlled by CU.
2. ALU: it is the place where the actual execution of instructions takes place during the
processing operation. Arithmetic operation like addition, subtraction, multiplication and
division are done here. Logical operation like AND, OR, NOT are done in this unit.
3. Storage unit: it is called memory unit. It provides space to store data. There are two classes
of memory devices called primary memory and secondary memory. The storage capacity
is measured in terms of bytes.
Generation of Computers:
There are two types
1. Non Electronic Generations: these are also called Zero generation computers. They are
made up of wooden or mechanical computers. Ex: Abacus, Napier Device etc.
2. Electronic Generations: computer developed after First Electronic computer ENIAC are
classified into 5 Generations.
First Generation:-[1940-1956]
The first generation computers used vacuum tubes for circuitry and magnetic drums for
memory.
They came into existence in 1940.
They were very huge, very expensive to operate.
It consumed a lot of electricity, generate a lot of heat.
They used punched cards and magnetic tapes to I/P and O/P operations.
They are non portable and very slow equipments.
Ex: UNIVAC,ENIAC,EDVAC
Second Generation:-[1956-1963]
Transistors were used in second generation computers.
These computer provides high reliability
Higher level programming languages like COBOL and FORTRAN were used in these
machines
Magnetic disks became principle technology for secondary memory
This helped the computers to become smaller, faster and cheaper.
They had better portability and generates less heat.
Ex: IBM 7030
Third Generation:-[1964-1971]
Integrated circuits were used in third generation computers.
Production cost was very cheap.
They have high reliability and small in size, because IC and Silicon chips called
semiconductors were used.
They were used in weather forecasting , airline reservation etc
OS [operating System ] got introduced.
Some of the developments are UNIX, IBM 3060….
Fourth Generation:-[1971-PRESENT]
The microprocessor brought the fourth generation of computers.
Power consumption was very less.
Computers are portable and very cheaper.
Thousands of integrated circuits were built to form a single chip. so the computer become
more efficient and more reliable. Very large scale IC are used.
Networks became common place and whole world was connected by internet.
Developments are c++, Intel 4004, Ms-word, Ms-windows O.S
The development of super computers was the key motivation of 5th generation computers.
Fifth generation computers are based on artificial intelligence.
They are still in development.
The use of parallel processing and superconductors is helping to make artificial intelligence
a reality.
Computers develop with super large scale integration(SLSI)
PERIOD 1940-1956
1956-1963 1964-1971 1971-PRESENT TODAY -
FUTURE
INTEGRATE ARTIFICIAL
CIRCUITRY VACUUME TRANSISTOR D CIRCUITS MICROPROCESSOR(V INTELLIGN
TUBE LSI)
(IC) CE
PROCESSING
300IPS 300IPS 1MIPS FASTER THEN 3RD
SPEED
GENERATIO
N
-
PROGRAMMI
NG ASSEMBLY HIGH LEVEL
LANGAUGAE(FORT C, C++ C , C++ , JAVA
RAN , ALGOL) -
LANGAUAGE LANGUAGE
S
MEMORY SEMICONDUCTOR
SMALL &
LESS SPACE
ST CAN BE SMALL & USED IN -
COMPARE TO 1
SIZE VERY LARGE USED IN HOMES
GENERATION
HOMES
IBM
IBM 1401,IBM 360 PENTIUM SERIES ,
EXAMPLES 7094,CDC3600,D MULTIMEDIA,
UNIVAC,EDV SERIES,1900
CLASSIFICATION OF COMPUTERS
There are of 3 types
• Based on purpose
Based on
technology
• Based on speed and
size
BASED ON PURPOSE: divided into 2 types
1. General purpose: computers are designed to perform all the task. The computers that we seen in
college homes are general purpose computers.
2. Specific purpose: these computers are designed to handle a specific problem . these computers
are used for railway reservation, satellite tracking etc
BASED ON TECHNOLOGY: divided into 3 types
1. Analog: they operate by measuring physical units such as voltage, pressure, temp
etc….analog computers are used in scientific and engineering purpose. The output in the
form of graph.
3. Hybrid: hybrid computers are the combination of both analog and digital data for
processing. The robot is the best example.
BASED ON SPEED and SIZE: divided into 4 types
1. MICROCOMPUTERS.
2. MINICOMPUTERS.
3. MAINFRAMECOMPUTERS.
4. SUPERCOMPUTERS.
1. MICRO COMPUTERS: these are also called as pc‟s [personal computers]. One person
uses them at a time. Modern computers have a large input and output capabilities. It has
huge memory and processing speed. Microcomputers are classified in to2 type‟s desktops
and portables. The pc is called home computers or desktop computers.
Portables are small in size and they can be carried anywhere. They are divided in to laptops,
notebooks, palmtops, and wearable computers.
2. MINI COMPUTER: these are slightly bigger in size, memory and speed compare to
microcomputers. Minicomputers are multiuser system ie more than user can use the
computer system at a time. the cpu speed is 10 to 30 MIPS(million instructions per second).
The word length of this computer is 16 to 32 bits. In short these are called Minis
3. MAINFRAME COMPUTERS: these computers are larger than micros and minis and
occupy a room. These computers are connected with several micros and minis. The cpu
speed is more than MIPS. The word length is 32 to 64 bits .in short it is called as midis.
SUPERCOMPUTERS: these computers are designed for ultra-high performance task such as
weather forecasting, space research…..these computers are very expensive and stores 64 to96
bits.
Characteristic of Computers:
Computer solves the human problems very quickly as well as accurately. The important
characteristics of computer as follows:
a) Speed: The computer can process data very fast, computer can perform millions of
billions of operations on the data in one second. The computer generates signals during the
operation process therefore the speed of computer is usually measure in mega hertz(MHz)
or Giga hertz(GHz).
b) Accuracy: Computer gives accurate output result provided that the correct input data and
set of instruction are given to the computer.
For example: The computer can accurately give the result of division of any two numbers up
to 10 decimal places.
c) Diligence: A computer can continually work for hours without creating any error. It can
perform long and complex calculations with the same speed and accuracy from the start
till the end.
d) Storage Capability: Large volumes of data and information can be stored in the computer
and also retrieved whenever required. A limited amount of data can be stored, temporarily,
in the primary memory. Secondary storage devices like floppy disk and compact disk can
store a large amount of data permanently.
e) Versatility (Flexible): Computer is versatile in nature. It can perform different types of
tasks with the same ease. At one moment we can use the computer to prepare a letter
document and in next moment we can play music or print a document.
f) Reliability: The electronic components in modern computer have very low failure rate.
The modern computer can perform very complicated calculations without creating any
problem and produces consistent (reliable) results.
g) Retrieving data and programs: The data and programs stored on the storage media can
be retrieved very quickly for further processing.
h) Automation: A computer can automatically operations without interfering the user during
the operations. It also controls automatically different devices attached with the computer.
i) Communications: Computer can used to exchange messages or data through computer
networks over the world
j) Consistency: Computer can repeat actions consistency (again and again) without losing its
concentration:
To run a spell checker for checking spellings in a document.
To play multimedia animations for training purpose.
To deliver a lecture through computer in a class room. Etc
Applications of Computer:
b) Entertainment: The user can download and view movies, play games, chat , book ticket
for movies, use multimedia for making movies, incorporate visual and sound effects using
computers. Etc. The users can also listen to music, download and share music, create
music using computers, etc.
c) Sports: A computer can be used to watch a game, view the scores, improve the game,
play games and create games. They also used to purposes of training players.
d) Advertising: Computer is a powerful advertising media. Advertisement can be displayed
on different websites, electronic-mails can be sent and reviews of a product by different
customers can be posted.
i) Computers are also used to create an advertisement using the visual and sound
effects.
ii) Advertisement can be displayed on different websites, electronic-mails can be sent
and reviews of a product by different customers can be posted.
e) Medicine:
i) Medical researchers and practitioners use computers to access information about
the advances in medical research or take opinion of doctors globally.
ii) The medical history of patient is stored in the computers. iii) Computers are
also internal part of various kinds of equipment. Ex: ultrasound machine, CAT
scan machine, MRI scan machine.
iv) Computers also provide assistance to the medical surgeons during critical surgery
operations.
f) Science and Engineering:
i) Scientists and Engineers use computers for performing complex calculations for
making designing and making drawings(CAD/CAM applications) and also testing the
designs. ii) Computers are used for storing the complex data, Performing complex
calculation and visualizing 3D objects.
iii) Complex Scientific applications like the launch of rockets, satellite use computers. g)
Government :
i) Computers are used for the filling of income tax return, paying taxes , online
submission of water and electricity bills, for the access of land record details.
ii) Police department uses computers to search for criminals using fingerprint matching
etc.
h) Home: Computer has now become an internal part of home equipment.
i) At home, People use computer to play games, to maintain the home accounts, for
paying Bill, For communicating with friends and relatives via Internet, For education
and learning.
ii) Microprocessors embedded in house hold utilities like, washing machines, TVs, Home
theaters, Security devices etc.
Computer also use into area like banks, investments, stock trading, accounting, ticket
reservations, military operations, social networking, business organizations, book
publishing , web newspapers.
a) System Software
b) Application Software
a) System Software :
System software provides the instruction that the computer need to run. It contains the
direction to need to start up the computer(Known as boot process), checks to ensure that
everything is in good working order, and enables to interface with the computer and its
peripheral devices so that user can use them.
These are complex programs are developed and supplied by computer vendors. System
software consist mainly two types of programs:
i) Operating System ii)
Utility Programs
Other types are also available like. Language Translators (Compilers, Interpreters,
Assemblers), Linkers and Loaders, Editor programs etc.
i) Operating System :
The software that manages the resources of a computer system and schedule its
operations is called the operating systems. The operating system act as an interface
between the hardware and the user programs and control over execution of programs.
There are many tasks common to a variety of applications. Example of such task are
b) Application Software:
Application programs are specially prepared to do certain specific tasks. Application programs
are developed by programmers making use of system software to facilitate users. Most
commonly used application software is:
i) Industrial Automation
ii) Business Software iv)
Video games
v) Medical software vi)
Educational Software
Number system
• The value of the digit depends on the position in which they appear in the number
o The digits
o The position of digit in the number o The base
of the number
• Eg : 256 is a number
2 5 6 are digits
H T O
The 2 carries the most weight of the 3 number and referred as “most significant
digit (MSD)”
The 6 carries the least weight of three number & is called “least significant digit (
LSD)”
In this type each symbol represents a definite value irrespective of the position in which
they appear
Base or radix
The total number of different digits or symbols available in the number system is called
“base or radix”
Positional Number System
The positional number system are classified into four types they are
• Weight structure of this number system is …..104 103 102 101 100
• The symbols used in this system are 0,1 0 & 1 are called “bits”
• Bit is an abbreviation for a binary digit
• The radix or base of this number system is 2
• Weight structure of this number system is
4 3 2 1 0 -1 -2 -3
…..2 2 2 2 2 . 2 2 2 ……….
• The weights increases from right to left by a power of two for each bit
• The left most bit is the MSB & right most bit is the LSB
1 1 1 1 0 1 1 1 1 MSB
LSB
1st Position
3r
d 2nd
22 21 20 Positional Value
1 0 1 Digit Values
Octal number system
3 2 1 0 -1 -2 -3
……..8 8 8 8 . 8 8 8 …………
32 1 0 -1 -2 -3
…..16 16 16 16 . 16 16 16 ……..
Conversions
In this conversion the given decimal number is repeatedly divide by 2 for integer part
until the quotient is 0 and for fraction successively multiplying by 2
Eg: Convert 28.3125(10)---- (?)2
28.3125(10)= 1100.0101(2)
6 25 4 3 2 1 0
2 2 2 2 2 2 2-1 2-2 2-3 2-4
64 32 16 8 4 2 1 0.5 0.125 0.0625
0.25
Eg:1110.011(2)-- (?)10
3 2 1 0 -1 -2 -3
=1x2 +1x2 +1x2 +1x2 +0x2 +1x2 +1x2
=1x8+1x4+1x2+0x1+0x0.5+1x0.25+1x0.125
=8+4+2+0+0+0.25+0.125
1110.011(2)=14.375(10)
In this conversion the given decimal number is repeatedly divide by 8 for integer part
until the quotient is 0 and for fraction successively multiplying by 8
Eg: Convert 549.1325(10) ----- (?)(8)
4 3 2 1 0 8-1
8 8 8 8 8 8-2 8-3
4096 512 64 8 1 0.125 0.0156 0.00195
Eg: Convert 763.375(8) ---------- (?)(10)
2 1 0 -1 -2 -3
7x8 +6x8 +3x8 +3x8 +7x8 +5x8
7x64+6x8+3x1+3x0125+7x0.0156+5x0.00195
448+48+3+0.375+0.1092+0.00975
763.375(8) = 499.49395(10)
Octal Binary
0 000
1 001
2 010
3 011
4 100
5 101
6 110
7 111
Eg: 4632.51(8) -------- (?)2
4 6 3 2 5 1
100 110 011 010 101 001
4632.51(8) =100110011010101001(2)
1. The bits of the binary numbers are grouped into groups of 3 bits starting from
LSB for integer and from MSB for fraction
2. If the last group contains less than 3 bits then place 0 for those place
01111.1101011(2)->(?)8
1.
=>4.17.654(8)
In this conversion the given decimal number is repeatedly divide by 16 for integer part
until the quotient is 0 and for fraction successively multiplying by 16
Eg:Convert 512.625(16)----- (?)10
1. convert each digit of the Hexa decimal number to a 4 digit binary number
2. combine all the resulting binary groups into a single binary number
Eg: 10A4.FACE (16) ------ (?)2
1 0 A 4 . F A C E
2. If the last group contains less than 4 bits then place 0 for those place
3. Convert each group into a Hexa decimal equivalent digit Eg: 11100.01(2)=(?)16
1 C . 4
11100.01(2) = 1 C .4(16)
Binary arithmetic
Binary arithmetic consists of the operations such as addition, subtraction, multiplication, division
Binary addition
0+0=0
0+1=1
1+0=1
Eg: 128 64 32 16 8 4 2 1
64 0 1 0 0 0 0 0 0
0 0 1 0 0 0 0 0
0 1 1 0 0 0 0 0
Binary subtraction
0-0=0
1-0=1
1-1=0
This is the simple method of subtraction of bits according to the rules of binary subtraction
:1 0 0 1
-0 1 0 1
01 0 0
11 0 . 1 0 1 1 1 0
-0 1 0 . 0 0 0 1 0 1
1 0 0 . 1 0 1 0 0 1
10 1 1 . 0 0 1
-0 1 1 1 . 1 0 1
00 1 1 . 1 0 0
Binary multiplication
In this method the multiplicand is multiplied by each multiplier digit beginning with
the least significant digit. The result of the multiplication of the multiplicand by a
multiplier digit is called a “partial product”
1. Sign bit of multiplicand is 0 & sign bit of multiplier is 1.so the sign bit of product will be 1
Binary division
1. The sign of the quotient is determined depending on whether the signs of the
dividend and divisor are the same or different, the quotient is initialized to zero
2. The divisor is subtracted from the dividend using 2‟s complement addition so
as to get the first partial remainder. A 1 is added to the quotient is incremented by 1.if
this partial remainder is positive, we move on to the next step. If this partial remainder
is zero or negative, the division is complete
3. Subtract the divisor from the partial remainder and add 1 to the quotient. If the
result is positive, repeat for the next partial remainder. If the result is zero or negative,
the division is complete
Solution: 110)00101010(000111
000
101
000
1010
110
110
110
Input devices : are hardware devices which take information from the user of the computer system,
convert it into electrical signals and transmit it to the processor. The primary function of input
devices is to allow humans to interact with the computer system. For instance a mouse allows the
user to control the movement of the pointer (a common element in user interface design).
Following are some of the important Input Devices---
Keyboard
Mouse
Joy Stick
Scanner
Digitizer
Light Pen
Touch Screen
Barcode Scanner
Microphone
Magnetic Ink Card Reader(MICR)
Optical Character Reader(OCR)
Keyboard is an input device used to enter character and functions into a computer system by
pressing keys. It is the primary input device used to enter text. A keyboard typically contains
key for individual letter, numbers and special character. Computer keyboard has different
categories of keys as mentioned below.
Keys :
Functional keys :-
12 functional keys F0-F12 arranged at the top of the keyboard. Functions assigned to these keys
differ from one software package to another package.
Special keys :-
The key board also contains special purpose operational keys like print screen(ptrscr),Pause break,
page up, Page down, insert, home.
Lock keys:- Lock keys are present on the top left corner of the keypad .
Ex: caps lock, numlock , Scroll lock.
Direction Keys:- It helps to control the cursor movement on the screen it includes 4 arrows.
Numeric keypad :- The part of computer present at the right part of the main key board with
numbers.
Advantages.
It is the most primary input device used to enter text and also it allows the user to interact
with the system.
Entering the data and instruction with a keyboard is faster than pointing devices.
All computers are supplied with a keyboard.
Disadvantages
It is easy to make mistake when typing the data.
It takes time to practice to type quickly and accurately.
They are not suitable to create the diagrams.
Disabled people find difficult to create the diagrams.
Excessive use can lead to health problem.
Pointing devices
“A device with which you can control the movement of pointer to select item on the screen is known
as pointing device.”
A pointer is just a small symbol. It usually appears on the screen in a Graphical User Interface
(GUI) environment.
Important pointing devices are
Mouse
Track ball
Joystick
Touch screen
Touch pad
Light pen
Types of mouse
There are three types of mouse
Mechanical mouse
Opto-mechanical mouse
Optical mouse
Mechanical mouse
Mechanical mouse is a computer mouse it contains metal or a rubber ball.
When the ball is used in any direction then sensor inside the mouse detect the movement and
move the cursor on the screen.
Opto-Mechanical mouse
It contains the ball that rolls one of the wheels inside the mouse
Each wheel contains the circle of holes it allows the LED light to pass through it and the light is
detected by the sensor attached to it.
This mouse is more accurate than a mechanical mouse.
Optical Mouse
An optical mouse uses LED. optical sensor, DSP.
It has a camera it takes microscopic snaps .the movement is detected by the sensing in the
reflected light.
Advantages:
A mouse is user- friendly for computer beginner.
A mouse is easy and convenient to use with a Graphical User Interface.
Using Mouse one can select items or move to a position on the screen, is faster than using
keyboard.
Disadvantages:
It is not easy and convenient to input text with a mouse.
A mouse is not accurate enough for drawing that requires high precision.
A mouse usually requires a flat surface to operate.
Track ball
It is a pointing device consisting of a ball held by a socket.
Socket contains the sensors to detect the rotation of ball about two axes.
User can move a pointer using the finger ,It trolls the ball to direct the cursor
It does not require a smooth surface as a mouse.
It contains two buttons like a mouse
Joy stick
Joy stick is a cursor controlled handheld device.
It is having vertical rod mounted on the base with one or two buttons.
In mouse, cursor stops moving if mouse stop moving but in joystick it continues in the
direction to which it is pointing to.
The joystick used aircraft, military fast jets and video games.
Touch screen
It is a display device it can identify the occurrence and position of touch in the display
region.
It also uses the stylus, it is a pen shaped instrument used with graphics to touch the
screen.
The user can also interact with a finger or stylus it is so small so that it can fit into the
device.
The touch screen display are available on computer, laptops, PDA and mobile phone.
The touch screen monitors are an easy way of entering information into the computer.
Touch pad
Touch pad is small flat rectangular device with a sensitive pad.
It also contains the buttons around it.
When we move on the surface it just translates motion and the position of the finger
and plots it on the screen.
It is widely used in laptop with a built in keypad.
Light Pen
Light pen is pointing handheld device shaped like a pen is connected to a computer.
The tip of the light pen contains a light-sensitive elements which, when placed against the
screen, detects the light from the screen.
Light pen have the advantage to interact directly with the screen.
Optical devices
The device which uses a source of input to for recognizing the characters, marks ,codes
and images are called as optical device.
These devices convert these objects into digital data and send the computer for further
processing.
Using these devices manual entry of data is eliminated and it increases accuracy.
Barcode Reader
It is a electronic device used for reading bar code data is in the thin and dark lines.
It is generally used in labeling the goods, numbering the books.
Barcode reader scans the a barcode image converts it into alpha numeric values and it
is fed to the computer
It is made up of light source, photodiode and simple decoder.
Scanner
It is input device which work more like a photocopy machine.
It is used when some information is available on a paper and transformed to hard copy.
The scanner is used to input graphics information into the computer.
The scanner sweeps its sensors along the picture. As an image is built up a series of
pixels. Each pixel represents a tiny part of image.
Advantage:
Scanners can Convert photo graphs and flat document into electronic images.
Both color and black & white images can be created.
Extremely high resolution if required.
Relatively inexpensive compared to the digital camera.
Disadvantages:
Can not take 3D images.
Document has to fit on the glass.
Relatively slow compared to tasking a digital photograph.
Optical Mark Reader(OMR)
It is a special type of scanner used to recognize the type of mark made by pen or
pencil
It is used to select one out of the multiple data.
It is specifically used to check the answer sheet of examination.
When a beam of light is passed through the paper mark is identified by the amount of
light passed through the blank area and marked area.
Advantages:
A Fast method of inputting large data. Upto 10000 forms can read per hour depending
on the machine.
Only one computer needed to collect and process the data.
Digital camera
It is a handheld device or an easily portable device used to capture image or videos.
It will convert the captured images to the (0 and 1) and store it in the memory card.
It can be saved to the computer by connecting it to the cable. And it can be edited,
printed or transmitted.
Web camera
This device is used to monitor the event remotely.
It is used to capture video that can be transferred via internet in real time.
These are also used as an in built camera in laptops and it has a USB port to connect
it to computer.
It is very cheap because it is widely used in all areas with security.
OUTPUT DEVICES
Output is a process of translating the data in machine unreadable form to human readable
form.
Output device is a hardware device which used display the result of data processed.
Based on the type of output devices are divided into
Softcopy hardware device
Hardcopy hardware device.
Softcopy
It is stored in memory and it can be read by displaying it on the screen it is not touchable.
The device used to so view the softcopy is called as softcopy hardware device.
Ex: Monitor, Projector
Hardcopy
Output is generated by printing the document on the paper or any other surface
It is a physical entity any one can view it whenever they want.
Ex: Printer, Plotter.
MONITORS
The monitor is the piece of computer hardware that displays the video and graphics
information generated by the computer through the video card.
Monitors are very similar to televisions but usually display information at a much higher
resolution. Also unlike televisions, monitors are not usually mounted on a wall but instead
sit atop a desk.
A monitor is sometimes referred to as a screen, display, video display, video display
terminal, video display unit, or video screen.
A monitor is sometimes incorrectly referred to as the computer, as in the hardware within
the computer case, like the hard drive, video card
Emissive monitors: Emissive monitors are devices that convert electrical energy into light.
Example plasma panel and LED(Light emitting Diode) which uses an array of light emitting diode
as pixel in a video display.
Non-Emissive monitors: Non Emissive monitors uses optical effects to convert sunlight or light
from some other source into graphic patter.
Example is LCD. Primary use of LCD technology was in laptops. It has low power consumption,
light weight and smaller physical size of LCD.
PROJECTOR
Projector is a device that uses light and lens to take an image and project a magnified
image onto a larger screen or wall.
Projectors can magnify still or moving images depending on how they are built. The image
must be shone through a sealed tube or frame when passing through the lenses to maintain
focus.
The projector sends the lighted image through at least two lenses - one concave and one
convex - to focus the image and then magnify it out to the screen. Because it is several
lenses fused into one.
Projectors are mainly used in classrooms for education , in corporate boardrooms,
companies, home theatre setups to watch movie, in bars, clubs, pubs for entertainment.
PRINTER
It is an output device that takes the computer device and generates a hard copy of the
data.
Printers are classified into
a) Impact printers
b) Non Impact printers.
IMPACT PRINTERS
The printers which operates by striking print head on the ink ribbon and it resembles the type
writer. When ink ribbon is strike on paper it generates the character.
Impact Printer are: i) Daisy wheel printer
ii) Dot Matrix Printer
iii) Line Printer
Daisy wheel printer
Daisy wheel is a disk made up of metal on which the character stands out on the outer
edge.
Wheel is rotated and a character is facing towards the paper.
Hammer strikes on the ink ribbon which leaves the impression of character on paper.
It is a wheel in serial printer.
They are noisy and slow.
It can prints 10-75 characters per second.
Dot matrix printers
Dot matrix printer was first introduced in 1980’s
It contains the print head made up of 9 to 24 pins.
The pins strike the ribbon as a print mechanism and moves across the entire print lines in
both right and left direction.
24 pins printer has better quality compared to 9 pin printer.
It can print 100-600 characters per second.
It can also produce color prints.
Line printer
The printers which is used to print a single line at a time.
These printers can print 1000 to 6000 line per minute.
They are less costly and less harmful to environment and they are durable.
Drum, chain and band printer are called line at a time printer.
Advantage of line printer are physically more durable than laser printer and their
consumables are both less costly and less harmful to the environment.
Laser printer
It use the non impact photocopier ,when the document is sent to printer laser beam
draws the images on the selenium coated drum using electrical charges.
IBM introduced first Laser printer in the year 1975 to use with its mainframe
computer.
Laser printer do not use ink, they have less image smearing problems than inkjet
printer and able to print pages faster.
When drum is rolled on the tonner it is attracted by a charged image on the drum
The tonner is transferred to the paper it is fused on the paper. then excess charge and
tonner is removed.
It can print 600 dpi (dot per inches).
Inkjet printers
It is a type of printer that creates the images by propelling the ink on the paper.
Print head contains the nozzles or jets and it forms a character or image
If it is a black and white print it contains only black color.
This printer is mainly used to produce the color print by using basic color cyan, magenta,
and yellow.
It can print 300 dpi -600dpi (Dots per inch)
Inkjet printer is ideal for printing on rough, uneven and various other surface materials.
Thermal printers
Thermal printers use the heated pins to burn images on to heat sensitive paper.
These are mainly used as a fax machines.
It can print faster.
It can produce the low resolution prints.
These are very expensive
Bar code printers
This is a peripheral device which produces barcode labels.
This can uses either thermal or ink printers to print the barcode.
Plotter
It is a computer printer used to print the vector graphics.
This is used in computer aided design and the pen to plot the images.
A plotter gives a hardcopy of the output.
They are used to print the design of a ship, machines and plan for buildings.
Speaker
It receives the audio input from the computer and process the audio output in the form of
sound waves.
Analog speakers can amplify analog waves into sound waves.
Digital speaker can converts digital signal into analog signal and produces sound waves.
MODEM
Modem means modulator and demodulator.
Modem is initially used to connect phone line which allows us to send data or receive
data.
Modulator part of modem converts digital signal to analog signal.
Demodulator part of modem converts the analog signals to digital signals.
HEADSET
Headset with microphone.
It is a device that connects to a computer.
It is made up of head set with a single or double ear piece.
It allows the users to talk and listen.
BLUETOOTH
It is a set of protocols used to connect devices without a wire that exchange the
information.
It uses radio waves for secured connection.
It is used to connect smaller distance devices
The devices which can be connected to system via
Bluetooth are
a) Wireless headset.
b) Wireless keyboard.
c) Wireless mouse
d) Wireless headphone.
e) Media remotes.
f) Mobile phone.
DONGLE
It is a small handheld device which allows connecting a device to a broad band internet.
It can connect to a computer using the USB drive.
This acts as an alternative for NIC (network interface cards) for computer.
It is less expensive, more portable compared to bulkier dongles.
2. It uses pins hammers or wheel to strike 2. It uses laser, spray or heated pins to print on paper.
Print head.
3. It is very noisy because they strike print head. 3. It don’t make any noise.
5. It uses ink ribbon to print to print the character. 4. It uses tonner or cartridge to print character.
3. Classification of Memory
4. Cache memory
5. Primary Memory
The memory is divided into large number of small parts called cells.
Each location or cell has a unique address which varies from zero to memory
size minus one.
8 Bits = 1 Byte
16 Bits = 1 word
Classification of Memory:
Memory
Cache memory:
The cache memory increases the operating speed of a system. But it is must
costlier than main memory. The cache memory is placed in between CPU and main
memory. It is a very high semi conductor memory which can speed up CPU.
Cache memory acts a buffer between CPU and main memory and it is faster and
access time is much less compared to main memory.
The cache memory is an intermediate memory and not accessible by the user. It
holds those parts of data and program which are most frequently used by CPUs. It
store instruction and data which are to be immediate executed.
Advantage:
3. It stores the program that can be executed within a short period of time.
Disadvantage:
1. Cache memory has limited capacity.
2. It is very expensive.
Primary memory holds only those data and instructions on which computer is
currently working. It has limited capacity and data is lost when power is
switched off. It is generally made up of semiconductor device. These memories
are not as fast as registers. The data and instruction required to be processed
reside in main memory. It is divided into two subcategories RAM and ROM.
Semiconductor:
A semiconductor is a substance, usually a solid chemical element or
compound, that can conduct electricity under some conditions.
The memory from which we can only read but cannot write on it.
This type of memory is non-volatile.
ROM is used instruction and data to control the basic input and output
operation of a computer.
The information is stored permanently in such memories during manufacture.
A ROM, stores such instructions that are required to start a computer. This
operation is referred to as bootstrap.
ROM chips are not only used in the computer but also in other electronic
items like washing machine and microwave oven.
The user buys a blank PROM and enters the desired contents using a PROM
program, it remains there forever. If there is any error writing instruction and
data in PROM, the error can’t be erased.
Inside the PROM chip there are small fuses which are burnt open during
programming. It can be programmed only once and is not erasable.
To write data onto a PROM chip, we need special device called a PROM
programmer or PROM burner.
EPROM is initially blank. The user or manufacture can write programs or data
on it.
To expose it, we have to remove EPROM chip from its environment. Erasing
and rewriting will eventually render the chip useless. We can’t erase the
selected portion of data in it.
EEPROM is a special type of ROM, which can programmed and erased with
the help of electrical signal.
It can be erased and reprogrammed about ten thousand times. Both erasing and
programming take about 4 to 10 ms (milli second).
In EEPROM, any location can be selectively erased and programmed.
EEPROMs can be erased one byte at a time, rather than erasing the entire chip.
Hence, the process of re-programming is flexible but slow.
It is also written as E2PROM and pronounce as “Double-EPROM ” or simple
“C-Squared”.
Advantages of ROM:
Non-volatile in nature
Easy to test
• RAM is made of small memory chips that form a memory module known as
main memory.
• These module also known as physical memory, installed in the RAM slots of
the motherboard in computer. Main memory is available in every computer so,
it is also known as primary storage of a computer.
• Every time when open a program, its gets loaded from the hard drive into the
RAM.
• RAM takes a certain amount of time to read/write data, once the request has
been made by CPU, the time is called Access time and which should be
expressed in nanosecond.
• Any new data written to a location in the RAM overwrites the previous data.
• The access time is same for each memory location. RAM is divided into Static
RAM and Dynamic RAM.
Depending on the electronic component used and data transfer rate, RAM may be
classified into 3 types:
1. SDRAM
2. EDORAM
3. DDR Series
SD-RAM have single data rate. It can accept one command and transfer one
word of data per clock cycle.
SD-RAM have synchronous interface therefore they depend on the computer
clock signals to perform operations.
Speed of SD-RAM is 100- 133 MHz
With the help synchronous interface, SD-RAM has an internal finite state
machine that pipelines incoming instructions.
Pipelines are used to describe the process whereby the SD-RAM can accept a
new instruction before it has finished processing the previous one.
DDR Series:
computers. DDR SDRAM, also called DDR1 SDRAM, has been superseded by
DDR2 SDRAM, DDR3.
DDR1-RAM:
DDR1-RAM transfer data twice per clock cycle, hence the name double data
rate.
DDR1-RAM clock speeds range between 200-400MHz.
DDR1-200 transfers 1600 MB/s, while DDR1-400 transfers 3200MB/s.
DDR2-RAM:
DDR2-RAM stands for Double Data Rate 2 Random Access Memory.
DDR2 is twice as fast as DDR which means twice as much data is carried to
the module for each clock cycle.
DDR2 consumes less power as compared to DDR1 memory.
DDR2 speed ranges between 400-800MHz.
DDR2-400 transfers 3200MB/s. and DDR2-800 transfers 6400MB/s.
DDR3-RAM:
Secondary Memory:
Any additional storage used in computer other than primary memory may be
classified as secondary memory.
These devices are normally very slow compare to primary memory.
All the data required for processing as to be rooted through primary memory.
1. Magnetic Disk/Device:
b) 90 mm or 3 ½ inch:
The 90mm floppy or ‘micro floppy’ are use for storage medium for personal
computers.
This type of floppy is generally capable of storing between from 400k to 1.4MB of data.
The most common sizes for PCs are 720k (double density) and 1.44MB(high -density).
2. Hard Disk:
Hard disk is a type of magnetic disk (HD, HDD) used as data storage device.
The hard disk first introduced by IBM in 13th September 1956.
It consists of one or more platters inside of an air-sealed box.
Platters are electromagnetically charged surface or set of surfaces.
The platters are paired with magnetic heads arranged on a moving arm, which
read and write data to the platters surfaces.
There are thousands of tracks on each platter. Each track is divided into sectors.
A sector holds minimum 512 bytes of data.
Data is accessed in random-access manner.
A hard disk drive is a non-volatile memory.
Internal hard disk resides in drive bay which is connect to the motherboard
using an ATA, SCSI or SATA cable and are powered by a connection to the
power supply unit.
Characteristic of hard disk:
1) It provides large storage capacity.
2) It is much faster than floppy disks.
3) It is primary media for storing data and programs permanently.
2. It has more storage space and more 2. It has less storage space and less
expensive. expensive.
3. It’s access time is faster than floppy disk. 3. Its access time slower than hard disk.
4. Hard disk can transfer data faster than 4. Floppy disk can transfer data slower than
floppy. hard disk.
2. Optical Discs:
CD (Compact Disc)-ROM:
Optical drive use to read optical disc.
The ROM means here the data on the disc is read –only or can not be altered
or erased.
The standard compact disc is a disc made of clear polycarbonate plastic,
coated with a reflective material and a protective coat of clear lacquer.
Data is placed on the CD-ROM in the form of small pits recorded in a spiral
track, starting at the center at the center of the CD-ROM and working to the
outer edge.
It is used to store data in the form of text and graphics as well as hi-fi stereo
sound.
The data is permanent and can be read any number of times but can’t be
modified any single time.
CD-ROM could hold up to 700MB data.
In CD-ROM another type is CD-RW (CD-Rewritable), discs can be erased
and re-recorded just like a floppy or hard disk.
CD-RW disc can be read in CD-RW drives.
DVD-ROM:
DVD stands for Digital versatile Disc or Digital Video Disc.
It is type of optical disc able to store large amount of data (high resolution
audio visual material).
DVD is commonly used as medium for digital representation of movies and
other multimedia presentations that combine sound with graphics.
A DVD holds minimum of 4.7 GB of data.
Based on the usage and compatibility various DVDs are like DVD-RAM,
DVD+R, DVD +RW etc.
2. Magnetic disk is floppy and hard disk. 2. The optical disk are CD, DV-ROM etc.
2. These are semiconductor memories. 2.These are magnetic and optical memories
3. It is volatile memory. 3. It is non-volatile memory.
4. A computer can’t run without primary 4. The computer may run without
memory. secondary memory.
5. Primary storage is smaller in capacity. 5. Secondary storage is bigger in capacity.
6. It is usually faster and more expensive. 6. It is usually cheaper and larger.
7. It is closer to CPU, so it is faster. 7. It is connected to CPU via cables, so it is
slower.
8. Example: ROM , RAM etc. 8.Example: Hard Disk, Floppy Disk, CD-
ROM etc.
Features:
Portable: The lightweight and "micro" characteristics of a pen drive make it
possible to carry it from place to place.
Compatibility: advanced pen drive are compatible with any OS.
Transfer rate: varies b/w 5MBPS to 60 MBPS
2. Flash memory:
3. Smart Card:
A smart card, chip card, or integrated circuit card (ICC) is any pocket-sized
card that has embedded integrated circuits.
Smart cards can be either contact or contactless smart card. Smart cards can
provide personal identification, authentication, data storage, and application
processing.
Ability to store large amount of data, carry out their own on-card functions and
interact intelligently with a smart card reader.
4. Zip Card:
Zip drive is small, portable disk drive used primarily for backing up and
archiving personal computer files.
Zip drives and disk comes in two sizes.
Holds 100,431,872 bytes of data or equivalent of 70 floppy diskettes.
Utility program that are included within most of OS, provide the function like
file manager, image viewer, personal firewall, uninstaller, diagnostic utility,
backup utility.
Utility program are antivirus software, backup software and disk tools
Antivirus software:
A computer virus is a computer program that can cause damage to the
computer software, hardware or data.
It is referred to as a virus because it has the capability to replicate itself and
hide inside other computer files.
One of the most common ways to get virus is to download a file from the
internet.
Anti-virus software scans your online activity to make sure you are not
downloading infected files.
Disk tool:
It Include a range of different tools to mange hard disk drives & other storage
devices.
This include utilizes to scan the hard disk for any potential problems, such as
disk cleaners to remove any unnecessary files and disk defragmenters to re-
organize file fragment on a hard disk drive to increase performance.
Backup software:
It helps in the creation of backup of the files on your computer.
Backup software helps you copy the most important files to another storage
device, such as an external hard disk.
Backup software uses cloud storage to create backups.
Device Driver
A device driver is a program that controls a particular type of device that is
attached to your computer.
Device driver act as a translator between the OS of the computer & the device
connected to it.
When you plug in a device, the operating system starts looking for the right
driver, install it & you are ready to start using the device.
CHAPTER 4
Computer Organization and Architecture
Computer Architecture is the conceptual design and fundamental operation structure of a computer
system. Computer Organization encompasses all physical aspect of computer system.
CPU (Central Processing Unit)
Computers are built from many components. The below block diagram illustrates us the different
and main components of the computer. They are:
Input
Central Processing unit
Output Unit
Input Unit: In order to solve any problem, the computer needs to receive data and instruction.
Therefore, we need to input the data and instructions into the computers.
Input unit consist of one/more input devices such as keyboard, mouse, scanner, floppy disk drive
etc.
Functions:
Accept the data and instructions from the user.
Convert the data into machine language.
Supply the converted data to the computer for further process.
a) Control Unit:
The control unit that controls the flow of information through the processor and coordinates
the activities of the other units within it.
It is a brain within the brain”, as it controls what happens inside the processor.
Functions:
The control unit performs the tasks of fetching, decoding, managing execution and then stores
the result also.
Functions:
The Object-code specified operation to be perform
The send back the result to the memory and it indicate whether the operation is
successful or not.
Functions:
All data and instructions are stored here before or after processing.
Intermediate results of processing are also stored here
Output Unit:
It is used to communicate the result of data processing in an information processing system. Such
as CPU, which converts the electrically generated information into human-readable form?
Examples: Monitor, Printer, speakers etc.
Registers
Register is a storage device, which is used to stores the data temporarily.
It is very small-size and very fast memory.
Example: 8-it register means it can store 8-bit of data.
32-bit register means it can store 32-bit of data.
Instruction Register:
Instruction register is the part of a CPU’s Control Unit that holds the instructions currently being
executed.
A system bus is a single computer bus, that connects the major components of a computer system,
combining the function of a data bus to carry information, an address bus to determine where it
should be sent, and a control bus to determine its operation
System Bus Architecture:
System bus is a collective word to refer to all three buses that include address bus, data bus and
Control bus. CPU performs primarily four operations,
All these operation are part of the communication process b/w microprocessor unit (MPU) and
peripheral devices including memory.
Address Bus: The Address Bus is a group of 16 lines generally identified as A0 to A15. Address
Bus is unidirectional i.e., bits flow in one direction from CPU to peripheral devices.
Data Bus: Data Bus is group of 8 lines used for data flow. These lines are bidirectional i.e., data
flow in both the b/w CPU and memory/peripheral devices.
Control Bus: Control Bus is comprised of various single line that carry synchronization signals.
CPU uses these lines to provide timing or synchronization signals. CPU generates specific control
signal for every operation it performs.
Memory Unit
Computer employs many different types of memory to hold data and program. Each type has its
own characteristics and uses. They are: Register memory, Cache memory, Disk memory.
Register memory
Register are memories located within the CPU. They are few in number & also, small in
size. Register size is less than 64 bits.
Disk memory:
Disk memory is used to hold programs & data over a longer term. The content of a disk are
not lost if the power is turned off.
Capacity ranges 100GB- 1TB.
Access time is slower than main memory. Access time b/w 2-4 millisecond
Cache memory:
Cache memory also called as CPU memory, is a random access memory that a computer’s
microprocessor can access more quickly than accessing from RAM.
It is placed on separate chip that has a separate bus interconnect with CPU. The basic
purpose of cache memory is to store program instructions that are frequently being used.
Data is available temporarily.
Computer Layout
The basic parts of a computer are the computer case, monitor, Keyboard, Mouse and Power car.
Each part plays an important role when you use a computer
Computer case: The computer case is the metal and fiber (plastic) box that contains main
components of a computer such as motherboard, CPU, power supply and more
A desktop case (horizontal case, an older model) lies flat on a desk and the monitor usually sits on top
it. A tower case (vertical case, a present model) is tall and sits next to the monitor or on the floor
Switching power supplies have high efficiencies and are widely used in a variety of electron
equipment, including computers and other sensitive equipment stable and efficient power
supply.
SMPS converts the input AC voltage to DC Voltage. Supplies power to motherboard, HD,
floppy drive, fan etc.
Different cables are:
Advantage:
Small in size and lighter
It has a better power efficiency of 68% to 90%
SMPS has wide output range
High power density
Flexible Technology
Disadvantages:
Complex circuit design
Expensive compared to liner supply.
Motherboard
First motherboard is considered to be used in IBM personal computer, released in1981.
It was referred as backplane board, base board, main circuit board, planar board, system
board, or a logic board.
The base of a motherboard consists of a very firm sheet of non-conductive material, typically
some sort of rigid plastic.
Thin layers of copper or aluminum foil, referred to as traces, are printed onto this sheet.
These traces are very narrow and form the circuits between the various components. In
addition to circuits, a motherboard contains a number of sockets and slots to connect the
other components.
Components of motherboard:
Microprocessor
2. PS/2 Port
The PS/2 port is a 6-pin mini-DIN connector used by older computers for connecting input
devices such as keyboard and mouse.
Its name comes from the IBM Personal System/2 series of personal computers, with which it
was introduced in 1987.
PS/2 port designed to accept s specific input, the keyboard and mouse connections are clor
coded .
The keyboard port on the back of computer is often purple, while mouse port is usually green.
PS/2 port consists of one male PS/2 port and female PS/2 port.
4. Display Port
Display Port is a digital display interface
It has a capability to provide a scalable digital display interface with optical audio and High
Definition Content Protection (HDCP).
It can also be used to carry audio, USB and other form of data. Display port can be used to
connect the same device to multiple displays. It can carry HD quality video and audio
signals, high bandwidth Digital Content Protection (HDCP).
20 pins for external connections, 30/20 pins for internal connections on desktops, notebooks,
graphics card, monitor etc.
6. DVI port
DVI port used to transfer both analog and digital video signals. It offers better sharper
display, when compared to VGA
DVI created by DDWG Digital Display Working Group.
The maximum resolution potential depends on the equipment, though. Some cables and
hardware (called single-link) can only do 1,920x1,200, while others (dual-link) can do more.
If the display is analog, DVI connection converts digital signal to an analog signals. If the
display is digital, no conversion is needed.
The digital video interface supports high bandwidth signal, over 160 Hz.
There are three types of DVI connections:
DVI-A – designed for analog signals
DVI-D designed for digital signals
DVI-I – designed for both analog and digital signals.
7. Ribbon Cables
A cable for transmitting electronic signals consisting of several insulated wires connected
together to form a flat ribbon.
A thin, flat, multi- conductor cable that is widely used for internal peripheral connection in
electronic system.
A 40 wire cable connect the IDE(ATA) drive and an 80 wire cable is used for IDE hard disk.
These are the common ribbon cables used internally in a PC to connect hard disk, CD &
floppy.
Now ribbon cable is replaced by SATA and e-SATA
A single USB port can be used to connect up to 127 peripheral devices, such as mice, modems,
and keyboards.
USB 1.1 could transfer data up to 12 Mbps, USB 2.0(high speed USB) transmit 480 Mbps.
USB 2.0 transfers data at a 4.8 Gbps.
A socket for plugging in an audio source is a jack. These devices vary widely, including audio disc
player, audio mixer, musical instruments, additional microphone etc.
Stereo cards with just 2 audio channels will have only green (output) and pink jacks. A few sound
cards with 8 audio channels do not provide the gray connector.
Expansion Slots
Most computer have expansion slots on the motherboard that allow you to add various types of
expansion cards. These are sometimes called PCI(peripheral component interconnect) cards.
These cards after inserting into the slot may need the driver software to be installed with the
operating system to make the card work. PCI slot is the 32 bits bus running at clock speed 33 MHz
the maximum transfer speed of PCI bus is 133 MB/s
Below are some of the most common types of expansion cards.
Video card: it is responsible for what you see on the monitor. Most computer have a GPU (graphics
Processing Unit) built into the motherboard instead of having a separate video card. You can add
a faster video card to one of the expansion slots to get better performance.
Sound card: It is also called an audio card, responsible for what you hear on the speaker or
headphone. Most motherboard have integrated sound, but you can upgrade to a dedicated sound
card for higher quality sound.
Network card: it allows your computer to communicate over a network and to access over the
internet. It can either connect with an Ethernet cable or wireless communication.
TV Tuner card: it is a device you can use to connect an analog or digital TV signals to your
computer. Without a TV tuner, you cannot record Live TV in media center. TV tuner cards are
sometimes referred as PCI express bus or PCIbus Expansion card.
Chipset
A chipset is group of small circuits that coordinates the flow of data to and from a PC’s key
component.
A chipset also control data flow to and from hard disk and other device connected to the IDE
channels(Integrated Drive Electronic Channel)
2main Chipset: North Bridge and South Bridge (A Bridge is generally used to designate a
component which connects two Buses.)
North Bridge: also called Memory Controller, is in charge of controlling transfer b/w the
processor and RAM, hence it is locally present near processor.
South Bridge: also called as expansion controller handle communication b/w slower
peripheral devices. It is also called as ICH(I/O controller Hub)
CHAPTER 5
COMPUTER NETWORKS
Network: a group or system of interconnected people or things.
Networking: “It is a practice or process of linking two or more computing devices together for the
purpose of sharing data and resources”.
“Computer network is a system in which multiple computers are connected to each other to share
information and resources”.
Characteristics of a computer network
Share Resources from one computer to another
Create files and store them in one computer, access those files from the other computer(s)
connected over the network
Connect a printer, scanner, or a fax machine to one computer within the network and let
other computers of the network use the machines available over network.
Geographical span
Inter-connectivity
Administration
Architecture
Geographical Span
Geographically a network can be seen in one of the following categories:
It may be spanned across your table, among Bluetooth enabled devices,. Ranging not more
than few meters.
It may be spanned across a whole building, including intermediate devices to connect all
floors.
It may be spanned across a whole city.
It may be spanned across multiple cities or provinces.
It may be one network covering whole world.
Inter-Connectivity
Components of a network can be connected to each other differently in some fashion. By
connectedness we mean either logically,physically, or both ways.
Every single device can be connected to every other device on network, making the
network mesh.
All devices can be connected to a single medium but geographically disconnected, created
bus like structure.
Administration
From an administrator’s point of view, a network can be private network which belongs a single
autonomous system and cannot be accessed outside its physical or logical domain. A network can
be public which is accessed by all.
Network Architecture
Computer networks can be discriminated into various types such as Client-Server, peer-to-
peer or hybrid, depending upon its architecture.
There can be one or more systems acting as Server. Other being Client, requests the Server
to serve requests. Server takes and processes request on behalf of Clients.
Two systems can be connected Point-to-Point, or in back-to-back fashion. They both
reside at the same level and called peers.
There can be hybrid network which involves network architecture of both the above types.
1. File sharing
2. Printer sharing
3. Communication and collaboration
4. Remote access
5. Data protection.
Advantages of networking:
1) Resource sharing - Through a network, data, s/w and h/w resources can be shared irrespective of
the physical location of the resources and the user.
2) Reliability – A file can have its copies on two or more computers of the network.
3) Reduced Cost – Sharing resources reduces the cost
4) Fast Communication – Information can be exchanged at a very fast speed
5) Parallel computing
6) Video conferences
DATA AND INFORMATION
Data Representation
1. Text
2. Numbers
3. Images
4. Audio
5. Video
Data Representation:
Data refers to raw facts which on processing become an information. Information today comes in
different forms such as Text, numbers, pictures, audio and video which are represented in a specific
manner in order to transmit in data communication systems.
1) Text: Text is represented as a bit pattern, ie, sequence of 0’s and 1’s. different sets of bit
patterns(coding systems) are designed to represent text symbols.
1. Unicode: it is a universal code which uses a 32 bits to represent alphabets or symbols
2. ASCII: this refers to American Standard Code for Information Interchange which uses 7 bits to
represent characters or symbols
2) Number: Numbers are also represented by bit patterns. The number is directly converted to
a binary number.
3) Images: Images are also represented by bit patterns. Image is composed of matrix of pixels,
where each pixel is a small dot. The size of pixel depends on the resolution. Several methods
are used to represent color images for ex: RGB(Red, green, Blue) ,CMYK(cyan ,magenta,
yellow, black).The intensity of each color combination is measured and a bit pattern will be
assigned to it.
4) Audio: This type of data is in the form of sound which is recorded and broadcasted with
signals.
5) Video: The video data refers to recording or broadcasting of a picture or movie. Video can
be either a continuous or discrete with combination of pictures. We can change thie video
to digital or analog signal
1. Based on the direction, way the data can flow, Transmission can be classified into
Simplex communication
Half duplex Mode
Full duplex Mode
SIMPLEX Mode
In this mode, the communication is unidirectional
i.e., data flows only one direction from sender to receiver
Example:
Radio and Tv broadcasting
Data flow from keyboard to compute
1. Point-to-Point connection
2. Multipoint connection
3. Broadcasting
Point-To-Point Connection
It this type communication takes place between two end points or devices. In the case of voice
communication using telephone, there is one calling party and one called party. Hence the
communication is point-to-point
Multipoint Connection: It is also called Multi drop configuration. In this type there will be one
sender and more recipients. From sender data can be multicast to specific or dedicated user rather
sending to all.
Broadcasting: In this type there will be acentral location from which information is sent to all users
over the network. In a broadcasting system, all users (receivers) are passive there is no re verse
communication path with dedicated users
Types of Networks:
Depending on the distance covered the networks can be classified into three types as follows:
1. LAN
2. MAN
3. WAN
LAN uses either Ethernet or Token-ring technology. Ethernet is most widely employed LAN
technology and uses Star topology, while Token-ring is rarely seen.
LAN Topology: “The physical arrangements of computers in a network are called Topology”.
Types of topologies:
1. Bus
2. Star
3. Ring
4. Mesh
5. Tree
6. Hybrid
BUS Topology
In a bus topology, all the network devices are connected to single long cable called Bus.
A signal from the source is broadcasted to all the devices connected by bus by only the intended
device accepts it and other devices just ignore the signal
STAR Topology
In this type of topology, all the network devices are connected to a central controller called HUB
with a point-to-point connection
HUB acts like a junction to connect all the devices in a network
RING Topology
In this topology, all the network devices are connected to one another in the shape of closed ring
In this data is transmitted only in one direction from device to device.
MESH Topology
In this topology, every device is connected to every other device in a network with a point-to-
point connection
A fully connected mesh network has n (n-1)/2 link to connect n devices.
Every device on the network must have (n-1) input ports and (n-1) output ports
1. Partial Mesh Topology: In this topology, some of the systems are connected in the same
fashion as mesh topology but some devices are only connected to two or three devices.
2. Full Mesh Topology: Each and every nodes or devices are connected to each other.
1. It is robust and reliable means if one of the component fail there is always an alternative
present.
2. Data transfer rate is very fast
3. Fault identification is easily.
4. Failure of one node does not effects to the rest of thenetwork
TREE Topology
In tree topology, the number of start networks are connected using BUS. The main cable seems
like main steam and other start network are the branches
It is also called as the extended star topology
HYBRID Topology
1. Complex in design.
2. Costly.
CHAPTER 6
TRANSMISSION MEDIA AND NETWORK DEVICES
Transmission: the act or process of transmitting or Communication of data achieved by processing
of signals.
Media: that carries the message; plural "medium" refers to various means of communication. It is
also called as channel.
Transmission Media:
“Transmission media is a physical path by which a message travels from sender to receiver”
The characteristics and quality of data transmission can be determined based on by characteristics
of transmission media and signals.
1. Bandwidth: Data carrying capacity of a channel or a medium.
2. Radiation: It refers to leakage of signals due to undesirable characteristics.
3. Noise absorption: It refers to susceptibility of the media to external noise that can cause
distortion of signals
4. Attenuation: loss of energy or strength of a signal falls off. The amount of energy lost
depends on frequency.
It is the most common type of telecommunication when compared with Shielded Twisted Pair
Cable which consists of two conductors usually copper, each with its own colour plastic
insulator. Identification is the reason behind colored plastic insulation.
UTP cables consist of 2 or 4 pairs of twisted cable. Cable with 2 pair use RJ-11 connector and
4 pair cable useRJ-45 connector.
Advantages:
Installation is easy
Flexible
Cheap
It has high speed capacity,
100 meter limit
Higher grades of UTP are used in LAN technologies like Ethernet.
It consists of two insulating copper wires (1mm thick). The wires are twisted together in a helical
form to reduce electrical interference from similar pair.
Disadvantages :
It has same attenuation as unshielded twisted pair. It is faster the unshielded and coaxial cable. It is
more expensive than coaxial and unshielded twisted pair.
Advantages :
Easy to install
Performance is adequate
Eliminates crosstalk
Disadvantages :
Difficult to manufacture
Heavy
Coaxial Cable
Coaxial cable has a single copper conductor at its center, used to connect computers in a
network.
A plastic layer provides insulation between the copper conductor and copper mesh
Carries signal of higher frequency ranges than twisted-pair cable.
Baseband
This is a 50 ohm (Ω) coaxial cable which is used for digital transmission. It is mostly used for
LAN’s. Baseband transmits a single signal at a time with very high speed. The major drawback is
that it needs amplification after every 1000 feet.
Broadband
This uses analog transmission on standard cable television cabling. It transmits several
simultaneous signal using different frequencies. It covers large area when compared with Baseband
Coaxial Cable.
Applications:
T V distribution
long distance telephone transmission
LAN
Advantages:
Bandwidth is high
Used in long distance telephone lines.
Transmits digital signals at a very high rate of 10Mbps.
Much higher noise immunity
Data transmission without distortion.
The can span to longer distance at higher speeds as they have better shielding when compared
to twisted pair cable
Disadvantages:
Refraction
WDM (Wavelength Division Multiplexing) is used to carry several information streams
simultaneously.
Modes: The paths in which a light ray can follow when travelling down a fiber is known as
modes.On the basis of mode optical fibre can be classified into
1.Single mode: cable is single strand of glass fiber with a diameter of 8.3 to 10 microns that has
one mode of transmission
2. Multimode: cable is made up of glass fibers, with a common diameters of 50 to 100 micron
range of light carrying component(most common is 62.5).
Advantages :
Disadvantages :
It is expensive
Difficult to install.
Maintenance is expensive and difficult.
Do not allow complete routing of light signals.
• Omni-directional
Microwaves
Microwave technology was developed during world war II in connection with Secret military radar
research. It is used for transmission of information because of its longer wavelengths which ranges
from cm to microns. Microwaves uses line of sight in order to work properly and transmitted
through space. The line of sight means the data signals can only travel in straight line and cannot
bend.
Based on how far signal travels wireless communication can be classified into
Short range:( (5cm – 50 m) Bluetooth , infrared
Medium range: (50m-500m) wifi , wimax
Wide range: (>500m) cellular communications
The microwave communication has two types:
1. Terrestrial Links
2. Satellite links
• geostationary satellites
– travel around the earth in exactly the time the earth takes to rotate
Radio waves:
Radio waves are a type of electromagnetic radiations whose frequency are easy to generate and the
wavelength is more so that can travel long distances and can penetrate buildings and other media.
2. Repeater
A repeater is an electronic device that receives a signal and retransmits it.
Repeaters are used to extend transmissions so that the signal can cover longer distances
or be received on the other side of an obstruction.
It works at OSI physical layer consist of two ports . It receives the signal through one
port and retransmit the signal with other port
3. HUB
a hub refers to a hardware device that enables multiple devices or connections to be
connected to a computer.ie broadcasting without filtering the data.
HUB forwards the message which it receives to all the devices which are connected
except the device which sent.
Also called multiport repeater, Ethernet hub, repeater hub, active hub, network hub.
TYPES OF HUB:
Active Hub : it can regenerate the information signal. upgrade the signal before sending
to the destination.
Passive Hub : like a simple bridge. it receives signal and forwards it.
Intelligence HUB: performs both active Hubs and passive hubs
4. Bridge
A bridge is a type of computer network device that provides interconnection with other
bridge networks that use the same protocol.
Bridge devices work at the data link layer of the Open System Interconnect (OSI) model,
connecting two different networks together and providing communication between
them.
In bridge no specific relationship, so messages are sent out to every addresses and accept
by destination.
Only one incoming port and one outgoing port
5. Switch
In networks, a device that filters and forwards packets between LAN segments.
Switches operate at the data link layer (layer 2) and sometimes the network
layer (layer 3) of the OSI Reference Model and therefore support any packet
protocol.
It can also perform the task of router , it can receive data packets and successfully
forward them to their destination IP
Multiple data cables plugged in to switch to enable communications between
different network devices.
6. Router
A router is a device that forward data packets along networks.
A router is connected to at least two networks, commonly two LANs or WANs or
a LAN and its ISP's network.
Routers are located at gateways, the places where two or more networks connect.
Routers use headers and forwarding tables to determine the best path for forwarding
packets.
A router is quite common to be found in homes and business.
7. Gateway
A gateway is a network point/node that acts as an entrance to another type of
networks.
Computers that control traffic within your companies network called gateway
nodes.
Gateway is considered as edge of the network as all data must flow through
it .
A computer server acts as a gateway node also acts as proxy server and firewall
server.
8. Modem:
one or more carrier wave signals to encode digital information for transmission and
A common type of modem is one that turns the digital data of a computer into
modulated electrical signal for transmission over telephone lines and demodulated
Internal Modem - Modem that connects to a PCI slot inside a newer desktop
computer or ISA slot on an older computer. The Internal Modem shown at the
External Modem - Modem within a box that connects to the computer externally,
usually the Serial Ports or USB port. The picture is an example of an external US
Robotics Modem.
Functions:
1. Error connection
2. Compressing the data
3. Flow control
Reference model
It is a conceptual standard layout that describes how communication occurs between devices.
NETWORK TERMINOLOGIES:
ISO
ISO stands for International organization of Standardization. This is called a model for Open
System Interconnection (OSI) and is commonly known as OSI model.
The ISO-OSI model is a seven layer architecture. It defines seven layers or levels in a complete
communication system.
It provides the interface between all network aware applications and network services.
File transfer
Remote database system
E-mail services
Directory services
Remote file access
It is a network translator, which translates the data from system specific format to common format
at the sender side and retranslate common format to system specific format at receiver side
Data conversion
It is a network dialogue controller, which provides a mechanism for opening a connection between
two devices, managing the conversation between them and closing the connection
Session management
Synchronization
It is responsible for Reliable delivery of entire message from a specific process running on sender
to a specific process running on receiver
It is responsible for source to destination delivery of each pocket from one network to another
network
Logical addressing
Routing
Source to destination delivery
Internetworking
It is responsible for error free transfer of data frames from one node to another node over the
physical layer
Framing
Flow control
Error control
Physical addressing
It co-ordinates the function required to transmit a bit of stream over a physical medium
(transmission medium)
TCP/IP
It provides the interface between all network aware applications and network services.
2. FTP (File Transfer Protocol) It responsible for transferring the files from one computer to
3. SMTP (Simple Mail Transport Protocol) it responsible for sending and receiving email
messages.
4. DNS (Domain Name Server) it is responsible for transferring domain name and IP-address.
2. In OSI model the transport layer 2. In TCP/IP model the transport layer
technology changes.
interfaces and protocols very clearly protocols are not clearly separated. It is
9. Classification of Memory
The memory is divided into large number of small parts called cells.
Each location or cell has a unique address which varies from zero to memory
size minus one.
A bit(smallest unit of data ) is single data that can take a value either o and 1.
A group of 8 bits make 1 byte. A byte is known as the smallest unit of memory
because to store any information in the memory, minimum of 8 bits is required.
Each byte in memory has unique address and known as a memory cell or block.
8 Bits = 1 Byte
16 Bits = 1 word
Classification of Memory:
Memory
Cache memory:
The cache memory increases the operating speed of a system. But it is must
costlier than main memory. The cache memory is placed in between CPU and main
memory. It is a very high semi conductor memory which can speed up CPU.
Cache memory acts a buffer between CPU and main memory and it is faster and
access time is much less compared to main memory.
The cache memory is an intermediate memory and not accessible by the user. It
holds those parts of data and program which are most frequently used by CPUs. It
store instruction and data which are to be immediate executed.
Advantage:
7. It stores the program that can be executed within a short period of time.
Disadvantage:
3. Cache memory has limited capacity.
4. It is very expensive.
Primary memory holds only those data and instructions on which computer is
currently working. It has limited capacity and data is lost when power is
switched off. It is generally made up of semiconductor device. These memories
are not as fast as registers. The data and instruction required to be processed
reside in main memory. It is divided into two subcategories RAM and ROM.
Semiconductor:
A semiconductor is a substance, usually a solid chemical element or
compound, that can conduct electricity under some conditions.
The memory from which we can only read but cannot write on it.
This type of memory is non-volatile.
ROM is used instruction and data to control the basic input and output
operation of a computer.
The information is stored permanently in such memories during manufacture.
A ROM, stores such instructions that are required to start a computer. This
operation is referred to as bootstrap.
ROM chips are not only used in the computer but also in other electronic
items like washing machine and microwave oven.
The user buys a blank PROM and enters the desired contents using a PROM
program, it remains there forever. If there is any error writing instruction and
data in PROM, the error can’t be erased.
Inside the PROM chip there are small fuses which are burnt open during
programming. It can be programmed only once and is not erasable.
To write data onto a PROM chip, we need special device called a PROM
programmer or PROM burner.
EPROM is initially blank. The user or manufacture can write programs or data
on it.
To expose it, we have to remove EPROM chip from its environment. Erasing
and rewriting will eventually render the chip useless. We can’t erase the
selected portion of data in it.
EEPROM is a special type of ROM, which can programmed and erased with
the help of electrical signal.
It can be erased and reprogrammed about ten thousand times. Both erasing and
programming take about 4 to 10 ms (milli second).
In EEPROM, any location can be selectively erased and programmed.
EEPROMs can be erased one byte at a time, rather than erasing the entire chip.
Hence, the process of re-programming is flexible but slow.
It is also written as E2PROM and pronounce as “Double-EPROM ” or simple
“C-Squared”.
Advantages of ROM:
Non-volatile in nature
Easy to test
• RAM is made of small memory chips that form a memory module known as
main memory.
• These module also known as physical memory, installed in the RAM slots of
the motherboard in computer. Main memory is available in every computer so,
it is also known as primary storage of a computer.
• Every time when open a program, its gets loaded from the hard drive into the
RAM.
• RAM takes a certain amount of time to read/write data, once the request has
been made by CPU, the time is called Access time and which should be
expressed in nanosecond.
• Any new data written to a location in the RAM overwrites the previous data.
• The access time is same for each memory location. RAM is divided into Static
RAM and Dynamic RAM.
Depending on the electronic component used and data transfer rate, RAM may be
classified into 3 types:
4. SDRAM
5. EDORAM
6. DDR Series
SD-RAM have single data rate. It can accept one command and transfer one
word of data per clock cycle.
SD-RAM have synchronous interface therefore they depend on the computer
clock signals to perform operations.
Speed of SD-RAM is 100- 133 MHz
With the help synchronous interface, SD-RAM has an internal finite state
machine that pipelines incoming instructions.
Pipelines are used to describe the process whereby the SD-RAM can accept a
new instruction before it has finished processing the previous one.
DDR Series:
computers. DDR SDRAM, also called DDR1 SDRAM, has been superseded by
DDR2 SDRAM, DDR3.
DDR1-RAM:
DDR1-RAM transfer data twice per clock cycle, hence the name double data
rate.
DDR1-RAM clock speeds range between 200-400MHz.
DDR1-200 transfers 1600 MB/s, while DDR1-400 transfers 3200MB/s.
DDR2-RAM:
DDR2-RAM stands for Double Data Rate 2 Random Access Memory.
DDR2 is twice as fast as DDR which means twice as much data is carried to
the module for each clock cycle.
DDR2 consumes less power as compared to DDR1 memory.
DDR2 speed ranges between 400-800MHz.
DDR2-400 transfers 3200MB/s. and DDR2-800 transfers 6400MB/s.
DDR3-RAM:
Secondary Memory:
Any additional storage used in computer other than primary memory may be
classified as secondary memory.
These devices are normally very slow compare to primary memory.
All the data required for processing as to be rooted through primary memory.
3. Magnetic Disk/Device:
b) 90 mm or 3 ½ inch:
The 90mm floppy or ‘micro floppy’ are use for storage medium for personal
computers.
This type of floppy is generally capable of storing between from 400k to 1.4MB of data.
The most common sizes for PCs are 720k (double density) and 1.44MB(high -density).
2. Hard Disk:
Hard disk is a type of magnetic disk (HD, HDD) used as data storage device.
The hard disk first introduced by IBM in 13th September 1956.
It consists of one or more platters inside of an air-sealed box.
Platters are electromagnetically charged surface or set of surfaces.
The platters are paired with magnetic heads arranged on a moving arm, which
read and write data to the platters surfaces.
There are thousands of tracks on each platter. Each track is divided into sectors.
A sector holds minimum 512 bytes of data.
Data is accessed in random-access manner.
A hard disk drive is a non-volatile memory.
Internal hard disk resides in drive bay which is connect to the motherboard
using an ATA, SCSI or SATA cable and are powered by a connection to the
power supply unit.
Characteristic of hard disk:
1) It provides large storage capacity.
2) It is much faster than floppy disks.
3) It is primary media for storing data and programs permanently.
2. It has more storage space and more 2. It has less storage space and less
expensive. expensive.
3. It’s access time is faster than floppy disk. 3. Its access time slower than hard disk.
4. Hard disk can transfer data faster than 4. Floppy disk can transfer data slower than
floppy. hard disk.
4. Optical Discs:
CD (Compact Disc)-ROM:
Optical drive use to read optical disc.
The ROM means here the data on the disc is read –only or can not be altered
or erased.
The standard compact disc is a disc made of clear polycarbonate plastic,
coated with a reflective material and a protective coat of clear lacquer.
Data is placed on the CD-ROM in the form of small pits recorded in a spiral
track, starting at the center at the center of the CD-ROM and working to the
outer edge.
It is used to store data in the form of text and graphics as well as hi-fi stereo
sound.
The data is permanent and can be read any number of times but can’t be
modified any single time.
CD-ROM could hold up to 700MB data.
In CD-ROM another type is CD-RW (CD-Rewritable), discs can be erased
and re-recorded just like a floppy or hard disk.
CD-RW disc can be read in CD-RW drives.
DVD-ROM:
DVD stands for Digital versatile Disc or Digital Video Disc.
It is type of optical disc able to store large amount of data (high resolution
audio visual material).
DVD is commonly used as medium for digital representation of movies and
other multimedia presentations that combine sound with graphics.
A DVD holds minimum of 4.7 GB of data.
Based on the usage and compatibility various DVDs are like DVD-RAM,
DVD+R, DVD +RW etc.
2. Magnetic disk is floppy and hard disk. 2. The optical disk are CD, DV-ROM etc.
2. These are semiconductor memories. 2.These are magnetic and optical memories
3. It is volatile memory. 3. It is non-volatile memory.
4. A computer can’t run without primary 4. The computer may run without
memory. secondary memory.
5. Primary storage is smaller in capacity. 5. Secondary storage is bigger in capacity.
6. It is usually faster and more expensive. 6. It is usually cheaper and larger.
7. It is closer to CPU, so it is faster. 7. It is connected to CPU via cables, so it is
slower.
8. Example: ROM , RAM etc. 8.Example: Hard Disk, Floppy Disk, CD-
ROM etc.
Features:
Portable: The lightweight and "micro" characteristics of a pen drive make it
possible to carry it from place to place.
Compatibility: advanced pen drive are compatible with any OS.
Transfer rate: varies b/w 5MBPS to 60 MBPS
6. Flash memory:
7. Smart Card:
A smart card, chip card, or integrated circuit card (ICC) is any pocket-sized
card that has embedded integrated circuits.
Smart cards can be either contact or contactless smart card. Smart cards can
provide personal identification, authentication, data storage, and application
processing.
Ability to store large amount of data, carry out their own on-card functions and
interact intelligently with a smart card reader.
8. Zip Card:
Zip drive is small, portable disk drive used primarily for backing up and
archiving personal computer files.
Zip drives and disk comes in two sizes.
Holds 100,431,872 bytes of data or equivalent of 70 floppy diskettes.
Utility program that are included within most of OS, provide the function like
file manager, image viewer, personal firewall, uninstaller, diagnostic utility,
backup utility.
Utility program are antivirus software, backup software and disk tools
Antivirus software:
A computer virus is a computer program that can cause damage to the
computer software, hardware or data.
It is referred to as a virus because it has the capability to replicate itself and
hide inside other computer files.
One of the most common ways to get virus is to download a file from the
internet.
Anti-virus software scans your online activity to make sure you are not
downloading infected files.
Disk tool:
It Include a range of different tools to mange hard disk drives & other storage
devices.
This include utilizes to scan the hard disk for any potential problems, such as
disk cleaners to remove any unnecessary files and disk defragmenters to re-
organize file fragment on a hard disk drive to increase performance.
Backup software:
It helps in the creation of backup of the files on your computer.
Backup software helps you copy the most important files to another storage
device, such as an external hard disk.
Backup software uses cloud storage to create backups.
Device Driver
A device driver is a program that controls a particular type of device that is
attached to your computer.
Device driver act as a translator between the OS of the computer & the device
connected to it.
When you plug in a device, the operating system starts looking for the right
driver, install it & you are ready to start using the device.
Chapter-4
Computer Organization and Architecture
Computer Architecture is the conceptual design and fundamental operation structure of a computer
system. Computer Organization encompasses all physical aspect of computer system.
CPU (Central Processing Unit)
Computers are built from many components. The below block diagram illustrates us the different
and main components of the computer. They are:
Input
Central Processing unit
Output Unit
Input Unit: In order to solve any problem, the computer needs to receive data and instruction.
Therefore, we need to input the data and instructions into the computers.
Input unit consist of one/more input devices such as keyboard, mouse, scanner, floppy disk drive
etc.
Functions:
Accept the data and instructions from the user.
Convert the data into machine language.
Supply the converted data to the computer for further process.
d) Control Unit:
The control unit that controls the flow of information through the processor and coordinates
the activities of the other units within it.
It is a brain within the brain”, as it controls what happens inside the processor.
Functions:
The control unit performs the tasks of fetching, decoding, managing execution and then stores
the result also.
Functions:
The Object-code specified operation to be perform
The send back the result to the memory and it indicate whether the operation is
successful or not.
Functions:
All data and instructions are stored here before or after processing.
Intermediate results of processing are also stored here
Output Unit:
It is used to communicate the result of data processing in an information processing system. Such
as CPU, which converts the electrically generated information into human-readable form?
Examples: Monitor, Printer, speakers etc.
Registers
Register is a storage device, which is used to stores the data temporarily.
It is very small-size and very fast memory.
Example: 8-it register means it can store 8-bit of data.
Instruction Register:
Instruction register is the part of a CPU’s Control Unit that holds the instructions currently being
executed.
All these operation are part of the communication process b/w microprocessor unit (MPU) and
peripheral devices including memory.
Address Bus: The Address Bus is a group of 16 lines generally identified as A0 to A15. Address
Bus is unidirectional i.e., bits flow in one direction from CPU to peripheral devices.
Data Bus: Data Bus is group of 8 lines used for data flow. These lines are bidirectional i.e., data
flow in both the b/w CPU and memory/peripheral devices.
Control Bus: Control Bus is comprised of various single line that carry synchronization signals.
CPU uses these lines to provide timing or synchronization signals. CPU generates specific control
signal for every operation it performs.
Memory Unit
Computer employs many different types of memory to hold data and program. Each type has its
own characteristics and uses. They are: Register memory, Cache memory, Disk memory.
Register memory
Register are memories located within the CPU. They are few in number & also, small in
size. Register size is less than 64 bits.
The content of Register can read and write very quickly.
Register memory are faster than main memory. Register memory stores data temporarily.
Disk memory:
Disk memory is used to hold programs & data over a longer term. The content of a disk are
not lost if the power is turned off.
Capacity ranges 100GB- 1TB.
Access time is slower than main memory. Access time b/w 2-4 millisecond
Cache memory:
Cache memory also called as CPU memory, is a random access memory that a computer’s
microprocessor can access more quickly than accessing from RAM.
It is placed on separate chip that has a separate bus interconnect with CPU. The basic
purpose of cache memory is to store program instructions that are frequently being used.
Data is available temporarily.
Computer Layout
The basic parts of a computer are the computer case, monitor, Keyboard, Mouse and Power car.
Each part plays an important role when you use a computer
Computer case: The computer case is the metal and fiber (plastic) box that contains main
components of a computer such as motherboard, CPU, power supply and more
A desktop case (horizontal case, an older model) lies flat on a desk and the monitor usually sits on top
it. A tower case (vertical case, a present model) is tall and sits next to the monitor or on the floor
Switching power supplies have high efficiencies and are widely used in a variety of electron
equipment, including computers and other sensitive equipment stable and efficient power
supply.
SMPS converts the input AC voltage to DC Voltage. Supplies power to motherboard, HD,
floppy drive, fan etc.
Different cables are:
Advantage:
Small in size and lighter
It has a better power efficiency of 68% to 90%
SMPS has wide output range
High power density
Flexible Technology
Disadvantages:
Complex circuit design
Expensive compared to liner supply.
Motherboard
First motherboard is considered to be used in IBM personal computer, released in1981.
It was referred as backplane board, base board, main circuit board, planar board, system
board, or a logic board.
The base of a motherboard consists of a very firm sheet of non-conductive material, typically
some sort of rigid plastic.
Thin layers of copper or aluminum foil, referred to as traces, are printed onto this sheet.
These traces are very narrow and form the circuits between the various components. In
addition to circuits, a motherboard contains a number of sockets and slots to connect the
other components.
Components of motherboard:
Microprocessor
If the display is analog, DVI connection converts digital signal to an analog signals. If the
display is digital, no conversion is needed.
The digital video interface supports high bandwidth signal, over 160 Hz.
There are three types of DVI connections:
DVI-A – designed for analog signals
DVI-D designed for digital signals
DVI-I – designed for both analog and digital signals.
A single USB port can be used to connect up to 127 peripheral devices, such as mice, modems,
and keyboards.
USB 1.1 could transfer data up to 12 Mbps, USB 2.0(high speed USB) transmit 480 Mbps.
USB 2.0 transfers data at a 4.8 Gbps.
A socket for plugging in an audio source is a jack. These devices vary widely, including audio disc
player, audio mixer, musical instruments, additional microphone etc.
Stereo cards with just 2 audio channels will have only green (output) and pink jacks. A few sound
cards with 8 audio channels do not provide the gray connector.
Expansion Slots
Most computer have expansion slots on the motherboard that allow you to add various types of
expansion cards. These are sometimes called PCI(peripheral component interconnect) cards.
These cards after inserting into the slot may need the driver software to be installed with the
operating system to make the card work. PCI slot is the 32 bits bus running at clock speed 33 MHz
the maximum transfer speed of PCI bus is 133 MB/s
Below are some of the most common types of expansion cards.
Video card: it is responsible for what you see on the monitor. Most computer have a GPU (graphics
Processing Unit) built into the motherboard instead of having a separate video card. You can add
a faster video card to one of the expansion slots to get better performance.
Sound card: It is also called an audio card, responsible for what you hear on the speaker or
headphone. Most motherboard have integrated sound, but you can upgrade to a dedicated sound
card for higher quality sound.
Network card: it allows your computer to communicate over a network and to access over the
internet. It can either connect with an Ethernet cable or wireless communication.
TV Tuner card: it is a device you can use to connect an analog or digital TV signals to your
computer. Without a TV tuner, you cannot record Live TV in media center. TV tuner cards are
sometimes referred as PCI express bus or PCIbus Expansion card.
Chipset
A chipset is group of small circuits that coordinates the flow of data to and from a PC’s key
component.
A chipset also control data flow to and from hard disk and other device connected to the IDE
channels(Integrated Drive Electronic Channel)
2main Chipset: North Bridge and South Bridge (A Bridge is generally used to designate a
component which connects two Buses.)
North Bridge: also called Memory Controller, is in charge of controlling transfer b/w the
processor and RAM, hence it is locally present near processor.
South Bridge: also called as expansion controller handle communication b/w slower
peripheral devices. It is also called as ICH(I/O controller Hub)
CHAPTER 5
COMPUTER NETWORKS
Network: a group or system of interconnected people or things.
Networking: “It is a practice or process of linking two or more computing devices together for the
purpose of sharing data and resources”.
“Computer network is a system in which multiple computers are connected to each other to share
information and resources”.
Characteristics of a computer network
Share Resources from one computer to another
Create files and store them in one computer, access those files from the other computer(s)
connected over the network
Connect a printer, scanner, or a fax machine to one computer within the network and let
other computers of the network use the machines available over network.
Geographical span
Inter-connectivity
Administration
Architecture
Geographical Span
Geographically a network can be seen in one of the following categories:
It may be spanned across your table, among Bluetooth enabled devices,. Ranging not more
than few meters.
It may be spanned across a whole building, including intermediate devices to connect all
floors.
It may be spanned across a whole city.
It may be spanned across multiple cities or provinces.
It may be one network covering whole world.
Inter-Connectivity
Components of a network can be connected to each other differently in some fashion. By
connectedness we mean either logically,physically, or both ways.
Every single device can be connected to every other device on network, making the
network mesh.
All devices can be connected to a single medium but geographically disconnected, created
bus like structure.
Administration
From an administrator’s point of view, a network can be private network which belongs a single
autonomous system and cannot be accessed outside its physical or logical domain. A network can
be public which is accessed by all.
Network Architecture
Computer networks can be discriminated into various types such as Client-Server, peer-to-
peer or hybrid, depending upon its architecture.
There can be one or more systems acting as Server. Other being Client, requests the Server
to serve requests. Server takes and processes request on behalf of Clients.
Two systems can be connected Point-to-Point, or in back-to-back fashion. They both
reside at the same level and called peers.
There can be hybrid network which involves network architecture of both the above types.
6. File sharing
7. Printer sharing
8. Communication and collaboration
9. Remote access
10. Data protection.
Advantages of networking:
1) Resource sharing - Through a network, data, s/w and h/w resources can be shared irrespective of
the physical location of the resources and the user.
2) Reliability – A file can have its copies on two or more computers of the network.
3) Reduced Cost – Sharing resources reduces the cost
4) Fast Communication – Information can be exchanged at a very fast speed
5) Parallel computing
6) Video conferences
DATA AND INFORMATION
Data Representation
1. Text
2. Numbers
3. Images
4. Audio
5. Video
Data Representation:
Data refers to raw facts which on processing become an information. Information today comes in
different forms such as Text, numbers, pictures, audio and video which are represented in a specific
manner in order to transmit in data communication systems.
6) Text: Text is represented as a bit pattern, ie, sequence of 0’s and 1’s. different sets of bit
patterns(coding systems) are designed to represent text symbols.
1. Unicode: it is a universal code which uses a 32 bits to represent alphabets or symbols
2. ASCII: this refers to American Standard Code for Information Interchange which uses 7 bits to
represent characters or symbols
7) Number: Numbers are also represented by bit patterns. The number is directly converted to
a binary number.
8) Images: Images are also represented by bit patterns. Image is composed of matrix of pixels,
where each pixel is a small dot. The size of pixel depends on the resolution. Several methods
are used to represent color images for ex: RGB(Red, green, Blue) ,CMYK(cyan ,magenta,
yellow, black).The intensity of each color combination is measured and a bit pattern will be
assigned to it.
9) Audio: This type of data is in the form of sound which is recorded and broadcasted with
signals.
10) Video: The video data refers to recording or broadcasting of a picture or movie. Video can
be either a continuous or discrete with combination of pictures. We can change thie video
to digital or analog signal
1. Based on the direction, way the data can flow, Transmission can be classified into
Simplex communication
Half duplex Mode
Full duplex Mode
SIMPLEX Mode
In this mode, the communication is unidirectional
i.e., data flows only one direction from sender to receiver
Example:
Radio and Tv broadcasting
Data flow from keyboard to compute
4. Point-to-Point connection
5. Multipoint connection
6. Broadcasting
Point-To-Point Connection
It this type communication takes place between two end points or devices. In the case of voice
communication using telephone, there is one calling party and one called party. Hence the
communication is point-to-point
Multipoint Connection: It is also called Multi drop configuration. In this type there will be one
sender and more recipients. From sender data can be multicast to specific or dedicated user rather
sending to all.
Broadcasting: In this type there will be acentral location from which information is sent to all users
over the network. In a broadcasting system, all users (receivers) are passive there is no re verse
communication path with dedicated users
Types of Networks:
Depending on the distance covered the networks can be classified into three types as follows:
4. LAN
5. MAN
6. WAN
LAN uses either Ethernet or Token-ring technology. Ethernet is most widely employed LAN
technology and uses Star topology, while Token-ring is rarely seen.
LAN Topology: “The physical arrangements of computers in a network are called Topology”.
Types of topologies:
1. Bus
2. Star
3. Ring
4. Mesh
5. Tree
6. Hybrid
BUS Topology
In a bus topology, all the network devices are connected to single long cable called Bus.
A signal from the source is broadcasted to all the devices connected by bus by only the intended
device accepts it and other devices just ignore the signal
STAR Topology
In this type of topology, all the network devices are connected to a central controller called HUB
with a point-to-point connection
HUB acts like a junction to connect all the devices in a network
RING Topology
In this topology, all the network devices are connected to one another in the shape of closed ring
In this data is transmitted only in one direction from device to device.
MESH Topology
In this topology, every device is connected to every other device in a network with a point-to-
point connection
A fully connected mesh network has n (n-1)/2 link to connect n devices.
Every device on the network must have (n-1) input ports and (n-1) output ports
3. Partial Mesh Topology: In this topology, some of the systems are connected in the same
fashion as mesh topology but some devices are only connected to two or three devices.
4. Full Mesh Topology: Each and every nodes or devices are connected to each other.
5. It is robust and reliable means if one of the component fail there is always an alternative
present.
6. Data transfer rate is very fast
7. Fault identification is easily.
8. Failure of one node does not effects to the rest of thenetwork
TREE Topology
In tree topology, the number of start networks are connected using BUS. The main cable seems
like main steam and other start network are the branches
It is also called as the extended star topology
HYBRID Topology
3. Complex in design.
4. Costly.
CHAPTER 6
TRANSMISSION MEDIA AND NETWORK DEVICES
Transmission: the act or process of transmitting or Communication of data achieved by processing
of signals.
Media: that carries the message; plural "medium" refers to various means of communication. It is
also called as channel.
Transmission Media:
“Transmission media is a physical path by which a message travels from sender to receiver”
The characteristics and quality of data transmission can be determined based on by characteristics
of transmission media and signals.
5. Bandwidth: Data carrying capacity of a channel or a medium.
6. Radiation: It refers to leakage of signals due to undesirable characteristics.
7. Noise absorption: It refers to susceptibility of the media to external noise that can cause
distortion of signals
8. Attenuation: loss of energy or strength of a signal falls off. The amount of energy lost
depends on frequency.
1. Guided: Signals are transmitted via a physical tangible guide between communicating points.
Ex. Coaxial cable, telephone cable , optical fiber.
2. Unguided: in this physically there is no connection between two points.
Ex. Microwave, radio waves, satellite signals,.
It is the most common type of telecommunication when compared with Shielded Twisted Pair
Cable which consists of two conductors usually copper, each with its own colour plastic
insulator. Identification is the reason behind colored plastic insulation.
UTP cables consist of 2 or 4 pairs of twisted cable. Cable with 2 pair use RJ-11 connector and
4 pair cable useRJ-45 connector.
Advantages:
Installation is easy
Flexible
Cheap
It has high speed capacity,
100 meter limit
Higher grades of UTP are used in LAN technologies like Ethernet.
It consists of two insulating copper wires (1mm thick). The wires are twisted together in a helical
form to reduce electrical interference from similar pair.
Disadvantages :
It has same attenuation as unshielded twisted pair. It is faster the unshielded and coaxial cable. It is
more expensive than coaxial and unshielded twisted pair.
Advantages :
Easy to install
Performance is adequate
Eliminates crosstalk
Disadvantages :
Difficult to manufacture
Heavy
Coaxial Cable
Coaxial cable has a single copper conductor at its center, used to connect computers in a
network.
A plastic layer provides insulation between the copper conductor and copper mesh
Carries signal of higher frequency ranges than twisted-pair cable.
Baseband
This is a 50 ohm (Ω) coaxial cable which is used for digital transmission. It is mostly used for
LAN’s. Baseband transmits a single signal at a time with very high speed. The major drawback is
that it needs amplification after every 1000 feet.
Broadband
This uses analog transmission on standard cable television cabling. It transmits several
simultaneous signal using different frequencies. It covers large area when compared with Baseband
Coaxial Cable.
Applications:
T V distribution
long distance telephone transmission
LAN
Advantages:
Bandwidth is high
Used in long distance telephone lines.
Transmits digital signals at a very high rate of 10Mbps.
Much higher noise immunity
Data transmission without distortion.
The can span to longer distance at higher speeds as they have better shielding when compared
to twisted pair cable
Disadvantages:
Modes: The paths in which a light ray can follow when travelling down a fiber is known as
modes.On the basis of mode optical fibre can be classified into
1.Single mode: cable is single strand of glass fiber with a diameter of 8.3 to 10 microns that has
one mode of transmission
2. Multimode: cable is made up of glass fibers, with a common diameters of 50 to 100 micron
range of light carrying component(most common is 62.5).
Advantages :
Disadvantages :
It is expensive
Difficult to install.
Maintenance is expensive and difficult.
Do not allow complete routing of light signals.
• Omni-directional
Microwaves
Microwave technology was developed during world war II in connection with Secret military radar
research. It is used for transmission of information because of its longer wavelengths which ranges
from cm to microns. Microwaves uses line of sight in order to work properly and transmitted
through space. The line of sight means the data signals can only travel in straight line and cannot
bend.
Based on how far signal travels wireless communication can be classified into
Short range:( (5cm – 50 m) Bluetooth , infrared
Medium range: (50m-500m) wifi , wimax
Wide range: (>500m) cellular communications
The microwave communication has two types:
1. Terrestrial Links
2. Satellite links
• geostationary satellites
– travel around the earth in exactly the time the earth takes to rotate
Radio waves:
Radio waves are a type of electromagnetic radiations whose frequency are easy to generate and the
wavelength is more so that can travel long distances and can penetrate buildings and other media.
2. Repeater
A repeater is an electronic device that receives a signal and retransmits it.
Repeaters are used to extend transmissions so that the signal can cover longer distances
or be received on the other side of an obstruction.
It works at OSI physical layer consist of two ports . It receives the signal through one
port and retransmit the signal with other port
3. HUB
a hub refers to a hardware device that enables multiple devices or connections to be
connected to a computer.ie broadcasting without filtering the data.
HUB forwards the message which it receives to all the devices which are connected
except the device which sent.
Also called multiport repeater, Ethernet hub, repeater hub, active hub, network hub.
TYPES OF HUB:
Active Hub : it can regenerate the information signal. upgrade the signal before sending
to the destination.
Passive Hub : like a simple bridge. it receives signal and forwards it.
Intelligence HUB: performs both active Hubs and passive hubs
4. Bridge
A bridge is a type of computer network device that provides interconnection with other
bridge networks that use the same protocol.
Bridge devices work at the data link layer of the Open System Interconnect (OSI) model,
connecting two different networks together and providing communication between
them.
In bridge no specific relationship, so messages are sent out to every addresses and accept
by destination.
Only one incoming port and one outgoing port
5. Switch
In networks, a device that filters and forwards packets between LAN segments.
Switches operate at the data link layer (layer 2) and sometimes the network
layer (layer 3) of the OSI Reference Model and therefore support any packet
protocol.
It can also perform the task of router , it can receive data packets and successfully
forward them to their destination IP
Multiple data cables plugged in to switch to enable communications between
different network devices.
6. Router
A router is a device that forward data packets along networks.
A router is connected to at least two networks, commonly two LANs or WANs or
a LAN and its ISP's network.
Routers are located at gateways, the places where two or more networks connect.
Routers use headers and forwarding tables to determine the best path for forwarding
packets.
A router is quite common to be found in homes and business.
7. Gateway
A gateway is a network point/node that acts as an entrance to another type of
networks.
Computers that control traffic within your companies network called gateway
nodes.
Gateway is considered as edge of the network as all data must flow through
it .
A computer server acts as a gateway node also acts as proxy server and firewall
server.
8. Modem:
one or more carrier wave signals to encode digital information for transmission and
A common type of modem is one that turns the digital data of a computer into
modulated electrical signal for transmission over telephone lines and demodulated
Internal Modem - Modem that connects to a PCI slot inside a newer desktop
computer or ISA slot on an older computer. The Internal Modem shown at the
External Modem - Modem within a box that connects to the computer externally,
usually the Serial Ports or USB port. The picture is an example of an external US
Robotics Modem.
Functions:
4. Error connection
5. Compressing the data
6. Flow control
Reference model
It is a conceptual standard layout that describes how communication occurs between devices.
NETWORK TERMINOLOGIES:
ISO
ISO stands for International organization of Standardization. This is called a model for Open
System Interconnection (OSI) and is commonly known as OSI model.
The ISO-OSI model is a seven layer architecture. It defines seven layers or levels in a complete
communication system.
It provides the interface between all network aware applications and network services.
File transfer
Remote database system
E-mail services
Directory services
Remote file access
It is a network translator, which translates the data from system specific format to common format
at the sender side and retranslate common format to system specific format at receiver side
Data conversion
It is a network dialogue controller, which provides a mechanism for opening a connection between
two devices, managing the conversation between them and closing the connection
Session management
Synchronization
It is responsible for Reliable delivery of entire message from a specific process running on sender
to a specific process running on receiver
It is responsible for source to destination delivery of each pocket from one network to another
network
Logical addressing
Routing
Source to destination delivery
Internetworking
It is responsible for error free transfer of data frames from one node to another node over the
physical layer
Framing
Flow control
Error control
Physical addressing
It co-ordinates the function required to transmit a bit of stream over a physical medium
(transmission medium)
TCP/IP
It provides the interface between all network aware applications and network services.
7. FTP (File Transfer Protocol) It responsible for transferring the files from one computer to
8. SMTP (Simple Mail Transport Protocol) it responsible for sending and receiving email
messages.
9. DNS (Domain Name Server) it is responsible for transferring domain name and IP-address.
2. In OSI model the transport layer 2. In TCP/IP model the transport layer
technology changes.
interfaces and protocols very clearly protocols are not clearly separated. It is