计算机网络期中考试试题_2013_答案.doc

计算机网络期中考试试题_2013_答案.doc

  1. 1、本文档共4页,可阅读全部内容。
  2. 2、有哪些信誉好的足球投注网站(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
  3. 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  4. 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
计算机网络期中考试试题_2013_答案

中山大学软件学院级软件工程专业《》期试题(考试形式:闭 卷 考试时间: 2小时) 《中山大学授予学士学位工作细则》第六条 考试作弊不授予学士学位 What’s the difference between HTTP and FTP? HTTP是带内连接,而FTP是带外连接;(3 points) HTTP是无状态的,而FTP是有状态的(在会话期间需要ID密码)。(3 points) 端口号、协议命令、返回码(一点一分,最多两分) (8 points) What are the changes (or advantages) of IPv6, compare to IPv4? /*(a).header format helps speed processing/forwarding (3 points) (b).header changes to facilitate QoS (3 points)*/ 1.扩大地址容量(128bits)2.简单高效的首部(各种其它解释) 3.不允许分片重组;4.取消校验和。 答1点3分,2点5分,3点7分,4点8分。 4.(8 points) How can UDP detect bit error for a received segment? Please describe such mechanism. /*使用checksum(1分) sender: checksum is addition (1’s complement sum) of segment contents. puts checksum value into UDP checksum field(3分) receiver:compute checksum of received segment. check if computed checksum equals checksum field value(3分) note:when adding numbers, a carryout from the most significant bit needs to be added to the result(1分)*/ 检查和(2分) 发送方:求和(溢出要回卷),补1运算得到checksum(3分) 接收方:所有字段求和(包括checksum),不全为1则有bit-error(3分) (10 points) Consider an e-commerce site that wants to keep a purchase record for each of its customers. Describe how this can be done with cookies. a.When the user first visits the site, the site returns a cookie number. This cookie number is stored on the user’s host and is managed by the browser. b. During each subsequent visit (and purchase), the browser sends the cookie number back to the site. Thus the site knows when this user (more precisely, this browser) is visiting the site. (6 points) In our rdt protocols, why did we need to introduce timers? To handle losses in the channel.(3 points) if not received within the duration of the timer for the packet, the packet (or its ACK or NACK) is assumed to have been lost.(3 points) (9 points) Install and compile the Java programs TCPClient and UDPClient on one host and TCPServer and UDPServer on another host. Suppose you run TCPClient before you run TCPServer. What happens? Why? Suppose you run UDPClient before y

文档评论(0)

liudao + 关注
实名认证
内容提供者

该用户很懒,什么也没介绍

1亿VIP精品文档

相关文档