Professional Documents
Culture Documents
Computer Network Pyqs-1
Computer Network Pyqs-1
19)What do you mean by IEEE. The full form of IEEE is the Institute of Electrical and
Electronics Engineers. IEEE is a technical professional society dedicated to advancing tech and
innovation.20)What is the minimum and maximum payload length of IEEE 802.3
MAC frame. In the standard IEEE 802.3 Ethernet specification, the minimum frame size was 64
bytes and the maximum was 1518 bytes 21)Define latency. The latency defines how long it takes
for an entire message to completely arrive at the destination from the time the first bit sent out from
the source.Latency=propagation time+transmission time+Queining time+processing delay
which they have been sent by the sender. 4)What are desirable properties of routing
algorithm ? explain. Desirable Properties of Routing Algorithms:- 1)Correctness and
Simplicity2)Robustness: Ability of the network to deliver packets via some route even in the face of
failures.3)Stability: The algorithm should converge to equilibrium fast in the face of changing
conditions in the network.4)Fairness and Optimality5)Efficiency: Minimum overhead. 5)Explain
CSMA/CD. i)Collision Detection is an Analog process.ii)The stations hardware must listen to
the channel while it is transmitting.If the signal it reads back is different from the signal it is
putting out,it knows that the collision is occurring.iii)If two or more stations decide to
transmit simultaneously there will be a collision.If a station detects a collision,it aborts its
transmission,waits a ransom period of time,and then tries again therefore,CSMA/CD will
consist of alternating contention and transmission periods,with idle periods occurring when
all stations are quite.
to
2)VLAN 1: It is the default VLAN of switches. By default, all switch ports are in VLAN. This VLAN can’t
be deleted or edit but can be used.3)VLAN 2-1001: This is a normal VLAN range. We can create, edit
and delete these VLAN.4)VLAN 1002-1005: These are CISCO defaults for fddi and token rings. These
VLAN can’t be deleted.5)Vlan 1006-4094: This is the extended range of Vlan. 17)Explain the
factors affecting the performance of Network. i)Bandwidth: The term can be used in two
different context with two different measuring values : bandwidth in hertz and bandwidth in bits per
second.ii)Throughput : It is a measure of how fast we can actually send data through a network.A link
may have a bandwidth of B bps but we can only send T bps through thislink with T is always less than
B.iii)Latency : The latency or delay defines how long it takes for an entire message to completely
arrive at the destination from the time the first bit sent out from the source.We can say that latency is
made of four components : i)propagation time ii)transmission time iii)Queining time iv)Processing
time. Latency=propagation time+transmission time+Queining time+processing delay.iv)Bandwidth
delay product : bandwidth and delay are two performance metrics of a link.The bandwidth delay
prduct defines the number of bits that can fill the link.v)Jitter : Another performance issue that is
related to delay. Jitter is a problem if different packets of data encounters different delays & the
application using the data at the receiver site is time sensitive. 18)What is Pipelining ? Explain
Selective Repeat and Go back n.i)To achieve better efficiency sender can transmit ‘w’ frames
instead of 1 , the acknowledgement for frame 1 arrives thus eliminating the sender’s waiting period.
The senders window size is w, This technique is used when propagation delay is substantial and the
line can be kept busy during this time known as pipelining.ii)Go back n : The receiver simply discards
the damaged frame and all subsequent ones , sending no acknowledgement.This corresponds to a
receiver window size of 1.It accepts frame only in order.The sender will eventually time out and
retransmit all unacknowledged frames.iii)selective repeat :Receiver discards the damaged frame but
stores all correct frames following the damaged or lost one.When the sender does not get an
acknowledgement is transmits only the bad one and not all the subsequent one.19)What is
Computer network ? Describe any four goals of computer Network.i)Computer
Network means a collection of autonoumous computers interconnected by a single technology.Two
computers are said to be interconnected if they able to exchange information.Networks come in
many size an shape .Internet is a network of networks.ii) Goals of Computer network : 1)Resource
sharing :It is to create all the programs , data hardware access to anyone on the network without
considering the resource physical area and the client.ii)Scalability : A Systems performance can be
improved by inserting one or more processors into it as its workload grows. iii) Reliability : Network
supports reliability by acquiring a different authority of supply. iv)Communication Medium :
Computer network offers a powerful communication medium. The different user on the network can
immediately identify a document that has been refreshed on a network.v)Save money :Small
computers have a much excellent value propagation than higher ones. Mainframes are approximately
a method ten times quicker than quickest single-chip microprocessors but they cost huge number of
times more.20) Compare and contrast OSI and TCP/IP model. Differences :i)OSI : OSI
reference model implements 7 layer Architecture(Physical,data link
layer,Network,Transport,Session,Presentation,Application).In this model physical layer and data link
layer performs different functions and activities.OSI Network layer provides connection-Oriented and
connectionless services both.OSI Transport Layer provides Connection oriented service only.In OSI
reference model Interfaces are clearly defined.ii)TCP/IP :TCP/IP reference model implements 4 layer
Architecture(Link,Network,Transport,Application).TCP/IP combination of physical layer and data link
layer acts as a single layer called link(Host to Network).TCP/IP network layer provides connection less
service only.TCP/IP transport layer provides connection oriented and connectionless service both.In
TCP/IP model Interfaces are not clearly defined.Similarities : Both are layered network model.Based
on the concept of an independent protocol stack.Functionalities of the network , transport and
application layers are similar.Higher layers are end-to0end layers whereas the lower ones deal with
host to intermediate process.21)Explain characteristics of line coding. i) Signal Element Vs
Data Element : Data Element – A data Element is the smallest entity that can represent a piece of
information this is the bit.Data Elements are what we need to send.Data elements are being carried.
Signal Element – A signal element carries data elements , A signal element is the shortest unit of a
digital signal.Signal elements are what we can send. ii) Data rate Vs signal Rate : Data rate defines the
number of data elements(bit) send in 1s.The unit is bits per second(bps).Data rate sometimes called
bit rate.The signal rate is the number of signals elements send in 1s.The unit is baud.The signal rate is
sometimes called the pulse rate.iii)DC component : When the voltage level in a digital signal is
constant for a while , the spectrum creates very low frequencies.These frequencies around zero called
DC(Direct-Current) components.22)Explain 1 bit sliding window.i) Sliding window protocol is
Simplex data transfer i.e one diection only.In sliding window protocol, the data link layer of the sender
and receiver maintains a set of sequence numbers corresponding to frames it is permitted to sed and
receive respectively. This lists are called ‘sending window’ and ‘receiver windows’ii)Size of sending
and receiving window is 1 i.e the sender can send only one frame at a time and receiver can receive
only one one frame at a time.iii)sender transmits a frame and waits for an acknowledgement before
sending the next one.iv)Since only one frame is sent or received at a time a one bit sequence number
is enough. Sequence number are 0 and 1.23)Define Bridge. Compare Transparent
Bridges with Source Routing bridges.Bridge – A bridge operates at the data link layer. A
bridge is a repeater, with add on the functionality of filtering content by reading the MAC addresses
of the source and destination. It is also used for interconnecting two LANs working on the same
protocol. It has a single input and single output port, thus making it a 2 port device.Types of
Bridges 1)Transparent Bridges:- These are the bridge in which the stations are completely unaware
of the bridge’s existence i.e. whether or not a bridge is added or deleted from the network,
reconfiguration of the stations is unnecessary. These bridges make use of two processes i.e. bridge
forwarding and bridge learning.2)Source Routing Bridges:- In these bridges, routing operation is
performed by the source station and the frame specifies which route to follow. The host can
discover the frame by sending a special frame called the discovery frame, which spreads through
the entire network using all possible paths to the destination. 24)Explain Elementary data
link layer protocols? Transforms a row transmission facility into a line that appears free of
undetected transmission error.Error free transmission.Functions of Data link layer : i)Framing :
Streams of bits is divided into logical units called frames.ii)Error control:Detect and correction of
errors.iii)Flow control : Fast sender does not overwhelm a slow receiver.iv)physical addressing :
Identifies machine using physical address.v)Multiple access control :Access the shared communication
channel between multiple machines.25)why Sliding window protocol needed ?
compare Go back n and selective repeat.i)Sliding window protocol is Simplex data transfer
i.e one diection only.In sliding window protocol, the data link layer of the sender and receiver
maintains a set of sequence numbers corresponding to frames it is permitted to sed and receive
respectively. This lists are called ‘sending window’ and ‘receiver windows’ii) Go back n : Receiver
window is of size 1.Any intermediate frame lost or garbaned no further frames will be accepted.
Unnecessary Retransmission. Suitable in network where error rate is very low(zero error).Sender
window is 1 less than to the total sequence number available.iii)Selective Repeat :Receiver window is
of size greater than 1.Any intermediate frame lost or garbaned buffer will kept & further frames will
be accepted. Retransmission of only last and garbaned frame.Suitable in network where error rate is
comparitavely high.Sender window is ½ to the total sequence number available. 26)Explain Frame
Format of HDLC protocol.i)HDLC Protocol is derived from data link layer protocol used in IBM
Mainfrait.ii)Uses bit stuffing for framing. Designed to support all half duplex , full duplex
communication over point to point as well as multipoint.iii)ARQ (Automatic Repeat Request)
Mechanism used