Professional Documents
Culture Documents
Networking
1
Introduction
Todaycomputerisavailableinmanyofficesandhomesandthereforethereisa
needtosharedataandprogramsamongvariouscomputers.Withtheadvancement
of data communication facilities the communication between computers has
increasedandthusithasextendedthepowerofcomputerbeyondthecomputer
room.Nowausersittingatoneplacecancommunicatewithcomputersofany
remotesitethroughcommunicationchannel.Theaimofthislessonistointroduce
youthevariousaspectsofcomputernetwork.
Objectives
Aftergoingthroughthislesson,youwillbeinapositionto
l learnthebasicelementsofdatacommunicationsystem
l describecommunicationprotocolsanddatatransmissionmodes
l explaintheuseofcomputernetwork
l describedifferentcomponentsofcomputernetwork
2
DataCommunicationandNetworking
l identifydifferenttypesofnetwork
l appreciatetheuseofsatellitecommunication
DataCommunication
Weallareacquaintedwithsomesortsofcommunicationinourdaytodaylife.
Forcommunicationofinformationandmessagesweusetelephoneandpostal
communicationsystems.Similarlydataandinformationfromonecomputer
systemcanbetransmittedtoothersystemsacrossgeographicalareas.Thus
data transmission is the movement of information using some standard
methods.Thesemethodsincludeelectricalsignalscarriedalongaconductor,
opticalsignalsalonganopticalfibersandelectromagneticareas.
Supposeamanagerhastowriteseveralletterstovariousclients.Firsthehas
tousehisPCandWordProcessingpackagetopreparetheletter,ifthePCis
connectedtoalltheclient'sPCthroughnetworking,hecansendthelettersto
alltheclientswithinminutes.Thusirrespectiveofgeographicalareas,ifPCs
are connected through communication channel, the data and information,
computerfilesandanyotherprogramscanbetransmittedtoothercomputer
systemswithinseconds.Themodernformofcommunicationlikeemailand
Internetispossibleonlybecauseofcomputernetworking.
BasicElementsofaCommunicationSystem
Indatacommunicationfourbasictermsarefrequentlyused.Theyare:
3
Data:Acollectionoffactsinrawformsthatbecomeinformationafterprocessing.CertificateinComputer
Science
Signals:Electricorelectromagneticencodingofdata.
Signaling:Propagationofsignalsacrossacommunicationmedium.
Transmission:Communicationofdataachievedbytheprocessingofsignals.
CommunicationProtocols
You may be wondering how computers send and receive data across
communicationlinks.Theanswerisdatacommunicationsoftware.Itisthis
software that enables us to communicate with other systems. The data
communicationsoftwareinstructscomputersystemsanddevicesastohow
exactlydataistobetransferredfromoneplacetoanother.Theprocedureof
datatransformationintheformofsoftwareiscommonlyknownasprotocol.
Thedatatransmissionsoftwareorprotocolsperformthefollowingfunctions
fortheefficientanderrorfreetransmissionofdata.
1. Datasequencing :Alongmessagetobetransmittedisbrokeninto
smallerpacketsoffixedsizeforerrorfreedatatransmission.
2. DataRouting :Itistheprocessoffindingthemostefficientroute
betweensourceanddestinationbeforesendingthedata.
3. Flowcontrol:Allmachinesarenotequallyefficientintermsofspeed.
Hencetheflowcontrolregulatestheprocessofsendingdatabetween
fastsenderandslowreceiver.
4. ErrorControl:Errordetectingandrecoveringistheoneofthemain
functions of communication software. It ensures that data are
transmittedwithoutanyerror.
DataTransmissionModes
Therearethreewaysfortransmittingdatafromonepointtoanotherasshown
inFig.5.1
1. Simplex :Insimplexmodethecommunicationcantakeplaceinone
direction.Thereceiverreceivesthesignalfromthetransmittingdevice.
4
In this mode the flowofinformationis Unidirectional.Hence itis
rarelyusedfordatacommunication.
5
DataCommunicationandNetworking
2. Halfduplex:Inhalfduplexmodethecommunicationchannelisused
inbothdirections,butonlyinonedirectionata time.Thus ahalf
duplexlinecanalternatelysendandreceivedata.
3. Fullduplex:Infullduplexthecommunicationchannelisusedinboth
directions at the same time. Use of fullduplex line improves the
efficiency as the line turnaround time required in halfduplex
arrangementiseliminated.Exampleofthismodeoftransmissionisthe
telephoneline.
AB
SimplexAtoBonly
A B
HalfDuplexAtoBorBtoA
A B
FullDuplexAtoBandBtoA
Fig5.1Simplex,HalfDuplexandFullDuplex.
DigitalandAnalogTransmission
Dataistransmittedfromonepointtoanotherpointbymeansofelectricalsignalsthat
maybeindigitalandanalogform.Sooneshouldknowthefundamentaldifference
betweenanaloganddigitalsignals.Inanalogsignalthetransmissionpowervaries
overacontinuousrangewithrespecttosound,lightandradiowaves.Ontheother
hand,adigitalsignalmayassumeonlydiscretesetofvalueswithinagivenrange.
(see fig. 5.2 and 5.3) Examples are computer and computer related equipment.
AnalogsignalismeasuredinVoltsanditsfrequencyisinHertz(Hz).Adigitalsignal
isasequenceofvoltagerepresentedinbinaryform.Whendigitaldataaretobesent
over ananalogformthedigitalsignalmustbeconvertedtoanalogform. Sothe
technique by which a digital signal is converted to analog form is known as
6
modulation.Andthereverseprocess,thatistheconversion
7
CertificateinComputerScience
ofanalogsignaltoitsdigitalform,isknownasdemodulation.Thedevice,
whichconvertsdigitalsignalintoanalog,andthereverse,isknownasmodem.
DigitalSignals
1 0 0 0 0 0 0 1
AnalogSignal
AnalogSignals
DigitalSignal
AsynchronousandSynchronousTransmission
TypesofCommunicationServices
Atermusedtodescribethedatahandlingcapacityofacommunicationserviceis
bandwidth. Bandwidth is the range of frequencies that is available for the
transmissionofdata.Anarrowrangeoffrequenciesinacommunicationsystemis
analogoustoagardenhosewithasmalldiameter.Theflowofinformationin
suchasystemitsdatarateisrestricted,justasistheflowofwaterinthenarrow
hose.Widerbandwithspermitmorerapidinformationflow.Thecommunication
datatransferrateismeasuredinaunitcalledbaud.Baudisidenticaltobitsper
second.Therefore,arateof300baudis300bitspersecond.
2. Voicebandhandlesmoderatedatatransmissionvolumesbetween300
and9600baud.Theyareusedforapplicationsrangingfromoperatinga
CRTtorunningalineprinter.Theirmajorapplicationisfortelephone
voicecommunicationhence,thetermvoiceband.
3. Broadbandhandlesverylargevolumesofdata.Thesesystemsprovide
data transmission rates of 1 million baud or more. Highspeed data
analysis and satellite communications are examples of broadband
communicationsystems.
CommunicationMedia
Followingarethemajorcommunicationdeviceswhicharefrequentlyused:
9
distanceof100meter.
10
CertificateinComputerScience
3. Microwave:Microwavesystemusesveryhighfrequencyradiosignals
to transmit data through space. The transmitter and receiver of a
microwavesystemshouldbeinlineofsightbecausetheradiosignal
cannotbend.Withmicrowaveverylongdistancetransmissionisnot
possible.Inordertoovercometheproblemsoflineofsightandpower
amplificationofweaksignal,repeatersareusedatintervalsof25to30
kilometersbetweenthetransmittingandreceivingend.
4. CommunicationSatellite:Theproblemoflinesightandrepeatersare
overcome by using satellites which are the most widely used data
transmission media in modern days. A communication satellite is a
microwaverelaystationplacedinouterspace.INSAT1Bissucha
satellite that can be accessible from anywhere in India. In satellite
communication,microwavesignalistransmittedfromatransmitteron
earthtothesatelliteatspace.Thesatelliteamplifiestheweaksignal
andtransmitsitbacktothereceiver.Themainadvantageofsatellite
communication is that it is a single microwave relay station visible
fromanypointofaverylargearea.Inmicrowavethedatatransmission
rate is 16 giga bits per second. They are mostly used to link big
metropolitancities.
IntextQuestions
1. Whatiscommunicationprotocol?
3. WriteTrueorFalseforthefollowingstatement
11
DataCommunicationandNetworking
(a) Thebasicrequirementsforworkingofacommunicationsystem
aresender,mediumandreceiver.
(d) AnalogsignalismeasuredinVoltsanditsfrequencyisinHertz
(e) Thetechniquebywhichadigitalsignalisconvertedtoanalog
formisknownasmodulation.
ComputerNetwork
Acomputernetworkisinterconnectionofvariouscomputersystemslocatedat
different places. In computer network two or more computers are linked
togetherwithamediumanddatacommunicationdevicesforthepurposeof
communication data and sharing resources. The computer that provides
resourcestoothercomputersonanetworkisknownasserver.Inthenetwork
theindividualcomputers,whichaccesssharednetworkresources,areknown
asnodes.
TypesofNetworks
Therearemanydifferenttypesofnetworks.However,fromanenduser'spoint
ofviewtherearetwobasictypes:
l LocalAreaNetworks(LANs)
Thecomputersaregeographicallyclosetogether(thatis,inthesame
building).
l WideAreaNetworks(WANs)
Thecomputersarefartherapartandareconnectedbytelephonelinesor
radiowaves.
12
CertificateinComputerScience
Inadditiontothesetypes,thefollowingcharacteristicsarealsousedto
categorizedifferenttypesofnetworks.
l Topology
Thegeometricarrangementofacomputersystem.Commontopologies
includebus,star,andring.
l Protocol
Theprotocoldefinesacommonsetofrulesandsignalsthatcomputers
onthenetworkusetocommunicate.Oneofthemostpopularprotocols
forLANsiscalledEthernet.AnotherpopularLANprotocolforPCsis
theIBMtokenringnetwork.
l Architecture
Computersonanetworkaresometimescallednodes.Computersand
devicesthatallocateresourcesforanetworkarecalledservers.
l LocalAreaNetwork(LAN)
LANisacomputernetworkthatspansarelativelysmallarea.Most
LANsareconfinedtoasinglebuildingorgroupofbuildings.However,
one LAN can be connected to other LANS over any distance via
telephonelinesandradiowaves.AsystemofLANsconnectedinthis
wayiscalledawideareanetwork(WAN).
TherearemanydifferenttypesofLANstokenringnetworks,Ethernents,and
13
ARCnetsbeingthemostcommonforPCs.
14
DataCommunicationandNetworking
LocalAreaNetwork
LANsarecapableoftransmittingdataatveryfastrates,muchfasterthandatacan
betransmittedoveratelephoneline;butthedistancearelimited,andthereisalso
alimitonthenumberofcomputersthatcanbeattachedtoasingleLAN.
WideAreaNetwork(WAN)
AWANisacomputernetworkthatspansarelativelylargegeographicalarea.
Typically,AWANconsistsoftwoormorelocalareanetworks(LANs).
AtypicalWANsetupisshown
15
CertificateinComputerScience
WideAreaNetwork
NetworkTopologies
StarNetwork
ThestarnetworkasshowninFig5.6isfrequentlyusedtoconnectoneormore
smallcomputersorperipheraldevicestoalargehostcomputerorCPU.Many
organizationsusethestarnetworkoravariationofitinatimesharingsystem,
inwhichseveralusersareabletoshareacentralprocessor.
16
DataCommunicationandNetworking
StarTopology
Inatimesharingsetup,eachterminalreceivesafixedamountoftheCPU's
time,calledatimeslice.Ifyouaresittingataterminalandcannotcomplete
yourtaskduringthetimeslice,thecomputerwillcomebacktoyoutoallow
you to do so. Actually, because the CPU operates so much faster than
terminals,youwillprobablynotevennoticethattheCPUisaway.
Byestablishingtimesharing,manypeopleinalargeorganizationcanusea
centralizedcomputingfacility.Timesharingcanalsobepurchasedfroman
outsideservice,whichisaneconomicalwaytooperateforasmallcompany
thatcannotafforditsownlargecomputer.
StarnetworkisfrequentlyusedinaLANtoconnectseveralmicrocomputers
toacentralunitthatworksasacommunicationscontroller.Iftheuserofone
microcomputer wants to send a document or message to a user at another
computer, the message is routed through the central communications
controller. Another common use of the star network is the feasibility of
connecting several microcomputers to a mainframe computer that allows
accesstoanorganization'sdatabase.
Accessandcontrolofstarnetworktypicallyismaintainedbyapollingsystem.
Pollingmeansthatthecentralcomputer,orcommunicationscontroller"polls"
oraskseachdeviceinthenetworkifithasamessagetosendandthenallows
eachinturntotransmitdata.
RingNetwork
17
Theringnetwork(seeFig.5.7)isaLocalAreaNetwork(LAN)whosetopology
18
CertificateinComputerScience
RingTopology
Access andcontrolofringnetworksaretypicallymaintainedbya"token
passing"system.IBM'sTokenRingnetworkisthoughtbysomeobserversto
beawatershedeventcomparabletothedevelopmentoftheIBMPCVitself,
becausetheTokenRingnetworkisdesignedtolinkalltypesofcomputers
together, including not only personal computers but also possible mini
computesandmainframes.
ATokenRingnetworkasshowninFig.5.7resemblesamerrygoround.To
deliveramessage,youwouldhandoveryouraddressednotetoarider(the
token)onthemerrygoround,whowoulddropitoffattheappropriateplace.
BusNetwork
Busnetworks(seeFig.5.8)aresimilartoringnetworkthattheendsarenot
connected.Allcommunicationsarecarriedonacommoncableorbusandare
19
availabletoeachdeviceonthenetwork.
20
DataCommunicationandNetworking
BusNetwork
NetworkProtocols
Aprotocolisanagreeduponformatfortransmittingdatabetweentwodevices.
Theprotocoldeterminesthefollowing:
l Thetypeoferrorcheckingtobeused.
l Datacompressionmethod,ifany
l How the sending device will indicate that it has finished sending a
message
l Howthereceivingdevicewillindicatethatithasreceivedamessage
Thereareavarietyofstandardprotocolsfromwhichprogrammerscanchoose.
Eachhasitownparticularadvantagesanddisadvantages;forexample,some
aresimplerthantheothers,somearemorereliable,andsomearefaster.
21
CertificateinComputerScience
Fromauser'spointofview,theonlyinterestingaspectaboutprotocolsisthat
your computer or device must support the right ones if you want to
communicatewithothercomputers.Theprotocolcanbeimplementedeitherin
hardwareorinsoftware.SomeofthepopularprotocolsareTCP/IP,HTTP,
FTP,SMTP,POP,TokenRing,Ethernet,Xmodem,Kermit,MNP,etc.
NetworkArchitecture
Anopenarchitectureallowsthesystemtobeconnectedeasilytodevicesand
programsmadebyothermanufacturers.Openarchitecturesuseofftheshelf
components and conform to approved standards. A system with a closed
architecture,ontheotherhand,isonewhosedesignisproprietary,makingit
difficult to connect the system to other systems. As we have seen before,
networkarchitecturescanbebroadlyclassifiedasusingeitherpeertopeeror
client/serverarchitecture.
PeertopeerArchitecture
Thisisatypeofnetworkinwhicheachworkstationhasequivalentcapabilities
andresponsibilities.Thisdiffersfromclient/serverarchitecture,inwhichsome
workstations arededicated to serving the others. Peertopeer networks are
generallysimplerandlessexpensive,buttheyusuallydonotofferthesame
performanceunderheavyloads.
Client/ServerArchitecture
IntextQuestions
1. DistinguishbetweenLANandWAN.
2. Whatarethedifferenttypesofnetworktopology?
3. WriteTrue(T)orFalse(F)forthefollowingstatements:
(c) ThespeedofdatatransmissionismuchhigherinWANthanin
LAN.
ImportanttermsusedinNetworking
(a) Internet
Thenewesttypeofnetworktobeusedwithinanorganisationisaninternetor
internetweb.Suchnetworksenablecomputers(ornetwork)ofanytypeto
communicateeasily.Thehardwareandsoftwareneedsarethesameasforthe
internet,specificallyTCP/IP,serverandbrowsersoftwareusedfortheWorld
WideWeb.Becausemostorganisationshaveaneedformoredynamicwaysto
link people and information, the internet market is expanding day by day.
Moreover,thereisnoneedtoadjustthenetworkwhenanewuserjoinsin.
WiththehelpofInternet,allcomputersofanorganisationcanworkasstand
alonesystems,connectedtoamainframe,orpartofaLANorWAN.
(b) EMail
Emailstandsforelectronicmail.Thisisoneofthemostwidelyusedfeatures
ofInternet.Mailsareregularlyusedtodaywherewithoutthehelpofpostage
stampwecantransfermailsanywhereintheworld.Withelectronicmailthe
serviceissimilar.ButheredataistransmittedthroughInternetandtherefore
23
withinminutesthemessagereachesthedestinationmayitbeanywhereinthe
24
CertificateinComputerScience
world.Thereforethemailingsystemthroughemailisexcessivelyfastandis
beingusedwidelyformailtransfer.
(c) VoiceMessaging
Itisanewcommunicationapproachwhichissimilartoelectronicmailexcept
thatitisaudiomessageratherthantextmessagesthatareprocessed.Asender
speaksintoatelephoneratherthantyping,givingthenameoftherecipientand
themessage.Thatsender'svoicesignalisthendigitisedandstored.Thesystem
can theneither deliver themessage ata specified time infuture oritcan be
retrievedfromadatabasebytherecipient.Themessageisreconvertedbackinto
itsanalogformatwhenitisdeliveredorretrievedsothattherecipienthearsitas
theoriginalsender'svoiceonatelephone.Voicemessagingrequiresacomputer
withanabilitytostoretheaudiomessagesindigitalformandthenconvertthem
back in an audio form upon verification. Each user has a voice mailbox in
secondarystorageandspecialequipmentconvertstheaudiomessagetoandfrom
thedigitalform.Themainadvantageofvoicemailoverelectronicmailisthatthe
senderdoesnothavetotype.Voicemailalsomakesiteasytoincludepeoplein
thefirm'senvironmentinancommunicationnetwork.
(d) ECommerce
Electroniccommerceorecommerceasitispopularlyknownreferstothe
paperlessexchangeofbusinessinformationusingElectronicDataInterchange,
Electronic mail, Electronic Bulletin Boards, Electronic Fund Transfer and
other network based technologies. Electronic Commerce (EC) not only
automates manual process and paper transactions, but it also helps
organisationstomoveintoafullyelectronicenvironmentandchangetheway
theyusuallyoperate.FeworganisationshaverecentlystartedconductingEC
overInternet,thenetworkofnetworks.InternethasalsohelpedECtoboostup
becauseitisalowcostalternativetotheproprietarynetworks.ECstandards
arehoweverunderdevelopment.ElectronicDataInterchange(EDI)isstillthe
dominantpartofEC.
26
DataCommunicationandNetworking
andsellingofproductsandservicesovercomputercommunicationnetworks.
EC transfers information electronically from computer to computer in
autonomousway.EChas,infact,transformedthewayorganisationsoperate.
(e) ElectronicDataInterchange(EDI)
EDIisthecomputertocomputerexchangeofbusinessdocumentsinastandard
format.Theseformatslookmuchlikestandardformsandarehighlystructured.
(f) Teleconferencing
WhatyouhaveLearnt
Inthislessonyoulearntabouttheimportanceandmodesofcommunication
through computers. Computers can communicate with one another through
computernetworking.Therearetwotypesofcomputernetwork:LANand
WAN. We discussed about the physical arrangements of computer and
peripheralsinnetworktopology.Therearethreetypesofnetworktopology:
startopology,bustopologyandringtopology.Attheendwediscussedabout
Internetandemail.
TerminalQuestions
1. Whatiscomputernetwork?Whatareitsmainobjectives?
2. Distinguishbetweenanaloganddigitaltransmissionofdata.
3. Explaininbriefdifferentcommunicationmedia.
4. Whatisthedifferencebetweensimplexandfullduplextransmission?
5. Explainnetworkarchitecturebriefly.
6. Defineteleconferencing.
27
CertificateinComputerScience
BIBLIOGRAPHY
IntextQuestions5.1
2. Inasynchronoustransmissiondataistransmittedcharacterbycharacter
as you go on typing on a keyboard. On the other hand, in the
synchronousmode,thesaveddataistransmittedblockbyblock.
InTextQuestions
1. LANisrestrictedtolimitedgeographicalareawhereasWANcovers
longdistance.InLANthecomputerterminalsandperipheraldevices
areconnectedwithwiresandcableswhereasinWANcommunication
isdonethroughtelephonelinesandsatellitelinks.Thespeedofdata
transmissionismuchhigherinLANthaninWAN.
2. There are three major types of network topology. They are star
topology,bustopologyandringtopology.
REFERENCE:
1- http://www.tutorialspoint.com/data_communication_computer_network/
2- http://ecomputernotes.com/computernetworkingnotes/communication-networks/what-is-
data-communication
3- https://accessengineeringlibrary.com/browse/data-communications-and-networking-fourth-
edition
4- http://nitttrc.ac.in/Four%20quadrant/dcn/Quadrant%20-%203/FAQ_PDF.pdf
5- http://www.dictionary.com/browse/data-communication
28