计算机网路基础第三章习题_第1页
计算机网路基础第三章习题_第2页
计算机网路基础第三章习题_第3页
计算机网路基础第三章习题_第4页
计算机网路基础第三章习题_第5页
全文预览已结束

下载本文档

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

文档简介

1、精选优质文档-倾情为你奉上精选优质文档-倾情为你奉上专心-专注-专业专心-专注-专业精选优质文档-倾情为你奉上专心-专注-专业2.The following character encoding is used in a data link protocol:A: B: FLAG: ESC: Show the bit sequence transmitted(in binary) for the four-character frame A B ESC FLAG when each of the following framing methods is used:(a) Byte count.

2、(b) Flag bytes with byte stuffing.(c) Starting and ending flag bytes with bit stuffing.(a) (b) (c) 7. In the textbook, the authors show that for a channel with error rate 10-6, error detecting based retransmission is more efficient than error correcting (see 27th slide). Please give ranges of the ch

3、annel error rate in which error correcting is more efficient, considering only for blocks (1000 bits) with at most 1 bit error.Suppose the error rate is x. N=1/(x*1000);For error correcting, it need 10*N bit of checkbits.For error detecting it need 2001bit10*N2001, 10/(x*1000)Arrive:18+0.3=18.3ms Ac

4、knowledgement: 18 ms Time=18+18.3=36.3ms36.3/0.3=121 frames to fill the pipe So 7-bit sequence numbers are needed.32.Frames of 1000 bits are sent over a 1-Mbps channel using a geostationary satellite whose propagation time from the earth is 270 msec. Acknowledgements are always piggybacked onto data

5、 frames. The headers are very short. Three-bit sequence numbers are used. What is the maximum achievable channel utilization for(a) Stop-and-wait?(b) Protocol 5?(c) Protocol 6?1000*1mbps=1s.start : t=0msecthe first frame has been fully transmitted : t = 1 msec,the first frame has fully arrived : t =

6、 271 msec the first frames acknowledgement has been fully sent : t = 272 msecacknowledgement has fully arrived : t = 542 msecSo the cycle is 542 msec. (a) k = 1, efficiency = 1/542 = 0.18%.(b) k = 7, efficiency = 7/542 = 1.29%.(c) k = 4, efficiency = 4/542 = 0.74%33.Compute the fraction of the usefu

7、l data bandwidth for protocol 6 on a heavily loaded 50-kbps satellite channel with data frames consisting of 40 header and 3960 data bits. Assume that the signal propagation time from the earth to the satellite is 270 msec. ACK frames never occur. NAK frames are 40 bits. The error rate for data frames is 1%, and the error rate for NAK frames is negligible. The sequence numbers are 3 bits.With a 50-kbps 8-bit sequence numbers, the pipe is always full. Retransmissions per frame = 0.01. Each good frame: 40 header bits, 1% of 4000 bi

温馨提示

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

评论

0/150

提交评论