2022年2022年计算机网络作业题 2.pdf





《2022年2022年计算机网络作业题 2.pdf》由会员分享,可在线阅读,更多相关《2022年2022年计算机网络作业题 2.pdf(7页珍藏版)》请在淘文阁 - 分享文档赚钱的网站上搜索。
1、1 计算机网络作业题(2011 年 12 月版 ) 第一章1. Consider sending a packet of F bits over a path of Q links. Each link transmits at R bps. The network is lightly loaded so that there are no queuing delays. Propagation delay is negligible. a. Suppose the network is a packet-switched virtual-circuit network. Denote th
2、e VC setup time by tsseconds. Suppose the sending layers add a total of h bits of header to the packet. How long does it take to send the file from source to destination? b. Suppose the network is a packet-switched datagram network and a connectionless service is used. Now suppose each packet has 2h
3、 bits of header. How long does it take to send the packet? c. Finally, suppose that the network is a circuit-switched network. Further suppose that the transmission rate of the circuit between source and destination is R bps. Assuming ts setup time and h bits of header appended to the packet, how lo
4、ng does it take to send the packet? 1、a. ts+(F+h)/R*Q b.(F+2h)/R*Q c.C.ts+(F+h)/R 6. This elementary problem begins to explore propagation delay and transmission delay, two central concepts in data networking. Consider two hosts, A and B, connected by a single link of rate R bps. Suppose that the tw
5、o hosts are separated by m meter, and suppose the propagation speed along the link is s meters/sec. Host A is to send a packet of size L bits to Host B. a. Express the propagation delay, dprop, in terms of m and s. b. Determine the transmission time of the packet, dtrans, in terms of L and R. c. Ign
6、oring processing and queuing delays, obtain an expression for the end-to-end dealy. d. Suppose Host A begins to transmit the packet at time t= 0. At time t=dtrans, where is the last bit of the packet? e. Suppose dprop is greater than dtrans. At time t= dtrans, where is the first bit of the packet? f
7、. Suppose dprop is less than dtrans. At time t=dtrans, where is the first bit of the packet? g. Suppose s=2.5108, L=100bits, and R=28kbps. Find the distance m so that dprop equals dtrans. 2、a)m/s b)L/R c)m/s+ L/R d)Interface of host A e)s*dtrans=s*L/R f)Host B g)m/s= L/R= m=8.928*105第二章1. In the fol
8、lowing figure, Alice sends an e-mail to Bob, and Bob gives a reply to Alice. If Alice and Bob both use mail user agent, please write what protocol is used in procedure ? If both Alice and Bob use Web browser, what protocol is used in procedure ? (1) SMTP; POP3 or IMAP; SMTP; SMTP; POP3 or IMAP; SMTP
9、 Alice Bob Alice s mail server Bob s mail server 名师资料总结 - - -精品资料欢迎下载 - - - - - - - - - - - - - - - - - - 名师精心整理 - - - - - - - 第 1 页,共 7 页 - - - - - - - - - 2 (2) HTTP; HTTP; SMTP; SMTP; HTTP; HTTP 2. A client requests a Web page http:/ a server through IE browser. The version of HTTP is 1.1 and def
10、ault connection is persistent connection. The page is supported in Chinese. Please write the request message. If the server gives a reply to the client, the response message is created at 8:00:00 on 27-09-2011, and the object is modified at 00:00:00 on 18-09-2011. Please write the response message.
11、The known-conditions are: server is apache/2.0.40; the object is a text file and consists 1796 bytes. If there is a proxy server between the client and the Web server, how does the proxy server check the page it caches is newer or older? (1)GET /jwzx/index.do HTTP/1.1 Host: Connection: Keep-Alive Us
12、er-agent: Mozilla/4.0 Accept-language: zh-cn (2)HTTP/1.1 200 OK Date: Tue, 27 Sep 2011 08:00:00 GMT Server: Apache/2.0.40 Content-Length: 1796 Content-Type: text/html Last-Modified: Sun, 18 Sep 2011 00:00:00 GMT (3)the proxy server uses conditional GET GET /jwzx/index.do HTTP/1.1 Host: If-modified-s
13、ince: Sun, 18 Sep 2011 00:00:00 GMT 第三章1. Consider a TCP connection between Host A and Host B. Suppose that the TCP segments traveling from Host A to Host B have source port number x and destination port number y. What are the source and destination port numbers for the segments traveling from Host
14、B to Host A? Source port number is y, destination port number is x. 2. True of False? (1) Host A is sending Host B a large file over a TCP connection. Assume Host B has no data to send Host A. Host B will not send acknowledgments to Host A because Host B can not piggyback the acknowledgments on data
15、. (2) The size of the TCP RcvWindow never changes throughout the duration of the connection.(3) Suppose Host A is sending Host B a large file over a TCP connection. The number of unacknowledged bytes that A sends cannot exceed the size of the receive buffer. (4) Suppose Host A is sending a large fil
16、e to Host B over a TCP connection. If the sequence number for a segment of this connection is m, then the sequence number for the subsequent segment will necessarily be m+1. (5) The TCP segment has a field in its header for RcvWindow . (6) Suppose that the last SampleRTTin a TCP connection is equal
17、to 1 sec. Then the current value of TimeoutInterval for the connection will necessarily be1 sec. 名师资料总结 - - -精品资料欢迎下载 - - - - - - - - - - - - - - - - - - 名师精心整理 - - - - - - - 第 2 页,共 7 页 - - - - - - - - - 3 (7) Suppose Host A sends over a TCP connection to Host B one segment with sequence number 38
18、and 4 bytes of data. In this same segment the acknowledgment number is 42. (8) Consider congestion control in TCP. When the timer expires at the sender, the threshold is set to one half of its previous value. 3. Suppose Host A sends two TCP segments back to back to Host B over a TCP connection. The
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- 2022年2022年计算机网络作业题 2022 计算机网络 作业题

限制150内