




版權說明:本文檔由用戶提供并上傳,收益歸屬內容提供方,若內容存在侵權,請進行舉報或認領
文檔簡介
Chapter3TransportLayer1.Atransport-layerprotocolprovidesformunicationbetween____.AApplicationprocessesBHostsCRoutersDEndsystems2.Transport-layerprotocolsrunin____.AServersBClientsCRoutersDEndsystems3.Intransportlayer,thesendsidebreaksapplicationmessagesinto____,passestonetworklayer.AFramesBSegmentsCData-gramsDbitstreams4.Servicesprovidedbytransportlayerinclude____.AHTTPandFTPBTCPandIPCTCPandUDPDSMTP5.WhichofthefollowingservicesisnotprovidedbyTCP?ADelayguaranteesandbandwidthguaranteesBReliabledatatransfersandflowcontrolsCCongestioncontrolsDIn-orderdatatransfers6.Thesetwominimaltransport-layerservices----____and____----aretheonlytwoservicesthatUDPprovides!Aprocess-to-processdatadelivery,errorcheckingBcongestioncontrol,reliabledatatransferCflowcontrol,congestioncontrolDIn-orderdatatransfer,errorchecking7.Portnumber’sscopeis____to____.A0,1023B0,65535C0,127D0,2558.Theportnumbersrangingfrom____to____arecalledwell-knownportnumberandarerestricted.A0,1023B0,65535C0,127D0,2559.UDPsocketidentifiedbytwocomponents,theyare____.AsourceIPaddressesandsourceportnumbersBsourceIPaddressesanddestinationIPaddressesCdestinationIPaddressanddestinationportnumbersDdestinationportnumbersandsourceportnumbers10.TCPsocketidentifiedbya(an)____.A1-tupleB2-tupleC3-tupleD4-tuple11.WhichofthefollowingapplicationsnormallyusesUDPservices?ASMTPBStreamingmultimediaCFTPDHTTP12.
Reliable
data
transfer
protocol
over
a
perfectly
reliable
channel
is____.
A
rdt1.0
B
rdt2.0
C
rdt3.0
D
rdt2.1
13.
Reliable
data
transfer
protocol
over
a
channel
with
bit
errors
and
packet
losses
is
____.
A
rdt1.0
B
rdt2.0
C
rdt3.0
D
rdt2.1
14.
Which
of
the
following
about
reliable
data
transfer
over
a
channel
with
bit
errors
is
not
correct?
A
RDT2.0:
assuming
ACK
and
NAK
will
not
be
corrupted
B
RDT2.1:
assuming
ACK
and
NAK
can
be
corrupted
C
RDT2.2:
only
use
ACK-s
D
RDT2.2:
use
both
ACK-s
and
NAK-s
15.
Which
of
the
following
protocols
is
not
pipelining
protocols?
A
TCP
B
rdt3.0
C
GO-BACK-N
D
selective
repeat
16.
Which
of
the
following
is
not
correct
about
GBN
protocol?
A
Only
using
ACK-s
B
Using
cumulative
ACK-s
C
Receiver
discards
all
out-of-order
packets
D
It
is
not
pipelined
protocol
17.
Which
of
the
following
is
not
correct
about
SR
protocol?
A
receiver
individually
acknowledges
all
correctly
received
packets
B
sender
only
resends
packets
for
which
ACK
not
received
C
It
limits
sequence
number
of
sent
but
un-ACK-ed
packets
D
It
is
not
a
pipelined
protocol18.WhichofthefollowingaboutTCPconnectionisnotcorrect?AItisabroadcastconnectionBItisapoint-to-pointconnectionCItisapipelinedconnectionDItisafullduplexconnection19.TheSYNsegmentisusedfor____.ATCPconnectionsetupBTCPflowcontrolCTCPcongestioncontrolDClosingaTCPconnection20.TheFINsegmentisusedfor____.ATCPconnectionsetupBTCPflowcontrolCTCPcongestioncontrolDClosingaTCPconnectionHowdoesTCPsenderperceivecongestion?AThroughatimeouteventBThroughareceivingduplicateACK-seventCBothAandBDEitherAorB22.Extendinghost-to-hostdeliverytoprocess-to-processdeliveryiscalledtransport-layer____and.Amultiplexingandde-multiplexingBstoringandforwardingCforwardingandfilteringDswitchingandrouting23.UDPisa____servicewhileTCPisaconnection-orientedservice.AConnectionlessBReliableCConnection-orientedDIn-order24.TheUDPheaderhasonlyfourfields,theyare____.ASourceportnumber,destinationportnumber,lengthandchecksumBSourceportnumber,destinationportnumber,sourceIPanddestinationIPCsourceIP,destinationIP,sourceMACaddressanddestinationMACaddressDsourceIP,destinationIP,sequencenumberandACKsequencenumber25.Thereareegers:1110011001100110,1101010101010101.Theirchecksumis____.A0011B1100C1111D0000Themaximumamountofdatathatcanbegrabbedandplacedinasegmentislimitedbythe____.AMaximumsegmentsize(MSS)BMTUCChecksumDSequencenumberTheMSSistypicallysetbyfirstdeterminingthelengthofthelargestlink-layerframethatcanbesentbythelocalsendinghost----theso-called____.AMaximumtransmissionunit(MTU)BMSSCChecksumDSequencenumber28.AFilesizeof500,000bytes,MSSequals1000bytes.WhenwewanttotransmitthisfilewithTCP,thesequencenumberofthefirstsegmentis0,andthesequencenumberofthesecondsegmentis____.A1000B999C1001D500000BecauseTCPonlyacknowledgesbytesuptothefirstmissingbyteinthestream,TCPissaidtoprovide____.ACumulativeacknowledgementsBSelectiveacknowledgementsC3duplicateACKsDpositiveACKs30.Providedα=0.125,currentvalueofEstimated-RTTis0.4s,Sample-RTTis0.8s,thenthenewvalueofEstimated-RTTis____s.A0.45B0.6C0.7D0.8ProvidedRcvBuffer=20,LastByteRcvd=20,LastByteRead=15,thenRcvWindow=____.A14B15C16D1032.TCPservicedoesnotprovide____.AReliabledatatransferBFlowcontrolCDelayguaranteeDCongestioncontrol33.TherearetwostatesinTCPcongestioncontrol,whichare____.AslowstartandcongestionavoidanceBsafestartandcongestionavoidanceCslowstartandcongestionabandonDsafestartandcongestionabandon34.Thetransport-layerprotocolprovideslogicalcommunicationbetween____,andthenetwork-layerprotocolprovideslogicalcommunication____.Ahosts,processesBprocesses,hostsCthreads,processesDprocesses,threads35.
To
implement
the
multicast
services
the
Internet
employs
the
____
protocol.
A
FTP
B
TCP
C
IGMP
D
UDP
36.Ifanapplicationdeveloperchooses____protocol,thentheapplicationprocessisalmostdirectlytalkingwithIP.AHTTPBRIPCCSMA/CDDUDP37.____maintainsconnection-stateintheendsystems.Thisconnectionstateincludesreceiveandsendbuffers,congestion-controlparameters,andsequenceandacknowledgmentnumberparameters.AUDP BTCP? CDNS DHTTP38.ThehostthatinitiatesthesessionintheInternetislabeledas____.Aserver?Buseragent?Cclient??Drouter39.WithTCPthereisno_____betweensendingandreceivingtransport-layerentities.Aflowcontrol BhandshakingC.congestioncontrol DVCsetup40.TheInternet’s____servicehelpspreventtheInternetfromenteringastateofgridlock.Adatagram? ? BcongestioncontrolCslidingwindow? Dtimeoutevent41.Connectionsetupatthetransportlayerinvolves____.Aserver ? ?BonlythetwoendsystemsCclient ? Drouter42.A____layerprotocolprovidesforlogicalcommunicationbetweenapplications.AtransportBapplicationCnetworkingDMAC43.Instaticcongestionwindow,ifitsatisfiesW*S/R>RTT+S/R,theLatencyis____.AW*S/R–(RTT+S/R)B2RTT+O/RC2RTT+O/R+(k-1)[W*S/R-(RTT+S/R)]D2RTT+S/R44.Thereceivesideoftransportlayerreassemblessegmentsintomessages,passesto____layer.AApplicationBNetworkingCPhysicalDMAC45.Inthefollowingfouroptions,whichoneiscorrect?AThevariationsintheSampleRTTaresmoothedoutinthecomputationoftheEstimatedRTTBThetimeoutshouldbelessthantheconnection’sRTTCSupposethatthelastSampleRTTinaTCPconnectionisequalto1sec.ThenthecurrentvalueofTimeoutIntervalwillnecessarilybe≥1secDSupposethatthelastSampleRTTinaTCPconnectionisequalto1sec.ThenthecurrentvalueofTimeoutIntervalwillnecessarilybe≤1sec46.TheportnumberusedbyHTTPis____.A80B25C110D5347.TheportnumberusedbySMTPis____.A80B25C110D5348.Theportnumberusedbypop3is____.A80B25C110D5349.TheportnumberusedbyDNSis____.A80B25C110D5350.TheportnumberusedbyFTPis____.A20and21B20C21D5351.AUDPsocketidentifiedbya____tuple(s).A2B4C1D352.ATCPsocketidentifiedbya____tuple(s).A2B4C1D353.ATCPsocketdoesnotinclude____.ASourceMACaddressBSourceportnumberCDestinationIPaddressDDestinationportnumber54.WhichoffollowingaboutUDPisnotcorrect.AItisareliabledatatransferprotocolBItisconnectionlessCnohandshakingbetweenUDPsender,receiverDitisabesteffortserviceprotocol55.DNSuses____service.ATCPBUDPCBothTCPandUDPDNoneofabove56.WhichoffollowingaboutUDPiscorrect?AFinerapplication-levelcontroloverwhatdataissent,andwhenBNoconnectionestablishment(whichcanadddelay),sonodelayforestablishaconnectionCNoconnectionstate(so,UDPcantypicallysupportmanyactiveclients)DLargepacketheaderoverhead(16-B)57.Streamingmediausesa____servicenormally.ATCPBUDPCBothTCPandUDPDNoneofabove58.TheUDPheaderhasonly____fields.A2B4C1D359.WhichofthefollowingdoesnotincludedinUDPheader.ASourceportnumberBDestinationportnumberCChecksumDSequencenumber60.Whichofthefollowingisnotapipeliningprotocol.ARdt1.0BGo-Back-NCSelectiverepeatDTCP61.InthefollowingfourdescriptionsaboutMSSandMTU,whichoneisnotcorrect?ATheMSSisthemaximumamountofapplication-layerdatainthesegmentBTheMSSisthemaximumsizeoftheTCPsegmentincludingheadersCTheMSSistypicallysetbyMTUDTheMTUmeansthelargestlink-layerframe62.Thejobofgatheringdatachunks,encapsulatingeachdatachunkwithheaderinformationtocreatesegmentsandpassingthesegmentstothenetworkiscalled____.AmultiplexingBde-multiplexingCforwardingDrouting63.Inthefollowingfourdescriptionsabouttherelationshipbetweenthetransportlayerandthenetworklayer,whichoneisnotcorrect?AThetransport-layerprotocolprovideslogicalcommunicationbetweenhostsBThetransport-layerprotocolprovideslogicalcommunicationbetweenprocessesCTheservicesthatatransport-layerprotocolcanprovideareoftenconstrainedbytheservicemodelofthenetwork-layerprotocolDAcomputernetworkmaymakeavailablemultipletransportprotocols64.Supposethefollowingthree8-bitbytes:01010101,01110000,01001100.What’sthe1scomplementofthesumofthese8-bitbytes?A00010001B11101101C00010010D1000100065.Thefollowingfourdescriptionsaboutmultiplexingandde-multiplexing,whichoneiscorrect?AAUDPsocketisidentifiedbyatwo-tuplesconsistingofasourceportnumberandadestinationportnumber.BIftwoUDPsegmenthavedifferentsourceportnumber,theymaybedirectedtothesamedestinationprocess.CIftwoTCPsegmentswithdifferentsourceportnumber,theymaybedirectedtothesamedestinationprocess.DIftwoTCPsegmentswithsamedestinationIPaddressanddestinationportnumber,theymustbethesameTCPconnection.66.UDPandTCPbothhavethefieldsexcept____.AsourceportnumberBdestinationportnumberCchecksumDreceivewindow67.IfwedefineNtobethewindowsize,basetobethesequencenumberoftheoldestunacknowledgedpacket,andnext-seq-numtobethesmallestunusedsequencenumber,thentheinterval[nextseqnum,base+N-1]correspondstopacketthat____.AcanbesentimmediatelyBhavealreadybeentransmittedandacknowledgedCcannotbeusedDhavebeensentbutnotyetacknowledged68.WhichofthefollowingaboutTCPisnotcorrect?AItisaconnectionlessprotocolBPoint-to-pointprotocolCReliable,in-orderbytesteamprotocolDPipelinedprotocol69.WhichofthefollowingaboutTCPisnotcorrect?AItisaconnectionlessprotocolBfullduplexdatatransferprotocolCconnection-orientedprotocolDflowcontrolledprotocol70.Themaximumamountofdatathatcanbegrabbedandplacedinasegmentislimitedbythe____.AMaximumsegmentsize(MSS)BMTUCSequencenumberDChecksum71.TheMSSistypicallysetbyfirstdeterminingthelengthofthelargestlink-layerframethatcanbesentbythelocalsendinghost(theso-called____),andthenwillfitintoasinglelink-layerframe.AMaximumsegmentsize(MSS)BMTUCSequencenumberDChecksum72.TheMSSisthemaximumamountof____layerdatainthesegment,notthemaximumsizeoftheTCPsegmentincludingheaders.AApplicationBTransportCNetworkingDLink73.Whichofthefollowingfieldisnotusedforconnectionsetupandteardown?ASequencenumberBTSTCSYNDFIN74.____isthebytestreamnumberoffirstbyteinthesegment.ASequencenumberBACKnumberCChecksumDportnumber75.____isthebytesequencenumbersofnextbyteexpectedfromotherside.ASequencenumberBACKnumberCChecksumDportnumber76.BecauseTCPonlyacknowledgesbytesuptothefirstmissingbyteinthestream,TCPissaidtoprovide____acknowledgements.ACumulativeBSelectiveCSingleDNegative77.Fastretransmitmeansinthecasethat____duplicateACK-sarereceived,theTCPsenderresendsegmentbeforetimerexpires.A3B4C5D678.TCP____meanssenderwon’toverflowreceiver’sbufferbytransmittingtoomuch,toofast.AFlowcontrolBCongestioncontrolCReliabledatatransferDConnection-orientedservice79.TCPprovidesflowcontrolbyhavingthesendermaintainavariablecalledthe____.AReceivewindowBCongestionwindowCSlidingwindowDbuffer80.HowdoesTCPsenderperceivecongestion?ATimeoutB3duplicateACK-sCBothAandBDNoneofabove81.Transptocolsrunin____.AServersBClientsCRoutersDEndsystems82.WhichofthefollowingservicesisnotprovidedbyTCP?ADelayguaranteesandbandwidthguaranteesBReliabledatatransfersandflowcontrolsCCongestioncontrolsDIn-orderdatatransfers83.WhichservicedoesUDPnotprovide?AmultiplexingBde-multiplexingCerror-detectionDerror-correction84.TherearethreemajoreventsrelatedtodatatransmissionandretransmissionintheTCPsender,whichoneisnotinit?AdatareceivedfromapplicationaboveBde-multiplexingsegmentCtimertimeoutDACKreceipt85.WhichofthefollowingapplicationsnormallyusesUDPservices?ASMTPBStreamingmultimediaCFTPDHTTP86.WhichofthefollowingaboutTCPconnectionisnotcorrect?AItisabroadcastconnectionBItisapoint-to-pointconnectionCItisapipelinedconnectionDItisafullduplexconnection87.TheSYNsegmentisusedfor____.ATCPconnectionsetupBTCPflowcontrolCTCPcongestioncontrolDClosingaTCPconnection88.Whichservicehelpspreventtheinternetfromenteringastateofgridlock?AreliabledatatransferBflowcontrolCcongestioncontrolDhandshakingprocedure89.TheInternet’s_____isresponsibleformovingpacketsfromonehosttoanother.AapplicationlayerBtransportlayerCnetworklayerDlinklayerInthefollowingapplications,whichoneisabandwidth-sensitiveapplication?AE-mailBwebapplicationCreal-timeaudioDfiletransfer91.Inthefollowingapplications,whichoneusesUDP?AE-mailBwebapplicationCfiletransferDDNS92.Inthefollowingfourdescriptions,whichoneiscorrect?AIfonehost’stransportlayerusesTCP,thenitsnetworklayermustusevirtual-circuitnetwork.BDatagramnetworkprovidesconnectionserviceCThetransport-layerconnectionserviceisimplementedintherouterDThenetwork-layerconnectionserviceisimplementedintherouteraswellasintheendsystem.____isaspeeding-matchingservice---matchingtheratewhichthesenderissendingagainsttherateatwhichthereceivingapplicationisreading.AcongestioncontrolBflowcontrolCsliding-windowcontrolDvariablecontrol94.InthefollowingfourdescriptionsaboutRcv-Window,whichoneiscorrect?AThesizeoftheTCPRcvWindowneverchangesthroughoutthedurationoftheconnectionBThesizeoftheTCPRcvWindowwillchangewiththesizeoftheTCPRcvBufferCThesizeoftheTCPRcvWindowmustbelessthanorequaltothesizeoftheTCPRcvBufferDSupposehostAsendsafiletohostBoveraTCPconnection,thenumberofunacknowledgedbytesthatAsendscannotexceedthesizeofthesizeoftheRcvWindow.95.Thereare6flagfields.Whichoneistoindicatethatthereceivershouldpassthedatatotheupperlayerimmediately?APSHBURGCACKDRST96.SupposetheTCPreceiverreceivesthesegmentthatpartiallyorcompletelyfillsingapinreceiveddata,itwill____.AimmediatelysendACKBimmediatelysendduplicateACKCwaitsometimeforarrivalofanotherin-ordersegmentDsendsinglecumulative97._____imposesconstrainontherateatwhichaTCPsendercansendtrafficintothenetwork.AslidingwindowBcongestionwindowCreceivewindowDvariablewindow98.Flowcontrolandcongestioncontrolaresameatthattheyalllimittherateofthesender,butdifferinthat____.AflowcontrollimitsitsratebythesizeofRcvWindow,butcongestioncontrolbythetrafficonthelinkBcongestioncontrollimitsitsratebythesizeofRcvWindow,butflowcontrolbythetrafficonthelinkCflowcontrolmainlyisaccomplishedbythesender,butcongestioncontrolbythereceiver.Dflowcontrolmainlyisaccomplishedbythereceiver,butcongestioncontrolbythelink.99.Thisjobofdeliveringthedatainatransport-layersegmenttothecorrectsocketiscalled____.AmultiplexingBde-multiplexingCforwardingDrouting100.IfwedefineNtobethewindowsize,basetobethesequencenumberoftheoldestunacknowledgedpacket,andnext-seq-numtobethesmallestunusedsequencenumber,thentheinterval[base,nextseqnum-1]correspondstopacketthat____.AcanbesentimmediatelyBhavealreadybeentransmittedandacknowledgedCcannotbeusedDhavebeensentbutnotyetacknowledged101.____arethetwotypesoftransportservicesthattheInternetprovidestotheapplications.ATCPandUDPBconnection-orientedandconnectionlessserviceCTCPandIPDreliabledatatransferandflowcontrol102.Inthefollowingdescriptionsaboutpersistentconnection,whichoneisnotcorrect?ATheserverleavestheTCPconnectionopenaftersendingaresponseBEachTCPconnectionisclosedaftertheserversendingoneobjectCTherearetwoversionsofpersistentconnection:withoutpipeliningandwithpipeliningDThedefaultmodeofHTTPusespersistentconnectionwithpipelining103.ThefieldofLengthinUDPsegmentspecifiesthelengthof____.AtheUDPsegment,notincludingtheheaderBtheUDPsegment,includingtheheaderCtheUDPsegment’sheaderDtheLengthfield104.InTCPsegmentheader,whichfieldcanimplementthereliabledatatransfer?AsourceportnumberanddestinationportnumberBsequencenumberandACKnumberCurgentdatapointerDReceivewindow105.InthefollowingfourdescriptionsaboutTCPconnectionmanagement,whichoneisnotcorrect?AEitherofthetwoprocessesparticipatinginaTCPconnectioncanendtheconnectionBIftheFINbitissetto1,itmeansthatitwantstoclosetheconnectionCInthefirsttwostepofthethree-wayhandshake,theclientandserverrandomlychooseaninitialsequencenumberDInthethreesegmentsofthethree-wayhandshake,theSYNbitmustbesetto1106.SupposehostAsendstwoTCPsegmentsbacktobacktohostBoveraTCPconnection.Thefirstsegmenthassequencenumber42,andthesecondhassequencenumber110.Ifthe1stislostand2ndarrivesathostB.Whatwillbetheacknowledgmentnumber?A43BACK42C109DACK110ConsidersendinganobjectofsizeO=500,000bytesfromservertoclient.LetS=500bytesandRTT=0.2s.Supposethetransportprotocolusesstaticwindowswithwindowsize5.Foratransmissionrateof100Kbps,determinethelatencyforsendingthewholeobject.RecallthenumberofwindowsK=O/WS),andthereisK-1stalledstate(thatisidletimegaps).2.ConsiderthefollowingplotofTCPcongestionwindowsizeasafunctionoftime.141418026300026481012162022
溫馨提示
- 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請下載最新的WinRAR軟件解壓。
- 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請聯系上傳者。文件的所有權益歸上傳用戶所有。
- 3. 本站RAR壓縮包中若帶圖紙,網頁內容里面會有圖紙預覽,若沒有圖紙預覽就沒有圖紙。
- 4. 未經權益所有人同意不得將文件中的內容挪作商業或盈利用途。
- 5. 人人文庫網僅提供信息存儲空間,僅對用戶上傳內容的表現方式做保護處理,對用戶上傳分享的文檔內容本身不做任何修改或編輯,并不能對任何下載內容負責。
- 6. 下載文件中如有侵權或不適當內容,請與我們聯系,我們立即糾正。
- 7. 本站不保證下載資源的準確性、安全性和完整性, 同時也不承擔用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。
最新文檔
- 玉溪中學測試題及答案解析
- 系統分析師考試的經典案例解析試題及答案
- 育兒護理知識培訓課件
- 美甲知識與理論培訓課件
- 美容師知識培訓課件
- 2024農業職業經理人考試的創新性思維訓練試題及答案
- 農藝師考試學習中的焦點議題分析試題及答案
- 租賃設備長期合同模板
- 彩票店轉讓合同范例二零二五年
- 消防工程投標協議書
- 除塵器著火培訓課件
- 企業內訓師培訓師理論知識考試題庫500題(含各題型)
- 《擴散焊專題》課件
- 文獻檢索與論文寫作 江蘇開放大學考試資料
- 2024年度中國共產主義共青團團課課件版
- 2025年上海市各區高三語文一模試題匯編之文言文二閱讀(含答案)
- 2024年工商銀行智能研發技術及應用白皮書
- 食品生產車間6S管理
- GB/T 44569.1-2024土工合成材料內部節點強度的測定第1部分:土工格室
- 《智能網聯汽車智能傳感器測試與裝調》電子教案
- 2024年資格考試-對外漢語教師資格證考試近5年真題附答案
評論
0/150
提交評論