计算机网络期中考试题 A卷_Ans

计算机网络期中考试题 A卷_Ans

ID:42708099

大小:554.75 KB

页数:7页

时间:2019-09-20

计算机网络期中考试题 A卷_Ans_第1页
计算机网络期中考试题 A卷_Ans_第2页
计算机网络期中考试题 A卷_Ans_第3页
计算机网络期中考试题 A卷_Ans_第4页
计算机网络期中考试题 A卷_Ans_第5页
资源描述:

《计算机网络期中考试题 A卷_Ans》由会员上传分享,免费在线阅读,更多相关内容在教育资源-天天文库

1、计算机网络期中考试题A卷基础概念题(10points)1.WhatarethefivelayersintheInternetprotocolstack?Ans:Applicationlayer,transportlayer,networklayer,linklayerandphysicallayer.2.Whattransportservicedoesanappneed?Ans:Dataloss,Timing,Throughput,Security.3.WesaythatFTPhasout-of-bandcontrol.Whatd

2、owemeanbythat?Ans:WemeanthatcommandsanddataflowacrossdifferentTCPconnections.4.WhynotcentralizeDNS?Ans:·Singlepointoffailure单点故障,该DNS服务器崩溃,整个因特网随之瘫痪·Trafficvolume通信容量,单个DNS服务器处理上亿请求·Distantcentralized远距离集中式数据库,导致严重时延·Maintenance维护:单个DNS服务器将不得不为所有的因特网主机保留记录,这个中央数据库十分庞大

3、,且需为每个新添加的主机频繁更新5.Whatiscookie?Ans:Cookie:某些网站为了辨别用户身份、进行session跟踪而储存在用户本地终端上的数据。用户首次访问站点时,可能需要提供一个用户标识。在后继访问中,浏览器向服务器传递一个cookie首部,供服务器识别该用户。Delay:(10points)ConsidertwohostsAandBconnectedbyasinglelinkofraterbits/sec.Thetwohostsareseparatedbydmeters.Signalpropagationis

4、pmeterspersecond.HostAissendingtohostBapacketofsizeSbits.a)(2pts)Whatisthepropagationdelay,tpr?tpr=d/pb)(2pts)Whatisthetransmissiondelay,ttr,ofthepacket?ttr=S/rc)(2pts)Ignoringanypossibleprocessingandqueueingdelays,whatistheend-to-enddelay?(d/p)+(S/r)d)(3pts)IfHostAst

5、artstotransmitthepacketattimet=0,whereisthepacketattimet=ttr?ThelastbitisjustleavingHostA.e)(3pts)Supposethattpr>tfr.Attimet=tfrwhereisthefirstbitofthepacket?ThefirstbitisonthelinkandhasnotreachedHostB.f)(3pts)Supposethattpr

6、t?Thefirstbithasreached(andlikelyreceivedby)HostB.Applicationlayer(15points)AnswerthefollowingquestionsregardingtheApplicationLayer.Http:1.a)WhatisHTTP?1eachandround-up(5pts)Ans:TheHyperTextTransferProtocolisastatelessapplicationlayerprotocol.HTTPisusedtotransferwebco

7、ntentbetweenabrowserapplication(client)andanHTTPserver.AllwebcontentisidentifiedbyaURL.HTTPisarequestresponseprotocolthatusesTCPforassureddelivery.HTTPusesASCIIencodedheaders.TheHTTPGETcommandretrievesHTMLfilesandotherobjects.TheGETheaderincludestheURLoftheobjectandot

8、heroptionalfieldssuchascapability,language,andsoon.Theresponseincludesaresponseheaderwitharesponsecode(code200isOKand404ispa

当前文档最多预览五页,下载文档查看全文

此文档下载收益归作者所有

当前文档最多预览五页,下载文档查看全文
温馨提示:
1. 部分包含数学公式或PPT动画的文件,查看预览时可能会显示错乱或异常,文件下载后无此问题,请放心下载。
2. 本文档由用户上传,版权归属用户,天天文库负责整理代发布。如果您对本文档版权有争议请及时联系客服。
3. 下载前请仔细阅读文档内容,确认文档内容符合您的需求后进行下载,若出现内容与标题不符可向本站投诉处理。
4. 下载文档时可能由于网络波动等原因无法下载或下载错误,付费完成后未能成功下载的用户请联系客服处理。