



全文预览已结束
下载本文档
版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
1 / 4 软 件 学 院 2007 级 软 件 工 程 专 业 (2009- 2) 计算机网络计算机网络 期 末 试 题 试 卷 期 末 试 题 试 卷(B) (考 试 形 式 : 闭 卷考 试 形 式 : 闭 卷 考 试 时 间考 试 时 间 : 2 小 时小 时) 中山大学授予学士学位工作细则第六条中山大学授予学士学位工作细则第六条 考 试 作 弊 不 授 予 学 士 学 位考 试 作 弊 不 授 予 学 士 学 位 方向:方向:_ 姓名:姓名: _ 学号:学号: 成绩:成绩:_ 注意:答案一定要写在答卷中,写在本试题卷中不给分。本试卷要和答卷一起交回。注意:答案一定要写在答卷中,写在本试题卷中不给分。本试卷要和答卷一起交回。 答卷指南: 1) 考题共 8 题, 另有一道加分题。 2) 可选中文或者英文来答卷。 1) (10points) Compute the CRC for a given message (M) and a generator polynomial (P). M is 0111101 and P is 1011. 2) (10points) CSMA/CD a) Explain CSMA/CD protocol, and how it backs off when conflicts happen. b) Compute the minimum possible frame size for a CSMA/CD protocol given the following parameters. Maximum medium span is 5000 meters (signal propagation is 5 nanoseconds per meter) and the data rate is 100- Mbps. 3) (10points) Where (input ports and/or output ports) can queueing occur in a router? Briefly explain the conditions that lead to such queueing. 4) (15points) Explain the distance vector routing algorithm and give answers to the following questions. A router has the following (CIDR) entries in its routing table: Address/mask Next hop 警警 示示 2 / 4 Address/mask Next hop 135.46.56.0/22 Interface 0 135.46.60.0/22 Interface 1 192.53.40.0/23 Router 1 default Router 2 For each of the following IP addresses, what does the router do if a packet with that address arrives? (a) 135.46.63.10 (b) 135.46.57.14 (c) 135.46.52.2 (d) 192.53.40.7 (e) 192.53.56.7 5) (15points) Consider a 4- layer protocol implementation with application, TCP, IP, and Ethernet layers in that order (top to bottom). Each layer requires a header except the Ethernet layer, which requires a header and trailer. The application header is 16 bytes in length, TCP header 20 bytes, IP header 20 bytes, and let the Ethernet header be 14 bytes, and the trailer 4 bytes (ignore the preamble and gap). Answer the following questions: a) Sketch a packet for this system carefully showing and labeling all fields. b) Assume a maximum data field for an Ethernet frame of 1600 bytes. What is the overhead (in %) for a 4096- byte application message? Hint: the message must be segmented into multiple frames and be careful of how you consider the data field in the Ethernet frame. 6) (10points) Consider in the Transport Layer, clients and servers us SYN, ACK, FIN etc to initiate and terminate connections. When initiating a connection, the following sequence of SYN/ACK takes place. 3 / 4 Please describe how a web browser terminates its connection with a web server by following the example above. 7) (15points) Consider the following plot of TCP window size as a function of time: Assuming TCP Reno is the protocol experiencing the behavior shown above, answer the following questions. (a) Identify the intervals of time when TCP slow start is operating. (b) Identify the intervals of time when TCP congestion avoidance is operating(AIMD) (c) After the 16th transmission round, is segment loss detected by a triple duplicate ACK or by a timeout? 4 / 4 8) (15points) CSMA/CA a) What is CSMA/CA? b) Why WIFI uses CSMA/CA? c) How CSMA/CA works? Bonus Question: (10points) Suppose a system picks a symmetric key authentication protocol using an authentication server. Below mk denotes the encryption of message m by key k. We assume A is a trusted authentication server which shares a secret key kXA with each principal X in the system. (1) P Q : “I am P.” (2) Q : generate nonce n (3) Q P : n (4) P Q : n
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 2025银行高管面试题目及答案
- 2025银行财务部面试题及答案
- 教师职业发展规划与晋升路径
- 双牌燃气安全培训课件
- 幼儿园常见疾病预防知识培训
- 合成氨生产安全培训课件
- 大学生职业规划与就业指导教案
- 医院信息系统安全合规方案
- 五年级语文同步作业设计与教学反思
- 初中语文写作能力提升指导
- 油井土地复垦方案(3篇)
- GB/T 2820.5-2025往复式内燃机驱动的交流发电机组第5部分:发电机组
- 中医康复理疗管理制度
- 2025年新高考1卷(新课标Ⅰ卷)语文试卷
- 失眠中医养生课件
- 2025年自学考试《00504艺术概论》考试复习题库(含答案)
- T/CHES 98-2023取水口设施标准化建设与管理技术规程
- 2025年广东省广州市中考二模英语试题(含答案)
- 消防员心理测试题库及答案解析
- 贷后管理协议合同
- 罗才军《少年闰土》省公开课一等奖全国示范课微课金奖课件
评论
0/150
提交评论