Professional Documents
Culture Documents
AaKash CN 2019
AaKash CN 2019
2019]
FOURTH SEMESTER [BCA]
COMPUTER NETWORKS [BCA-210
Time: 3 hrs.
M.M.: 75
Note: Attempt five questions in all including question no. 1 which is compulsory. Select
each unit.
one question from
Disadvantages:
Bus Topology
traffic.
limited length and must be terminated properly at both
The bus cable has a
ends to
prevent reflected signals
is in use
than a ring network as data cannot
be transmitted while the bus
byo wer
by other nodes.
Fourth Semester, Computer Networks
20 19
Star topology:
Star Topol ogy
Switchnub
Easily upgraded from a hub to a switch or with with a higher performance switch.
Easy to install and to expand with extra nodes.
Disadvantages:
Uses the most cable which makes it more
expensive to install than the other two
topologies.
The extra hardware required such as hubs or switches
further increases the cost.
As the central computer controls the whole
system, the whole system will be
affected if it breaks down or if the cable link between it and
the switch fails.
I f the switch, the link to the server or the server
fails itself fails then the whole network
Mesh Topology:- In this
topology, each node is connected to every other node in the
network.
Computer
Computer Computer
Computer
Computer
Cornputer
I.P. University-[BCAJ-Akash Books 2019-5
Advantage of Mesh Topology
.Notraffic problem as there are dedicated links.
.It has multiple links, so if one route is blocked then other routes can be used for
data communication.
Q.2. (b) For the following topology, find the best path between each pair of
nodes maintained in routingr table using link state routing. Show the status of
routing table at router A. (6.5)
l'ourth 9omontor, Computor Notwork
(A
(D)
(-
Ans.
(A
D)
.. B)
A
F
3. Move F to permanent list and nove G to tentative list.
(A - -
E)
I.P. University-(BCA-Akash Books 2019-7
list and move D to tentative list
4. Move C to permanent
A 1
1
5. Move B to permanent list
1
6. Move E to permanent list
A
1
Do
1
.---
oplar Notworka
Semontor,
Wourth
H0019
poranont,
Iat
to
. Mov (
(A)
(D)®
()
tablo for A: Noxt Router|
Routing Cast
Node
A
B
C C
D
E
2 F
G ior data communication?
the different components required
Q.3. Discuss different layers & their functions
TCP/P models. Discuss
Compare 0SI and (12.5)
briefly. communication:
Ans. Components of data
Transmission Medium 4. Protocol
1. Sender 2. Receiver 3. Message 4.
Rule 1:
Rule 1:
Rule 2
Rule 2:
Protocol Protocol
Rule 1:||
Rule 1:
Message
Sender Receiver
Medium
1.
Message: The message is the information or data that is to be
may consist
commuthese.
of text,numbers, pictures,
sounds, videos or any(or data) is combinatlo ed
o or
2. Sender: A device that is used for sending messages sender
a video
It
is also called transmitter or source. The video
camera etc.
sender can be a computer, telephone, or a
Usually, a computer is used as sender in data stem.
communicatio
3. Receiver: A device that is used for receiving messages is called receiver.
fax machi
Itisa
also
known sink. The receiver can be a
as
fax1
etc. Usually, a computer is also used computer, telephone set, printer, or a stem.
as receiver in data
communicato1
I.P. University-[BCAJ-Akash Books
2019-9
Medium: The path through which data is transmitted (or sent) from one location
ather is called transmis81on medi um. It is also called communication channel. It
b e a wire, or fiber optic cable, or telephone line ete. If the sender and receiver are
may
aihin a building, a wire is uBed as the medium. If they are located at different locations,
ke medium may be telephone line, fiber optics, microwave or satellite system.
he
5. Protocol:A protocol 18 a set of rules that govern data communication. It represents
n agreement between the communication devices. Without a protocol, two devices may
an agre
e connected but not communicating, just as a person speaking French cannot be
understood by a person who speaks only Japanese.
Comparison between OSI andTCP/IP Model
OSI TCP/IP
OSI provides layer functioning and also TCP/IP model is more based on protocols
defines functions of all the layers and protocols are not flexible with other|
layers.
In OSI model the transport layer In TCP/AP model the transport layer does
rame
Data Link
MAC and LUC (Physical Addressing . Network Access
Bits Physical
Media, Slgnal and Binary Transmission
Computer Networks
Semester,
Fourth
10-2019
Model electrical
OSI m e c h a n i c a l and
specificati
a u
of ode delivery. It is is
synchronization
responsible
for node-to-node contCened wis concerned wit
Layer: It is and error control.
flow c o n t r o l and error
Link
2. D a t a addressing,
deliv ery o a
bits, physical to destination
the framing ofthe
source
responsible
Layer: It is
for the
Network Layer also knoPacket
works at etwork
packet
know Logical
3. Network The IP
address
networks. is routing
layer is routing of the packets
multiple Network one
across
Other important
job of router.
device called
using the
addressing.
network destination
lestination deliverv
livery of the ntire
to other source to
network
takes care
of and do notre
Transport
Layer: It the m e s s a g e
i n t o packets
any
4. divides
messaoo.
N e t w o r k layer layer divides
Whereas transport
in oorder,
Whereas
message. packets.
between those s h o u l d be
transferred intact and
relationship message
that whole
ensures
segments
and
to
destination.
dialog controller. It establishoa
from source network
Session layer is the Specific
cificsystems.
Layer: communication
synchronizes
maintains, and Control and
Synchronization.
a r e Dialog
the syntax and semantics of
the
responsibilities
concerned with
P r e s e n t a t i o n layer:
It is of presentation layer are
6. Responsibilities
between two systems.
information exchanged
and Compression. for services such a8
Translation, Encryption interface and support
user
layer: It provides shared database
management and other
7. Application transfer,
file a c c e s s and
electronic mail, remote services.
information
distributed
types of
TCP/IP Layers network layer
Network Layer: The physical
1. Network
Access/ Physical
to be used for
the network. For example,
the hardware
c h a r a c t e r i s t i c s of conmunications
specifies the c h a r a c t e r i s t i c s of the
specifies the physical IEEE 802.,
physical network layer describes hardware
standards such as
of TCPIP for standard
media. The physical layer and RS-232, the specification
Ethernet network media,
the specification for the OSI Model.
consist of physical and data link layer of areIP
pin connectors. It The c o r e protocols used at this layer ir
Internet Layer / Network Layer: datagrams
to tne
2. in directing
RARP etc.ARP assists IP
ICMP, IGMP, ARP and bits long) to know
Ethernet addresses (48
appropriate receiving system by
mapping
Internet Control Message Protocol (ICMP)
detecus
a
IP addresses (32 bits long). The
conditions. in
reports network e r r o r that packets art
3. Transport Layer: The TCP/IP transport
layer ensures and
ar
data reception,
acknowledgments of
sequence and
without error, by swapping eor
unication is end known as
retransmitting lost packets. This type of comm (TCP),
Transmission Control
Protocol
Pand
CPand
Transport layer protocols at this level are (SCTP).
Transmission Protocol
Datagram Protocol (UDP), and Stream Control
unreliable datagra .nd
SCTP provide reliable, end-to-end service. UDP provides an
Internet se layer
4.Application layer: The application layer defines standard
network applications that anyone can use. These services work with the tra