计算机网络第三章作业、_第1页
计算机网络第三章作业、_第2页
计算机网络第三章作业、_第3页
全文预览已结束

下载本文档

版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领

文档简介

计算机网络第三章作业1. An upper-layer packet is split into 10 frames, each of which has an 80% chance of arriving undamaged. If no error control is done by the data link protocol, how many times must the message be sent on average to get the entire thing through?6. To provide more reliability than a single parity bit can give, an error-detecting coding scheme uses one parity bit for checking all the odd-numbered bits and a second parity bit for all the even-numbered bits. What is the Hamming distance of this code?17. In the discussion of ARQ protocol in Section 3.3.3, a scenario was outlined that resulted in the receiver accepting two copies of the same frame due to a loss of acknowledgement frame. Is it possible that a receiver may accept multiple copies of the same frame when none of the frames (message or acknowledgement) are lost?18. A channel has a bit rate of 4 kbps and a propagation delay of 20 msec. For what range of frame sizes does stop-and-wait give an efficiency of at least 50%?30. Consider an error-free 64-kbps satellite channel used to send 512-byte data frames in one direction, with very short acknowledgements coming back the other way. What isthe maximum throughput for window sizes of 1, 7, 15, and127? The earth-satellite propagation time is 270 msec.3-1P=0.810=0.107i-1=3-6奇数位的任何一个位错误都可以改变奇偶校验位,与偶数位相同,两个错误发生在奇数位或偶数位,不会改变奇偶校验位,也意味着Hamming的距离为2。3-17比特流是生成多项式1001生成多项式阶位是3,所以后面补3个0得到用整除1001得到余数100,所以最后位串为.如果第三位变反后,得出的数字不能整除1001.但如果出错后的位串仍能被1001整除,则错误无法被检测出来,最简单的就是所有位都为0.3-18要使效率达到50%,必须使传输数据包的时间等于来回的传输延迟。在4kbps的速率下,160bit需要40ms,也就是2倍的传输延迟。所以帧大于160bit时,才能获得50%的效率。3-30假设开始时间为t=0,第一个帧发送时间为512/64=8ms。t=8+270=278ms时到达。T=278+270=548ms时,ACK返回。此时的数据吞吐量为512/548=934bps。若窗口大小为7时,在548ms内,可以传输7*512=3548bit,吞吐量为3548/548=6.54kbps。若

温馨提示

  • 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
  • 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
  • 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
  • 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
  • 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
  • 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
  • 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

最新文档

评论

0/150

提交评论