- 1、本文档共4页,可阅读全部内容。
- 2、有哪些信誉好的足球投注网站(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
PAGE 1 of NUMPAGES 3
西安电子科技大学
考试时间 120 分钟
试 题
题号
I
II
III
总分
分数
1.考试形式:闭卷;2.本试卷共3大题,满分100分。
班级 学号 姓名 任课教师___________
I. Multiple Choices. (Notice: the mark M indicates more than one answers) (2×15 = 30)
1.The size of the mbuf structure is always______bytes.
A.108 B.100 C.128 D.208
2. There are __ different types of mbufs?A. 1 B. 2 C. 4 D. 8
3. For a 1024-byte data, the m_flags in mbuf should be set to _____. (M)
A. 0 B. M_PKTHDR C. M_EXT D. M_PKTHDR | M_EXT
4. To store a 200-byte data, how many mbufs are required?
A. 1 B. 2 C. 3 D. 4
5.The User Datagram Protocol is a _____protocol, and by default the UDP socket is termed____.
A.transport-layer, unconnected B.IP-layer, connected
C.transport-layer, connected D.IP-layer, unconnected
6. To end a connection, the client sends a ____?
A. SYN B. ACK C. FIN D. RST
7.In IPv4, every IP address has_____bits, and in IPv6 the value is____.
A.32, 32 B.32, 64 C. 64,64 D 64,32
8. A TCP message will be encapsulated as a/an ____ data.
A. ICMP B. IP C. UDP D. link
9. TCP is a/an _____ layer protocol?.
A. IP B. interface C. transport D. data link
10. The range of class C addresses is _______。
A. 128.0.0.0 to 191.255.255.255. B.127.0.0.0 to 191.255.255.255
C. 192.0.0.0 to 223.255.255.255 D. 192.0.0.0 to 224.255.255.255
11. IP address 128.0.0.1 belongs to class ___.
A. A B. B C. C D. D
12. For the IP address 140.252.13.33 and mask 255.255.255.192, how many hosts are there in this subnet?
A. 32 B. 31 C. 63 D. 64
13.As shows at below, which one is right?
A. B.
C. D.
14.When an Ethernet frame is received, the device driver calls the function ________ to create an mbuf chain and copy the frame from the device into the chain.
A. m_devget B. m_pullup C. m_get D. m_retry
15. A standard IP header is____bytes long, so ip_hl must be greater than
文档评论(0)