Computer Networks (Bca-210) : Examination
Computer Networks (Bca-210) : Examination
M.M.: 75
any five questions including Q no. 1 which
Note Attempt
se
is compulsory. Select
from each unit. one question
OSI Model: There are many users who use computer network and are located all
over the world. To ensure national and worldwide data communication ISO (IS0 stands
for InternationaB Organization of Standardization.) developed this model. This is called
a model for open system interconnection (OSI) and is normally called as OSI model.oSI
model architecture consists of seven layers. It defines seven layers or levels in a complete
communication system.
protoc
offers
deseribe the
ovement
addressing
sehenes Thia
nodel ie
of defe1se It is
also called the
and
p l e naming department
model sime
tuerne
etm
it was
for the
designed
protocul
ued
internet.
on the
e¢aluse T C P P is the
Computer Networks
Fourth Semester,
2-2017
0SI
TCP/IP
sevClayer model tourNaycr model
Applicaton
Presentatlon
*****°**.
Appication
Session
Trrarnspxrt
Transport
Network
*****"'V
Intcricl
Data-link
Network
Physical
Server
Laser
printer Scanner
Router
routing function is
performed by host computer, which controls the
between two computers. co
1.P University-|BCA-AB Publisher
2017-3
HUB Router
Laser
Printer
unaffected
(3) If local computer fails, the network remains
Disadvantage of Star Network
If it falls the entire network fails.
1. System depends on central host computer.
is connected to two ofits neighbor forming
(c) Ring Topology: In this each computer central A node can receive
There is no computer.
a circular arrangement of computers. will it
nodes. If the data is for it's own use, it
consume
Router
Laser printer
Network
Advantage of Ring
1. No data collision
network
2. More reliable than star 1s present
computer
when no central
5. Works well even
Forth Momestnr, tn putor Mntmaka
9017
Network
DHsadvantage of Nar
propnrlional
ln the n u m l n r tf ndln
i directly
Ielay
p n A h 6 (nta ty t e t
Earhcompaler requires nollwar
compare
to t a r nat wrk
ow An
njnth f4nnfistat
In thin topoloy is tdie
id Mesh Tvpology
K p u t e r in
the network
edicated link between ovory romputer
are
frequencies *ea
Channel 1D
Channel 12 M
Channel 3
X
1.P. University-{BCAJ-AB Publisher
2017-5
handwidth ranges of the channels through which the various
hy ufficient bandw
sig WaveDivision
Div Multiplexing: WDM is an analog process. It is similar to the FDM.
is the same
bu different in
s a m e but
frequency. The frequencies are very high. This technique
The
mbining difterent signals
combining differ of different frequencies. But it. is specifically used to
mbine lots of Optical Carrier signals into a single optical fiber. WDM uses fiber
eal cable to transmit the signal. Combining and splitting of light sources are easily
adled by a prism. A prism bends a beam of light based on the angle of incidence and
frequency. Using this technique, a multiplexer can be made to combine
enut beam of light, each containing a narrow band of frequencies, into one outputseveral
beam
afa wider band of frequencies. A demultiplexer can also be made to reverse the process.
E
U M
x
TDM WDM
FDM
Digital Techniqe Anolog Technige
Anolog Techniqe Fiber optic cable are used for
Wire cables are used
Wire cables are used transmission.
for transmission
for transmission
Total frequency bands are
Total frequency bands Total available time is
divided into several divided into several users.
are divided into several
users users
Transmission of two or A multiplex system for
A multiplex system for transmitting two or more
more signals on the
transmitting two or more light signals over the same
Signals over a common same path, but at different
fiber optic cable.
times.
path by using a different
frequency band for each
signal.
Fourth Semester, Computer Networks
6-2017
TDM unply partitioning Use of pnsm to
the signal is multipleved
ome from different
the bandwidth of the combine
several light beams
channel connection two one and then to
into
sourres tranamitters DE
nodes into infinite set multiplex them
oftime slots
Cmplexity is mhoderate Complevity is moderate Complex to achieve
U'sed in Radio and cable Used in ISDN Used heavy data
tranafer
1.(e) Disceribe three Internetworking Devices.
Ans. An internetworking device is a widely-used term for any hardware 5
networks that connect different network resources. Key devices that comprisea e wit
are routers. bridges, repeaters and gateways. All devices have separately ins
swpe features. per network requirements and soenarios. installed
Routers: Routers Are networking devices used to
extend or segment networks by forwarding packets
from one logical network to another. Routers are most
often used in large internetworks that use the TCP/IP
protocol suite and for connecting TCP/IP hosts and
local area networks (LANs) to the Internet using
dedicated leased lines.
Routers work at the network layer (layer 3) of the Open Systems
OSD reference model for networking to move packets Interconnection
between networks using their
logical addresses (which, ia the case of TCPAP, are the IP addresses of destination
hosts on the network). Because routers operate at a higher OSI level than
bridges dn
they have better packet-routing and filtering capabilities and greater processing pome
which results in routers costing more than bridges.
Bridges: A bridge is used to join two network segments together, it allows
computers on either segment to access resources on the other. They can also be used to
divide large networks into smaller segments. Bridges have all the features of
but can have more nodes, and since the network is divided, there is repeaters
fewer computers
competing for resouroces on each segment thus improving network performance.
Bridges can also connect networks that run at different speeds, different
or different
protocols. But they cannot, join an Ethernet segment with a Token topologies,
segment, because these use different networking standards. Bridges operate at Ring both
the Physical Layer and the MAC sub-layer of the Data Link
MAC header of each frame to determine on which side of layer. Bridges read the
the bridge the destination
device is located, the bridge then repeats the
transmission to the segment where the
device is located.
Repeater: A repeater operates at the physical layer. Its job is to regenerate the
signal over the same network before the signal becomes too weak or
extend the length to which the signal can be transmitted over the samecorrupted so
network.as
A
important point to be noted about repeaters is that they do no
the signal becomes weak, they amplify the signal. When
copy the signal bit by bit and regenerate it at the orng
strength. It is a 2 port device.
Gateways: Agateway is a device used to connect networks tomls
using different proto
Gateways operate at the network layer of the OSI model. In order wth
Before failure
EEA
{B)
After failure
(A)- {B)
After A receives
update from B
x) )
After B receives 4
update from A (A 8
E E
Finall
A
Pourth Semester, Computer Networks
-21917
its rrating table to A first
3b Horwever, if node B sends
a s e u m e s that B has found
a way to reach
Node A
its update to B and B aleo update its routing table
4. A Bends new
nfinity
Then both A and B knows that the link is
broken
6
As a result, during the time before cost reaches infinity
A packet destined for X bounces between A andB
Create a two-node loop problem
Solutions to the two-node loop problem: Defining infinity
Split horizon
Split horizon and porison reverse
Defining Infinity: Redefine infinity to a smaller number which shortens the
time
of instability.
Moat implementation define the distance between each node to be 1 and define
16 as infinity
As a result, the distance vector scheme cannot he used in large system and the
size of network, in each direction, can not exceed 15 hops
Split Horizon: Do not flood the table through each interface and a router must
distinguish between different interface.
I f a router receíved route updating message from an interface This same updated
information must not be sent back through this interface Since the information has
n e frorn the ending one
RIP
Ne3
E receives information about Netl and Net2 through its left interface
This infornation is updated and passed on through the right interface but not to
the left
Thus, in the figure of two-node instability
Node B elimínates the last line of its routing table before it sends to A
Node A then keeps the value ofinfinity as the distance to X
Later when A sends its routing table to B
B then correct its routing table
The system becomes stable after the first update
Bonh node A and B know that X is not reachable
Split Horizon and Poison Reverse:
Drawback of wplit horizon C
Distance vectr uses a tímer
I.P. University-|BCAJ-AB Publisher 2017-9
If there is no news about a route within the time duration
Delete the route
Since Node B eliminates the route toX
Node Acannot decide it is due to split horizon or because B has not received any
about X recently
pews
Solution to the above drawback is Split Horizon and Poison Reverse which is a
horizons.
ariation of split
.Information received is used to update routing table and then passed out to all
nterface
However, a table entry is set to a metric of infinity as it's Come through and goes
out interface are the same
For example
Router Bhas received information about Netl and Net2 through its left interface
Thus, it sends information out about Netl and Net2 with a metric of 16 to its left
interface (assume 16 is infinity)
Net2 1|Ne 16
Net2 16|Net2 1
UNIT-I
Q.2. Describe different technical specifications of UTP, Coaxial cable and
Fiber optic cable as transmission media, (12.5)
Ans. Unshielded Twisted Pair Cable:
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 coloured 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 use RJ-45 connector.
CAT-1 through CAT-5 by
Unshielded twisted-pair cable is divided into categories enhancements
the Electronic Industries Association (EIA). There are
alsoproprietary
better performance over longer distances.
to the CAT-5 specification that allow for even
shown in Table 1. These standards
The EIA provides specifications for UTP cable, as
R.J-1l connectors,
apply to four-pair UTP. UTP uses RJ-45 and
TABLE 1: UTP Specifications
Performance Application
Type of UTP |
CAT-1 None None
CAT-2 1MHz Telephone Wiring
10BaseT. Token Ring 4 Mbps, ISDN low speed
CAT-3 16MHz
Token Ring 16
CAT-4 20MHz
100BaseT. 100 VG-AnyLAN, Token Ring 20 Mbps|
CAT-5 100MHz
Fourth Somestor, Computor Networkw
10-2017
Coaxial Cable
Coaxial iN Called by thia name because it containa two conductors that aro.
each other. Coppor is used in this as contre conductor which can be ARlidarallel t
standand one. It is surrounded by PVC installation, a sheath which is re or
foil, barid or both. in an
outer eonductor of netal
Outer metallic wrapping is used as a shield agninst noise and as the second cond.
which completes the circuit. The outer conductor is also encased in an ingulatin ct
The outermost part is the plastic cover which protects the whole cable.
TABLE 2. Various Types of Coaxial Cable and TheirApplications
Cable Type Impedanco Application
RG-59 75 ohms Cable TV
RG-58 50 ohms, 5 mm in diameter 10Base 2 or Thin Net
RG-11 and RG-8 50 ohms. 10 mm in diameter 10Base 5 or Thick Net
Coaxial cable was widely used in analog telephone networks, where a singla
coaxial network could carry 10,000 voice signals. le
Cable TV networks also use coaxial cables. In the traditional cable TV network
the entire network used coaxial cable. Cable TV uses RG-59 coaxial cable.
In traditional Ethernet LANs. Because of it high bandwidth, and
consequence
high data rate, coaxial cable was chosen for digital transmission in early Ethernet
LANs. The 10Base-2, or Thin Ethernet, uses RG-58 coaxial cable with BNC
to transmit data at 10Mbps with a range of 185 m. connectors
Fiber Optic Cable: A fibre-optic cable is mada of glass
signals in the form of light.
or plastic and transmits
Optical fibres use reflection to guide light through a channel. A glass or plastic core
is surrounded by a cladding of
less dense glass or plastic. The difference in density of
the two materials must be such that a beam
off the cladding instead of
of light moving through the core is reflected
being
refracted into it.
Cladding
Sender Core
Receiver
Cladding
Internal view of an Optical fibre
Propagation Modes: Current technology
supports two modes
Single mode) for propagating light along optical (Multimode an
different physical characteristics. Multimode channels, each requiring fibre wu
can be implemented
in two forms: 5tep"
index and Graded-index.
Mode
Multimode
Single mode
Step index
Graded index
I.P. University-{BCA-AB Publisher 2017-11
14imode: Multimode is so named because multiple beams from a light source
through the core in different paths. How these beams move within the cable
the structure«of the core as shown in the below
dependson figure.
Source Destination
Source Destination
Source
JUL
Destination
.Single mode
core remains constant from
I n multimode step-index fibre, the density of the
this constant density in a straight
the centre to the edges. A beam of light moves through
line until it reaches the interface of the core and the cladding.
which contributes to
The step-index refers to the suddenness of this change,
term
the fibre.
the distortion of the signal as it passes through
decreases
through the
In multimode graded-index fibre, this distortion gets
refraction. This index of refraction is
index of
cable. The word index here refers to the
is one with varying densities.
related to the density. A graded-index fibre, therefore,
the core and decreases gradually to its lowest at the
Density is highest at the centre of
edge.
fibre and a highly focused source of
Single Mode: Single mode u s e s step-index
of all close to the horizontal. The
light that limits beams to a small rangewithangles,
a much smaller diameter than that of
single-mode fibre itself is manufactured
lower density.
multimode fibre, and with substantially
The decrease in density results in a critical angle that is close enough to 90 degree
almost horizontal.
O make the propagation of beams
Fibre Sizes: Optical fibres are defined by the ratio of the diameter or their core too
diameter of their cladding, both expressed mmcrometers. The common sizes are
in
the
shown in the figure below:
Semester,
Computer Networks
Fourth
12-9201
Cladding (um) Mode
C'ore (um)
Tpe
12 Multimodo, graded index
M12
12 Multimode, graded indey
19
62
126 Multimode, graded indey
100
125
Single mode
is used for cable TV t
Channel(SC) connector u8es push/pu
The Subseriber used for connecti
connector is uses
nelwrking
Diseuss the following:
.3.
a ) D T E - C E Interface
(12.5)
terms related to computer networking.
Ans. The fwo important
DTE-DCE Interface
DTE-DCE stndards try to desine the mechaaical.|
electrwal. and functional
coniecton between thecharacteristics
DTE andDCE
of
Network
DCE
DTE DCE
DTE
Lhis example you PC is a Data 'Terminal (DTE). The two modems (yours and that
In th
ovider)
your provid are DCEs, they make the communication between you and your
e nO8sible. But now we have to look at the server of your provider. Is that a DTE
p w v i d e
he answer is a DTE. It ends the communication line between you and the server.
whough it gives you the possibility to surf around the globe. The reason why it is a
TEis that when you want to gofrom your provides'server to another place it uses
ther interface. So DTE and DCE are interface dependent
Modems (modulators/demodulators) are data communication devices that convert
diorital signals to analog signals, and vice versa. Modems allow digital transmissions
er analog telephone lines. They allow people to connect their computers with other
a puters, corporate office LANs, and the Internet. Modems are used to establish
ennections of the telephone company's local loop, which is the analog copper cable that
runs between homes and businesses to the telephone company central office (CO). The
ohone company then switches the call like any other voice call to create a point-to-point
ink to the destination.
The VSeries recommendations from the International Telecommunication Union
CTU) are listed below. They include the most commonly used modem standards and
other telephone network standards.
V.22 Provides 1200 bits per second at 600 baud (state changes per second).
The first true world standard, it allows 2400 bits per second at 600
V.22bis
baud.
V.32 Provides 4800 and 9600 Bits per second at 2400 baud.
Provides 14,400 bits per second or fallback to 12,000,9600,7200, and
V.32bis
4800 bits per second.
Provides 19,200 bits per second or fallback to 12,000,9600,7200, and
V.32terbo data rates with
4800 bits per second; c a n operate at higher
standard.
compression; was not a CCITT/ATU
and 19,200 bits
V.34 Provides 28,800 bits per second or fallback to 24,000
with V.32 and V.32bis.
per second and backwards compatibility
to 31,200 or V.34
V.34bis Provides up to 33,600 bits per second or fallback
transfer rates.
network access device and a packet
V.35 The trunk interface between a
19.2 Kbps. V.35 may use the
network at data rates greater than
circuits as a group. There are V.35
bandwidths of several telephone
Gender Changers and Adapters.
and other standards but with
V42 Same transfer rate as V.32, V.32bis,
therefore more reliable.
better e r r o r correction and
second downstream (but in practice
V.90 Provides up to 56,000 bits per
from the x2 technology of 3Com (US
somewhat less). Derived
Robotics*and Rockwell's
K56tlex technology.
modem specification from the ITU
V.92 V.92 is the n e w dial-up
Telecommunications Union) that introduces three
new
(International
add convenience and performance
for the modem
features that will
Modem-On-Hold and PCM
user. The three
features are Quick Connect,
Upstream.
Notworks
14-2017 Fourth Somestor, Computer
Tranwmiswsion Impairmonts.
Q3. (b) Difforent types of are not perfect
transmission medin, which
Ans. Signals travol through at the begin. The
This méans that the signal
imperfection causos signal impairment. the end of the medium. What is se
of
the signal at
the medium is not tho samo an
aro attenuation, distortion, and
what is received. Three causos ofimpairment
loas energy. When signal,
a simple or composite travel
1.Attenuation means a of the resi
medium, it loses of its energy in overcoming
some t esistance of
through a electric signals gets warm, if not hot, after a e
medium. That is why a wire carrying
is converted to heat. To compensate
Some electrical energy in the signal
of the this
used to amplily the signal.
loss, amplifiers are
Artenuated Amplifed
Original
AA AA
Amplier
AM
Point Transmisslon medium Point 2 Point 3
2. Distortion means that the signal changes its form or shape. Distortion can ocur
in a composite signal made of different frequencies.Each signal component has its own
propagation speed through a medium and, therefore, its own delay in arriving at the
final destination. Differences in delay may create a difference in phase if the delayis
riot exactly the same as the period duration. In other words, signal components at the
receiver have phases different from what they had at the sender. The shape of the
composite signal is therefore not the same.
Composte sgnal
ent
AA
AAAA
AA
AA- M
Composte signa
ceed
AAAAAAA, AAAA
Component
n phase ConponenNs.
nut ol phase
AL tUe ser1cder
At the reneNer
3. Noise is another cause of
noise, induced noise, impairment. Several types of noise, suCn a
crosstalk, and impulse rmal
motion of electrons in a noise, may corrupt the signaa pot
noise is the random
originally sent by the transmitter. wire which creates an
and Induced noise comes from sou
extra as m
ources such o8otors
appliances.
acts as the
These devices act as a
sending antenna, and the
m e d i u m
Transmitted
Nolse Received
AA AANAM