Mobile Programming Notes (5)
Mobile Programming Notes (5)
LECTURE NOTES.
CHAPTER ONE
INFORMATION TRANSMISSION.
1
1.0 INTRODUCTION
ThischapterprovidesanintroductiontoComputernetworksand
covers fundamental topics like data, information to the definition
of communication and computer networks.
The main objective of data communication and networking is to
enable seamless exchange of data between any two points in
the world.
Thisexchangeofdatatakesplaceoveracomputernetwork.
1.1 DATA&INFORMATION
Datarefers to the raw facts that are collected whileinformation
referstoprocesseddatathatenablesustotakedecisions.
Ex. When result of a particular test is declared it contains dataof
all students, when you find the marks you have scored you
have the information that lets you know whether you have
passed or failed.
The word data refers to any information which is presented in a
form thatis agreedand accepted uponbyis creators andusers.
1.2 DATACOMMUNICATION
Data Communication is a process of exchanging data or
information
2
In case of computer networks this exchange is done between two
devices over a transmission medium.
This process involves a communication system which is madeup
of hardware and software. The hardware part involves the
sender and receiver devices and the intermediate devices
through which the data passes. The software part involves
certain rules which specify what is to be communicated, how itis
to be communicated and when. It is also called as a Protocol.
Thefollowingsectionsdescribesthefundamental characteristics
that are important for the effective working of data
communicationprocess andisfollowedbythe components that
make up a data communications system.
ADataCommunicationsystemhasfivecomponentsasshown in
the diagram below:
1. Message
Message is the information to be communicated by the sender
tothe receiver.
2. Sender
Thesenderisanydevicethatiscapableofsendingthedata (message).
3. Receiver
The receiver is a device that the sender wants to communicate the
data (message).
4. TransmissionMedium
It is the path by which the message travels from sender to receiver.
It can be wired or wireless and many subtypes in both.
4
5. Protocol
It is an agreed upon set or rules used by the sender and
receiver to communicate data.
A protocol is asetof rules that governs data communication.
A Protocol is a necessity in data communications without
which the communicating entities are like two persons trying
to talk to each other in a different language without know the
other language.
1.3 DATAREPRESENTATION
Dataiscollectionofrawfactswhichisprocessedtodeduce information.
1. Text
Text includes combination of alphabets in small case as well
as upper case.
It is stored as a pattern of bits. Prevalent encoding system :
ASCII, Unicode
2. Numbers
Numbersincludecombinationofdigitsfrom0to9.
It is stored as a pattern of bits. Prevalent encoding system :
ASCII, Unicode
3. Images
―Animageisworthathousandwords‖isa veryfamoussaying.
Incomputersimagesaredigitallystored.
A Pixel is the smallest element of an image. To put it in simple
terms, a picture or image is a matrix of pixel elements.
The pixels are represented in the form of bits. Depending upon
the type of image (black n white or color) each pixel would
require different number of bits to represent the value of a pixel.
The size of an image depends upon the number of pixels (also
called resolution) and the bit pattern used to indicate the valueof
each pixel.
Example: if an image is purely black and white (two color) each
pixel can be represented by a value either 0 or 1, so an image
madeupof10x10pixelelementswouldrequireonly100bitsin
memory tobe stored.
On the other hand an image that includes gray may require
2bitstorepresenteverypixel value(00-black,01 –darkgray,10
5
4. Audio
Datacanalsobeintheformofsoundwhichcanberecorded and
broadcasted. Example: What we hear on the radio is a
source of data or information.
Audio data is continuous, not discrete.
5. Video
Video refers to broadcasting of data in form of picture or movie
1.4 DATAFLOW
1.4.1 Simplex
Figure:Simplexmodeofcommunication
InSimplex,communicationisunidirectional
Onlyoneofthedevicessendsthedataandtheotherone only
receives the data.
Example:intheabovediagram:acpusenddatawhilea monitor
only receives data.
1.4.2 HalfDuplex
6
1.4.3 FullDuplex
Figure:FullDuplexModeofCommunication
1.5 COMPUTERNETWORK
Definition:
A computer network can be defined as a collection of nodes.
A node can be any device capable of transmitting or
receiving data.
The communicating nodes have to be connected by
communication links.
1.5.1 CategoriesofNetwork
Networksarecategorizedonthebasisoftheirsize.The three
basic categories of computer networks are:
1.6 PROTOCOL
1.6.1 ElementsofaProtocol
Therearethreekeyelementsof aprotocol:
8
A. Syntax
Itmeansthestructureorformatofthedata.
Itisthearrangementofdatainaparticularorder.
B. Semantics
Ittellsthemeaningofeachsectionofbitsandindicates the
interpretation of each section.
It also tells what action/decision is to be taken basedon
the interpretation.
C. Timing
It tells the sender about the readiness of the receiver to
receive the data
It tells the sender at what rate the data should be sentto
the receiver to avoid overwhelming the receiver.
1.7 STANDARDSINNETWORKING
1.7.1 ConceptofStandard
Standards provide guidelines to product manufacturers and
vendors to ensure national and internationalinterconnectivity.
1. DefactoStandard
o These are the standards that have been traditionally
used and mean by fact or by convention
o These standards are not approved by any organized
body but are adopted by widespread use.
2. Dejurestandard
o Itmeansbylawor byregulation.
o Thesestandardsarelegislatedandapprovedby an
body that is officially recognized.
10
CHAPTER TWO
DATA SIGNAL
2.0 INTRODUCTION
2.1 DATA&SIGNALS
2.1.2. Signalscanbeoftwotypes:
1. AnalogSignal:Theyhaveinfinitevaluesinarange.
2. Digital Signal: They have limited number of defined
values
2.2 ANALOGSIGNAL
An analogsignal has infinitelymanylevels of intensityovera
period of time.
As the wave moves from value A to value B, it passes through
and includes an infinite number of values along its path as it
can be seen in the figure below.
A simple analog signal is a sine wave that cannot be further
decomposed into simpler signals.
Fig.Sinewave
2.3.1 CharacteristicsofanAnalogSignal
2.3.1.1 PeakAmplitude
Theamplitudeofasignalistheabsolutevalueofits intensity at
time t
Thepeakamplitudeofasignalistheabsolutevalueof the
highest intensity.
12
Theamplitudeofasignalisproportionaltotheenergy carried
by the signal
Fig.Amplitudeofasinewave
2.3.1.2. Frequency
Frequency refers to the number of cycles completed by the
wave in one second.
Period refers to the time taken by the wave to complete one
second.
2.3.1.3. Phase
Phasedescribesthepositionofthewaveformwithrespecttotime
(specificallyrelative to time O).
Fig: Phaseofasinewave*
Phaseindicatestheforwardorbackwardshiftofthe waveform
from the axis
Itismeasuredindegreesorradian
Thefigureaboveshowsthesinewaves withsameamplitude and
frequency but different phases
Frequency&Periodareinverseofeachother.
Itisindicatedbythefollowingformula:
14
Example2.Awavecompletesitsonecyclein0.25seconds. Its
frequency is given by
F=1 /T=1/0.25= 4Hz
2.3.3 Wavelength
Thewavelengthofasignalreferstotherelationshipbetween
frequency (or period) and propagation speed of the wave
through a medium.
Thewavelengthisthedistanceasignaltravelsinone period.
It is given by
Wavelength=PropagationSpeedXPeriod
OR
Wavelength=PropagationSpeedX1
Frequency
It is represented bythe symbol : λ (pronounced as lamda)
It is measured in micrometers
Itvariesfromonemediumto another.
Fig:Timedomainandfrequencydomainplotsofthreesine
waves*
Acompletesinewaveinthetimedomaincanberepresented by
one single spike in the frequency domain
16
Fig:AdigitalsignalwithTwolevels.„1‟representedbya
positivevoltageand„0‟representedbyanegativevoltage
A Signal can have more than two levels
11 10 01 00 00 01 10 10
LEVEL
4
LEVEL
3
LEVEL
2
LEVEL
1
Fig:Adigitalsignalwith fourlevels
Ingeneral,ifasignalhasLlevelsthen,eachlevelneed Log 2L bits
Example:ConsideradigitalSignalwithfourlevels,howmany bits
are required per level?
Answer:Numberofbitsperlevel=Log2L
=Log24
=2
Hence,2bitsarerequiredperlevelforasignalwithfour levels.
2.4.1 BITLENGTHorBitInterval(Tb)
Itisthetimerequiredtosendonebit. It is
measured in seconds.
17
Fig:Threesignalswithdifferentbitratesandbaud rates
18
2.3 TYPESOFCHANNELS:
Each composite signal has a lowest possible(minimum)
frequency and a highest possible (maximum) frequency.
2.5.1 LowpassChannel
Thischannelhasthelowestfrequencyas‗0‘andhighest frequency
as some non-zero frequency ‗f1‘.
This channel can pass all the frequencies in the range 0 to f1.
2.5.2 Bandpasschannel
This channel has the lowest frequency as some non-zero
frequency ‗f1‘ and highest frequency as some non-zero
frequency ‗f2‘.
This channel can pass all the frequencies in the range f1 to f2.
Fig:LowpassChannel&BandpassChannel
2.4 TransmissionofDigitalsignal
Digitalsignalcanbetransmittedinthefollowingtwo ways:
2.6.1 BasebandTransmission
The signal is transmitted withoutmaking anychangeto it
(ie. Without modulation)
19
Fig:BroadbandTransmissionInvolvingModulation&
Demodulation
21
Fig:DataLink Layer:TheprocessofFraming
II. Flowcontrol
a. The data link layer makes sure that the sender
sends the data at a speed at which the receiver can
receive it else if there is an overflow at the receiver
side the data will be lost.
III. Errorcontrol
a. Thedatalinklayerimposeserrorcontrolmechanism to
identify lost or damaged frames, duplicate frames
and then retransmit them.
b. Error control information is present in the trailer of a
frame.
22
IV. AccessControl
a. The data link layer imposes access control
mechanism to determine which device has right to
send data in an multipoint connection scenario.
V. MainResponsibility
i.The main responsibility of the data link layer is hop to
hop transmission of frames.
4.0.1.2 NetworkLayer
I. The network layer makes sure that the data is delivered to
the receiver despite multiple intermediate devices.
II. The network layer at the sending side accepts data from the
transport layer, divides it into packets, adds addressing
information in the header and passes it to the data link layer.
At the receiving end the network layer receives the frames
sent by data link layer, converts them back into packets,
verifies the physical address (verifies if the receiver address
matches with its own address) and the send the packets to
the transport
23
24
layer.
Fig:NetworkLayer
IV. LogicalAddressing
The network layer uses logical address commonly known
as IP address to recognize devices on the network.
25
V. Routing
VI. The network layer divides data into units called
packets of equal size and bears a sequence number for
rearranging on the receiving end.
Henceeveryintermediatenodewhichencountersapackettrie
stocomputethebestpossiblepathforthe packet. The best
possible path may depend on several factors such as
congestion, number of hops, etc
VI. The Network layer does not perform anyflow control or error
control
VII. MainResponsibility
The main responsibility of Network Layer is
transmission of packets from source to destination
4.0.1.3 TransportLayer
I. A logical address at network layer facilitates the
transmission of datafrom source to destination device.
But the source and the destination both maybe having
multiple processes communicating with each other.
Hence it is important to deliver the data not only from
the sender to the receiver but from the correct process
on the sender to the correct process on the receiver.
The transport layer takes care of process to process
delivery of data and makes sure that it is intact and in
order.
26
Fig:TransportLayer
VII. MainResponsibility
The main responsibility of the transport layer is
process to process deliveryof the entire message.
4.0.1.4 SessionLayer
I. The session layer establishes a session between the
communicating devices called dialog and
synchronizestheirinteraction.Itistheresponsibilityof the
session layer to establish and synchronize the
dialogs. It is also called the network dialog controller.
IV. Mainresponsibilityofsessionlayerisdialogcontrol
and synchronizatoin
4.0.1.5 PresentationLayer
I. The communicating devices may be having different
platforms. The presentation layer performs translation,
encryption and compression of data.
28
Fig:PresentationLayer
III. Translation
The sending and receiving devices may run on different
platforms(hardware,softwareandoperatingsystem).Hence it
is important that they understand the messages that are
used for communicating. Hence a translationservice may be
required which is provided by the Presentation layers
IV. Compression
Compressionensuresfasterdatatransfer. The data
compressed at sender has to be decompressed at the
receiving end, both performed by the Presentation layer.
V. Encryption
It is the process of transforming the original message to
change its meaning before sending it. The reverse process
calleddecryptionhastobeperformedatthereceivingendto
recover the original message from the encrypted message.
VI. Mainresponsibility
The main responsibility of the Presentation layer is
translation, compression and encryption.
4.0.1.6ApplicationLayer
I. The application layer enables the user to
communicateitsdatatothereceiverbyproviding
29
certainservices.Forex.Emailissentusing X.400
service.
Fig:ApplicationLayer
V. MainResponsibility
MainResponsibility ofApplicationlayer istoprovide
access to network resources.
30
31
Itisusedbyintermediatedevices.
I. In case and intermediate device like a gateway
encounters any problem like a corrupt datagram it
may use ICMP to send a message to the sender of
the datagram.
A. TransportLayer
Transport layer protocols are responsible for
transmission of data running on a process of one
machine to the correct process running on another
machine.
The transport layer contains three protocols:
1. TCP
2. UDP
3. SCTP
1. TCP– TransmissionControlProtocol
I. TCP is a reliable connection-oriented, reliable
protocol.i.e. a connection is established between the
sender and receiver before the data can be
transmitted.
II. It divides the data it receives from the upper layer into
segments and tags a sequence number to each
segment which is used at the receiving end for
reordering of data.
2. UDP– UserDatagramProtocol
I. UDP is a simple protocol used for process to process
transmission.
3. SCTP–StreamControlTransmissionProtocol
I. SCTPisarelativelynewprotocoladdedtothe transport
layer of TCP/IP protocol suite.
II. ItcombinesthefeaturesofTCPandUDP.
III. It is used in applications like voice over Internet
andhas a much broader range of applications
32
B. ApplicationLayer
I. The Application Layer is a combination of Session,
Presentation & Application Layers of OSI models and
define high level protocols like File Transfer (FTP),
Electronic Mail (SMTP), Virtual Terminal (TELNET),
Domain Name Service (DNS), etc.
5.0 ADDRESSINGINTCP/IP
TheTCP/IPprotocolsuitedinvolves4differenttypesof
addressing:
1. PhysicalAddress
2. LogicalAddress
3. Port Address
4. SpecificAddress
APPLICATION SPECIFIC
Processes
LAYER ADDRESS
TRANSPORT PORT
TCP UDP SCTP
LAYER ADDRESS
HOST TO
Protocolsofunderlyingnetworkused at PHYSICAL
NETWORK
physical & data link layer ADDRESS
LAYER
Fig:AddressinginTCP/IPmodel
33
34
CHAPTER THREE
TRANSMISSION MODES AND MPAIRMENTS
TRANSMISSIONMODES
TypesofTransmissionModes:
There are two basic types of transmission modes Serial
and Parallel as shown in the figure below.
Fig.Types ofTransmissionModes
9.0.1 ParallelTransmission
ItinvolvessimultaneoustransmissionofNbitsoverN
differentchannels
Parallel Transmission increases transmission speed by a
35
factor of N over serial transmission
Disadvantage of parallel transmission is the cost involved, N
channels have to be used, hence, it can be used for short
distance communication only
36
ExampleofParallelTransmissionisthecommunication between
CPU and the Projector.
9.0.2 SerialTransmission
InSerialTransmission,asthenamesuggestsdatais transmitted
serially, i.e. bit by bit, one bit at a time.
Sinceonlyonebithastobesentinunittimeonlyasingle channel is
required.
Fig.SerialTransmissionofDataoverN=8channels Types of
Serial Transmission:
Depending upon the timing of transmission of data there are
two types of serial transmission as described below
37
9.0.2.1 ASynchronousTransmission
0 1BYTE 1
Thestartbitisindicatedby―0‖andstopbitisindicatedby
―1‖.
The sender and receiver may not be synchronized as seen
above but at the bit level they have to be synchronized i.e.
the duration of onebitneedsto be sameforboth senderand
receiver for accurate data transmission.
There may be gaps in between the data transmission
indication that there is no data being transmitted from
sender. Ex. Assume a user typing at uneven speeds, at
times there is no data being transmitted from Keyboard
tothe CPU.
Following is the Diagram for Asynchronous Serial
Transmission.
Fig:AsynchronousSerialTransmission
38
Advantages
1. CheapandEffectiveimplementation
2. Canbeusedforlowspeedcommunication
Disadvantages
Insertionof startbits,stopbitsandgapsmakeasynchronous
transmission slow.
Application
Keyboard
9.0.2.2 SynchronousTransmission
Fig:AsynchronousSerialTransmission
Advantage
1. Therearenostartbits,stopbitsorgapsbetweendata units
2. Sincetheaboveareabsentdatatransmissionis faster.
3. Duetosynchronizationtherearenotimingerrors.
39
9.0.2.3 Comparisonofserialandparalleltransmission
9.1 TransmissionImpairments&Types
Data is transmitted through transmission medium which are
not perfect.
Theimperfectioncausessignalimpairment.
Due to the imperfection error is introduced in the transmitted
datai.e.the original signal at the beginning of the
transmission is not the same as the signal at the Receiver.
Therearethreecausesofimpairment:attenuation, distortion, and
noise as shown below:
Fig:TransmissionImpairmentTypes
40
9.1.1 Attenuation
Fig.Attenuation
9.1.2 Distortion
Distortionchangestheshapeofthesignalasshown below
Fig. Distortion
9.1.3 Noise
Noise is any unwanted signal that is mixed or combined
with the original signal during transmission.
Duetonoisetheoriginalsignalisalteredandsignalreceived is
not same as the one sent.
41
42
TRANSMISSIONMEDIUM
TRANSMISSION MEDIA
• Transmissionmediaisameansbywhichacommunication signal
is carried from one system to another
• A transmission medium can be defined as anything that can
carry information from a source to a destination.
• Thetransmissionmediumisusuallyfreespace,metalliccable or
fiber – optic cable.
GUIDEDMEDIA
• Guided Transmission media uses a cabling system that
guides the data signals along a specific path.
• Guided media also known as Bounded media, which are
those that provide a conduit from one device to another,
include twisted-pair cable, coaxial cable, and fiber-optic
cable.
• Out of these twisted-pair cable, coaxial cable transport
signals in the form of electric signals and fiber-optic cable
transport signals in the form of light.
• Types:
1. Twisted-PairCable
2. CoaxialCable
3. Fiber-OpticCable
10.0.2 Twisted-paircable
Figure:TwistedPairCable
• Thewiresistwistedtwistedtogetherinpairs.
• Each pair would consist of wire used for the +ve data signal
and a wire used for the —ve data signal. Any noise that
appearson+ve/—vewireofthepairwouldoccuron the other
wire.
• Because the wires are opposite polarities, they are 180
degrees out of phase (180 degree phases or definition of
opposite polarity) when the noise appears on both wires, it
cancels or nulls itself out at the receiving used.
• Twisted pair cables are most effectively used in a system
that uses a balanced line method of transmission.
45
Fig.UnshieldedTwistedPairCable
Fig.ShieldedTwistedPairCable
• 10.3.2Co-Axial Cable
Figure:Co-axialcable
• Coaxialcableconsistsof2conductors.
• Theinnerconductoriscontainedinsidetheinsulatorwiththe
other conductor weaves around it providing a shield.
• Aninsulatingprotectivecoatingcalledajacketcoversthe outer
conductor.
46
10.3.3FibreOpticCable
Figure FiberOpticCable
Advantages:
1. Small size and light weight: The size of the optical fibers is
very small.Therefore a large number of optical fibers can fit into
a cable of small diameter.
10.1 UNGUIDED(WIRELESS)TRANSMISSION
MEDIUM
• Ituseswirelesselectromagneticsignalstosenddata.
• TherearethreetypesofUnguidedMedia
(i) Radiowaves
(ii) Microwaves
(iii) Infrared.
Figure:GroundPropagationofwaves
48
CharacteristicsofGround-wavepropagationareasfollows:
i. Followscontouroftheearth
ii. CanPropagateconsiderabledistances
iii. Frequenciesupto2MHz
iv. Example
a.AMradio
2. Sky-wavepropagation
Figure :ofwaves
CharacteristicsofSkyPropagationareasfollows:
i. Signalreflectedfrom ionized layerof atmosphere back down
to earth
ii. Signal can travel a number of hops, back and forth between
ionosphere and earth‘s surface
iii. Reflectioneffectcausedbyrefraction
iv. Examples
a. Amateurradio
b. CBradio
3. Line-of-sightpropagation
CharacteristicsofLineofSightPropagationareasfollows:
49
1. Radiowaves:
• Electromagnetic wave ranging in frequencies between 3 KHz
and 1GHz are normally called radio waves.
2. Microwaves:
• Electromagnetic waves having frequencies between 1 and 300
GHz are called microwaves.
• Parabolic dish antenna and horn antenna are used for this
means of transmission
50
3. Infrared
• Infrared signals with frequencies ranges from 300 GHz to 400
GHz can be used for short range communication.
Wiredmedia Wirelessmedia
The signal energy is contained The signal energy propagates
and guided within a solid in the form of unguided
medium electromagnetic waves.
CHAPTER FOUR
NETWORKTOPOLOGIES
INTRODUCTION
Twoverycommontypesofnetworksinclude: Local
Area Network (LAN)
WideAreaNetwork(WAN)
YoumayalsoseereferencestoaMetropolitanAreaNetworks (MAN), a
Wireless LAN (WLAN), or a Wireless WAN (WWAN).
11.1 WHATISANETWORKTYPE
53
11.1.1 LocalAreaNetwork
A Local Area Network (LAN) is a network that is confined toa
relatively small area. It is generally limited to a geographic area
such as a writing lab, school, or building.
11.1.2 WideAreaNetwork
54
11.2 Comparingtypesofnetworkcoverage
Thetablebelowcomparesthethreetypesofnetworks:
Connections.
Administrators,instructors,andevenstudentsandguests can
be connected using the campus network.
Services.
The institution can provide services, such as registration,
college directories, course schedules, access to research,
and email accounts, and many others. (Remember, network
services are generally provided by servers).
Internet.
The institution can provide network users with access to the
internet, via an internet gateway.
Computing resources.
The institution can provide access to special purpose
computingdeviceswhichindividualuserswouldnotnormally
own. For example, an institution network might have high-
speed high quality printers strategically located around a
campus for instructor or student use.
Flexible Access.
Institution networks allow students to access theirinformation
from connected devices throughout the school. Students can
begin an assignment in their classroom, save part of it on a
public access area of the network, then go to the media
center after school to finish their work. Students can also
work cooperatively through the network.
WorkgroupComputing.
56
DisadvantagesofInstallingaNetwork
Expensive to Install.
Large campus networks can carry hefty price tags. Cabling,
network cards, routers, bridges, firewalls, wireless access
points, and software can get expensive, and the installation
would certainly require the services of technicians. But, with
the ease of setup of home networks, a simple network with
internet access can be setup for a small campus in an
afternoon.
Servers Fail.
Although a network server is no more susceptible to failure
than any other computer, when the files server "goes down"
the entire network may come to a halt. Good network design
practices say that critical network services (provided by
servers) should be redundant on the network whenever
possible.
11.4 WHATISATOPOLOGY?
A topology is a description of the layout of a specific region
or area. A network topology is a description of the layout of the
region or area covered by that network.
11.4.1 TheTechnicalConnotationofTopology
11.4.2 WhataretheBasicTypesofTopology?
Therearesevenbasictopologiesinthestudyof networktopology:
1. Point-to-pointtopology,
2. Bus(point-to-multipoint)topology,
3. Ringtopology,
4. Star topology,
5. Hybridtopology,
6. Meshtopologyand
7. Treetopology.
Troubleshootingtechnique,
Installation cost,
Officelayoutand
Cables‘ types.
AdvantagesofaLinearBusTopology
Easytoconnectacomputerorperipheraltoalinearbus. Requires
less cable length than a star topology.
DisadvantagesofaLinearBusTopology
Entirenetworkshutsdownifthereisabreakinthemain cable.
Terminatorsarerequiredatbothendsofthebackbone cable.
Difficulttoidentifytheproblemiftheentirenetworkshuts down.
Notmeanttobeusedasastand-alonesolutioninalarge building.
61
StarNetwork Topology
The topology when each network host is connected to a
central hub in LAN is called Star. Each node is connected to
thehub with a point-to-point connection. All traffic passes through
the hub that serves as a repeater or signal booster. The easiest
topology to install is hailed for its simplicity to add more nodes but
criticized for making hub the single point of failure. The network
could be BMA (broadcast multi-access) or NBMA (non-broadcast
multi-access) depending on whether the signal is automatically
propagated at the hub to all spokes or individually spokes
withthose who are addressed.
AdvantagesofaStarTopology
Easytoinstallandwire.
No disruptions to the network when connecting or removing
devices.
Easy to detect faults and to remove parts.
62
DisadvantagesofaStarTopology
Requiresmorecablelengththanalineartopology.
If the hub, switch, or concentrator fails, nodes attached are
disabled.
Moreexpensivethanlinearbustopologiesbecauseofthe cost of
the hubs, etc.
RingNetworkTopology
Ring topology is one of the old ways of building computer
network design and it is pretty much obsolete. FDDI, SONET or
Token Ring technologies are used to build ring technology. It is not
widely popular in terms of usability but incase if you find itanywhere
it will mostly be in schools or office buildings.
Hybrid Topology
Hybrid topologies are a combination of two or more different
topologies. WANs sometimes have hybrid topologies because they
connect a variety of LAN topologies. The big advantage of hybrid
topologies is that they connect disparate topologies. However, the
disadvantage of hybrid topologies is that they are potentially
complex to establish and manage.
Tree Network Topology
The top level of the hierarchy, the central root node is connected to
some nodes that are a level low in the hierarchy by a point-to-point
link where the second level nodes that are already connected to
central root would be connected to the nodes in the third level by a
point-to-point link. The central root would be the only node having
no higher node in the hierarchy. The tree hierarchy is symmetrical.
The BRANCHING FACTOR is the fixed number of nodesconnected
to the next level in the hierarchy. Such network must have at least
three levels. Physical Linear Tree Topology would be of a network
whose Branching Factor is one.
64
AdvantagesofaTreeTopology
DisadvantagesofaTreeTopology
Overalllengthofeachsegmentislimitedbythetypeofcabling used.
Ifthebackbonelinebreaks,theentiresegmentgoesdown. More
difficult to configure and wire than other topologies.
ConsiderationsWhenChoosingaTopology
Money. A linear bus network may be the least expensiveway
to install a network; you do not have to purchase
concentrators.
Lengthofcableneeded.Thelinearbusnetworkuses shorter
lengths of cable.