IT5551ComputerNetworks Test1 Sep2022
IT5551ComputerNetworks Test1 Sep2022
sterno:
DEPARTMENTOFI
NFORMATI ONSCI ENCEANDTECHNOLOGY
ANNAUNI VERSITY
AssessmentTest–I
Program:B.TechVsem Max.Marks:50
DateofExam: 26Sep2022 Dur
ati
on:90mins
I
nstructor
s:Ms.Mohanabindu
Ranj
aniPar
thasar
athi
I
T5551Comput
erNet
wor
ks
CO1 Highli
ghtthesignif
icanceoft hefunctionsofeachl ayeri
nthenetwork.
CO2 I
dent i
fyt
hedev icesandpr ot
ocolstodesignanet workandimplementit.
CO3 Buil
dnetwor kappli
cationsusi ngtherightsetofprotocol
sandestimatethei
rperf
ormances.
CO4 Tracepacketflowsandi nter
pretpacketformats.
CO5 Applyaddressi
ngpr inciplessuchassubnet ti
ngandVLSM f oreff
ici
entrouti
ng.
CO6 Explai
nmedi aaccessandcommuni cati
ontechniques.
BL-Bl
oom’
sTaxonomyLev
els
(L1-Remember
ing,
L2-Under
standi
ng,
L3—Appl
yi
ng,
L4—Anal
yzi
ng,
L5—Ev
aluat
ing,
L6-Cr
eat
ing)
Guidel
ines
Lev
elofQuest
ions LowerOrder I
nter
medi
ateOr
der Higheror
der
(L1andL2) (
L3andL4) (L5andL6)
RecommendedMar
k UG 2 0to35 Mini
mum 40 15t
o25
Dist
ri
but
ion(
%) PG 1 0to25 Mini
mum 50 15t
o25
Par
tCquest
ionmustbeofHi
ghOr
der
.Eit
herORChoi
ceshastobeofsameor
derr
elat
edt
othesameCO.
Mar
ksDi
str
ibut
ionCheckl
i
st
Quest
ion Marks/
CO Total Marks/
BL
CO1 CO2 CO3 CO4 CO5 CO6 Mar ks BL1 BL2 BL3 BL4 BL5 BL6
1 2 2 2
2 2 2 2
3 2 2 2
4 2 2 2
5 2 2 2
6 2 2 2
7 2 2 2
8 8 4 12 12
9 12 12 12
10 8 4 12 4 8
Total 12 18 12 8 50 2 24 14 2 8
Marks 24% 36% 24% 16% 100 4% 76% 20%
Distr
ibut
ion(
%)
Pr
ofessorI
nchar
ge
Answeral
lquest
ions
PARTA(
7X2=14mar
ks)
1. Warmupquesti
on:Esti
matethetraffi
cgenerat
edbyy ouperdayonanav
eragewhi
l
eusi
ngyourcel
l-
phone.
Consi
derv
oice,
text,
music,etc.
,thatyouexchange. (2)(
CO3/L3)
2. Fl
owcont
rol
isaf
unct
ionf
oundi
nthedat
ali
nkl
ayeraswel
last
het
ranspor
tlay
er.Whyi
sitso?
(
2)(CO1/L2)
4. Whatismeantbyast
atef
ul/stat
elessserver
?Whichty
peofser
verwoul
dy ouchooseforthefol
lowi
ng
appl
i
cati
onsandwhy?(i
)Airl
i
nereservati
on?(ii
)Acomput
eint
ensi
veweatherfor
ecastappli
cati
on?
(2)(CO2/L5)
5. Assumethatyouready
ourmail
usingamailagentfr
om y
ourmachineathome.Whenyoucometocol
l
ege
andtr
ytoreadthesamemail
,i
tisnotav
ail
able.I
sthi
spossi
ble?Whyorwhynot?Expl
ain.(
2)(
CO3/
L3)
6. SupposeaprocessinhostChasaUDPsocketwi t
hportnumber3456.I
ftwohostsAandBsendasegment
eachtohostCwi t
hdest i
nat
ionportnumberas3456,willbot
hofthesesegmentsbedirect
edtot hesame
socketathostC?Ifso,howwi l
ltheprocessathostCknowt hatt
hesetwosegmentsorigi
nat
edf rom t
wo
dif
fer
enthosts?I
fnot,whatwil
lhappen? (2)(CO2/L3)
PARTB(
2X12=24mar
ks)
8. (a)( i
)Iftheprocessi
ngateachl ay
eroft heprotocolt akes5msec,whatwi l
lbethet i
metakent oresolvea
domai nnameassumi ngthati
tisavail
ableint helocalDNSser ver?Assumet hattherei
sonl yoner outer
betweenanyt wonetworks.Assumeanav er
ageRTTof100msecf oraccessinganyremoteservert
hrougha
router,andanRTTof30msect oaccesst helocalserv er
.Whatwi llbethetimeifi
tisavail
ableonlyatthe
authoritati
veservert
hatistwoserver
saway?Showt helayer
str
av ersedwit
hadiagram.( 8)(CO1/L4)
(i
i)AssumethatthelocalDNSser
verisal
sotheproxyserver
.Aft
ert
heDNSresol
uti
on,
whatwillberesponse
ti
mef orarequestifthewebpagerequest
edis(A)avail
ableint
heweb-
cache?(
B)notavai
l
ableintheweb-
cache? (
4)(CO3/L4)
OR
(b)(
i)Considert
hefiguregi
venbelow.Assumeanet workapplicat
ionr
unni
nginpor
tnumber(PN1)onhostA
generatesdata"
INDIA".TheIPaddressesofA,R1,R2,R3,Bar eIP1,I
P2,I
P3,I
P4,I
P5respect
ivel
y.TheMAC
addressesofA,R1,R2,R3,BareM1, M2,M3,M4,M5r espect
ively.
Drawt hef r
amest
ruct
urewit
ht heful
ldetai
lsthatar
etr
ansmit
tedonL1,L2,L3,L4(Ref
erthesampl efr
ame
str
ucture;DLL-Ai
sdatalinklayeraddressi
ng;NL-Aisnetworkl
ayeraddressi
ng;TL-
Ai stransportl
ayer
addressing). (8)(CO1/L4)
(
ii
)DoesWebmailusePOP3,
IMAPornei
ther?I
foneoft
hese,
whywast
hatonechosen?I
fnei
ther
,whi
chone
i
sitcl
osert
oinspi
ri
t? (
4)(
CO3/L4)
9. (a)(i
)Consideran ARQ protocolthatusesonl
ynegat i
veacknowl
edgments(NAKs),and no posi
ti
ve
acknowl
edgements(ACKS).Descri
behowt hi
swoul
dwor k,andwhatt
ime-
outsneedt
obescheduled.Why
i
sanACK- basedpr
otocol
usuallypr
eferr
edtoaNAK-basedprot
ocol
? (4)(
CO2/L3)
(
ii
) ConsiderahostAsendingaf i
l
et ohostBov eraTCPconnecti
on.Supposethatt
heappl i
cat
ionathostA
wri
tesdat atotheTCPbuff
eratar ateof500by t
es/sec,andhostBreadsdatafrom i
tsbuf
feratarateof
250by t
es/sec.AssuminganRTTof1. 5secs,MSSof200by t
es,andamaxbuf fersi
zeof2Kby t
eson
ei
therside,showhowthetransferofdatatakesplace. (
8)(CO2/L3)
OR
(
b) (i
) Consi dertheuseof1000-bitfr
amesona1- Mbpssat el
l
itechannelwit
ha270mspr opagati
ondelayf
rom
AtoB.Whati st hemaxi
mum linkut i
l
izationfor(a)stop-
and-waitprot
ocol(
b)sl
idi
ngwindowpr ot
ocolwit
h
windowsi ze127?
(
4)(CO2/L3)
(i
i
)I fsli
dingwi ndow pr
otocolwi t
hsel ectiverepeatARQ,wi t
hwi ndow si
zeof4,isused,show thewindow
positi
onsf orthefol
lowi
ngsequenceofev ents: (
4)(CO2/L3)
A. Bef or
eAsendsanyf rames
B. Af terAsendsf r
ames0, 1,2andr eceivesACKf or0and1f rom B
C. Af terAsendsf r
ames3, 4,5andr eceivesACKf or5andNAK( Sel
ecti
ver
eject
)for4.
(
ii
i) Consi
dert
hataTCPconnect
ioni
sestabl
i
shedbet
weennodeAandB.I dent
if
ythesequenceofstate
tr
ansi
ti
onsatt
hetwoendswhenbothAandBdoasimultaneouscl
osebuttheFI
Nf r
om AtoBi slost.
(
4)(CO2/L3)
PARTC( 1X12=12mar ks)
10.(
i)Desi
gnanapplicat
ionl
ayerprotocolforahomeaut omat
ionappli
cati
on.Thecl
i
entsaredevi
cest hatneedtobe
sensedforparameterssuchast emperature,l
ight,etc.
,andcontrol
l
ed( t
urni
ngon/of
f,settemperature,et
c.)
.The
serverwil
lper
iodi
call
ypollthedev i
cesf orsensingandcont rol
.Givethedetai
lsofmessaget ypes,formatsand
sequence.
(
8)(CO3/ L6)
(
ii
)Int
erpr
ett
hef
oll
owi
ngWi
reshar
ksnapshot
: (
4)(
CO4/
L4)
(
a)Howlongdidi
ttakefrom whent heHTTPGETmessagewassentunt i
ltheHTTPOKr
eplywasreceived?
(
b)Whati
stheInt
ernetaddressoft hegai
a.cs.
umass.edu?
(
c)HowmanyHTTPr equestsar esenttotheser
ver,toret
rieveallt
heobject
s?Dowerequestal
ltheseobject
s
wi
thasingl
eTCPconnect ionordoweneedmanyTCPconnect ions?
(
d)Whatdotheheaderl
inesoft heHTTPmessageshowni ndicat
e?