全文预览已结束
下载本文档
版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
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. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 安装小区广播协议书
- 乌克兰 弃核协议书
- 254是什么协议书
- oem合作付款协议书
- 双人业务合伙协议书
- 质量赔偿协议书
- 2025年金融与财经继续教育跨境支付监管科技(大数据监测)操作考核试卷
- 综合能源负荷预测数字化模型与算法考核试卷
- 2025年公共关系行业危机公关应对策略研究报告及未来发展趋势预测
- 2025年广告行业广告传播渠道拓展与广告效果评估研究报告及未来发展趋势预测
- 2025商业大厦租赁合同范本
- 脑梗死中医诊疗方案
- 知识产权对新质生产力的法制保护
- 《中国海军的发展史》课件
- 货车封条管理制度内容
- 【绘本】小猫钓鱼故事儿童故事-课件(共11张课件)
- 安全课《保护鼻子》
- “正大杯”第十五届全国大学生市场调查与分析大赛参考试题库(含答案)
- 河南省周口市郸城县2024-2025学年九年级上学期期中化学试卷
- 电力输电线路施工安全培训
- 打印机相关项目实施方案
评论
0/150
提交评论