云南大学软件学院计算机网络原理期中试卷 王世普

云南大学2015至2016学年上学期软件学院2014
《计算机网络原理》期中考试试卷(闭卷)答案
满分:100分   考试时间:100分钟     任课教师:王世普
第一题答题卡:
小题号
1
2
3
4
5
6
7
8
9
10
回  答
B
D
D
B
A
B
C
A
A
C
第二题答题卡:
小题号
1
2
3
4
5
回  答
×
×
×
单项选择题(每个选项1分,共10分请将选择结果填入第一题答题卡)
1.  (1)    is the protocol suite for the current Internet..
1)A. NCP        B. TCP/IP            C.UNIX            D.ACM
2.A GIF image is sent as email ,What is the content-type  (2)  .
2)A.multipart/mixed            B.multipart/image
C.image/JPEG                D.image/gif
3.A user want to send some forms(表单 to Web server using HTTP protocol, the request line method is  (3)  .
3)A.GET        B.PATCH        C.MOVE            D.POST
4.If a TCP segment carries data along with an acknowledgment, this technology is called   (4) acknowledgment.
4)A. backpacking      B. piggybacking      C. piggying        D. mothers help
5.TCP is a 5transport layer protocol that ensure data to be exchanged reliably by6 . So it requires set up connection before data exchanged by ( 7 )-way handshaking.
5A.connection        B.connectionless        C.join        D.disconnection
6)A.datagrams        B.acknowledgements    C.data        D.segment
7)A.one                B.two                C.three        D.four
6A user requests a Web page that consists of a basic HTML file and 5 JPEG image files. dtrans denoting the time to transfer a file. The total time is (8) to request the Web page in Nonpersistent connections mode?
8)A. 6(2RTT+ dtrans)        B. 2RTT+6 dtrans    C. RTT+6 dtrans    D.6(RTT+ dtrans)
7    Host A sends a TCP segment (Seq = 1, ACK = 111) to host B and Host B replies with a TCP segment (Seq = 111, ACK = 81). The payload length of the TCP segment from host A to host B is ( 9 ) .
9)A80 bytes.            B.81 bytes.        C.82 bytes.        D.unknown
8.As a data packet moves from the lower to the upper layers, header are 10)  .
10)A. modified            B. added        C. subtracted        D. rearranged
判断正误每个问题1分,共5分。正确的打“√”错误的“×”判断结果填入二题答题卡)
1. The DNS defines a distributed, hierarchical database that provides only hostname to IP address mappings.                                                            ( × )
2. In SR protocol, sender only resends pkts for which ACK not received.                ( √ )
3.If sequence number is k bit, then the send window maximum size of GBN protocol is equal to 2k-1.                                                                    ( √ )
4.The UDP header checksum is recomputed at every routers.                        ( × )
5.Suppose that the last SampleRTT in a TCP connection is equal to 1 sec. Then Timeout for the connection will necessarily be set to a value >= 1 sec.                            (
× )
、回答下列问题(每个问题5分,共30分)
1For a communication session between two hosts, which host is the client and which is the server?
要点:通信的发起者(请求者)是客户,通信的接受者(服务者服务器。
2What is the difference between persistent HTTP with pipelining and persistent HTTP without pipelining?
要点:前者在一个TCP连接期间可以传送多个WEB页面;后者在一个TCP连接期间只能传送个WEB页面
3What are the two types of services that the Internet provides to its applications? What are important characteristics of each of these services?
acceptlanguage
要点:面向连接的服务(连接管理、正确可靠、按序交互、流控制、拥塞控制)无连接
服务(不需建立连接、可靠、每个报文独立传送,无流控制和拥塞控制)
4Why is it said "out of band" (带外) that FTP sends control information?
要点:TCP数据连接是主连接,不能提供FTP命令的传输TCP控制连接仅仅是传输FTP命令和执行状态,因而是数据通道之外的通道,属于“带外”信道
5.Please list the main transmission mediums used in the computer network.
要点:铜线、光纤、(地面)无线、卫星
6.What are the differences Congestion Control and flow control.
要点范围不同(全网;通信双方)、目的不同(防止接收端缓冲区溢出;防止网络拥塞)
、计算题(共25分)
1. Suppose host A communicates with host B through TCP, sometime host A sends 120 b
ytes data to host B, then host B responds with 100bytes data. Analyze the necessary ACK numbers and the Sequence number in the segments sent between host A and host B . Please give the analysis procedure (8 )
要点ACK是期望接收的段的序号;当B收到一个数据为120字节、序号为45的段,就意味着期望接收的下一个段的序号应该是45+120=165;当S收到来自B的一个数据为100字节、序号为108的段后,则意味着期望接收的段的序号是108+100=208.
2. UDP and TCP use 1's complement sum for their checksums. Suppose you have the f
ollowing three 16-bit words: 1100100110110101, 1010011101010101, 0110010111011101. What is the 1's complement sum of these words? 7分)
结果
Sum        1101011011101000
Checksum    0010100100010111
计算过程:
1
1
0
0
1
0
0
1
1
0
1
1
0
1
0
1
+
1
0
1
0
0
1
1
1
0
1
0
1
0
1
0
1
1
0
1
1
1
0
0
0
1
0
0
0
0
1
0
1
0
1
0
1
1
1
0
0
0
1
0
0
0
0
1
0
1
1
+
0
1
1
0
0
1
0
1
1
1
0
1
1
1
0
1
0
1
1
0
1
0
1
1
0
1
1
1
0
1
0
0
0
+
0
sum
1
1
0
1
0
1
1
0
1
1
1
0
1
0
0
0
checksum
0
0
1
0
1
0
0
1
0
0
0
1
0
1
1
1
3.Consider two hosts, Host A and B, connected by a single link of rate R bps. Suppose that the two hosts are separated by m meters, and suppose the propagation speed along the link is s meters/second, and the size of packet is L bits. (10分)
(1)Express the propagation delay, dprop in terms of m and s.

本文发布于:2024-09-21 20:53:21,感谢您对本站的认可!

本文链接:https://www.17tex.com/tex/1/371609.html

版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。

标签:连接   流控制   数据
留言与评论(共有 0 条评论)
   
验证码:
Copyright ©2019-2024 Comsenz Inc.Powered by © 易纺专利技术学习网 豫ICP备2022007602号 豫公网安备41160202000603 站长QQ:729038198 关于我们 投诉建议