收藏 分销(赏)

计算机网络第一次习题课(4——7).ppt

上传人:仙人****88 文档编号:14796655 上传时间:2026-11-26 格式:PPT 页数:25 大小:520KB 下载积分:10 金币
下载 相关
计算机网络第一次习题课(4——7).ppt_第1页
第1页 / 共25页
计算机网络第一次习题课(4——7).ppt_第2页
第2页 / 共25页


点击查看更多>>
资源描述
单击此处编辑母版标题样式,单击此处编辑母版文本样式,第二级,第三级,第四级,第五级,*,习题课(,47,),2007.3.13,Ch4,Ch4(,续,),4.2 Investigate network connections used at your sites.What types of media are used?,一般是双绞线,光纤,Ch4(,续,),4.3What media can be used for a network connection that passes near a powerful electric motor?,屏蔽双绞线:由一根屏蔽层围绕的双绞线组成。用于防止电磁辐射。,同轴电缆:有屏蔽层。,光纤:不会干扰也不会被干扰。,(课本,P47,第二段末句),Ch4(,续,),4.4Some commercial network services offer satellite network connections to individuals.Each subscriber is given a small dish antenna that is used to receive data;the subscriber is also given a dialup telephone modem that is used to send data.Find out why a subscriber cannot send data to the satellite.,天线的大小决定了通讯的距离。,Ch5,Ch5(,续,),5.2 Draw the waveform diagram that results when the word bit is sent in ASCII across an RS232 connection.,idle start 0100011 stop start 1001011stop start 0010111 stop idle,1:-15,0,:,+15,idle:-15,start:+15,stop:-15,Ch5(,续,),5.3 Suppose one sent 10000 7-bit characters across an RS-232 connection that operated at 9600baud.How long would the transmission require?,波特率:每秒钟硬件产生的电信号变化次数,对,RS,232,来说,就等于每秒钟传输的位数。,10000,(,7,2,),/9600,9.375,(,s,),Ch5(,续,),5.6The serial ports on some computers use connectors with fewer than 25pins.Read about the DB-9 connector used for serial ports on PCs.When RS-232 is used with a DB-9 connector.which signals are omitted?,相关的传输控制信号被忽略了。,Ch5(,续,),5.10Most RS-232 hardware allows the computer to which it attaches to specify the data rate to use as well as the number of stop bits to use.If a transmitter is programmed to use two stop bits,but a receiver is programmed to require only one,will data be received correctly?If so,what is the disadvantage of using an extra stop bit?,正确,但是会减缓传输速度。,Ch5(,续,),什么是,RS-232?RS-232,有什么特点?,RS,232,是用于计算机与调制解调器、键盘或终端之类设备之间传输字符的串行接口的一种标准。,特点:它要求发送器在传输字符各位之前先传输额外一位的,0,(起始位),在每个字符之后有一位,1,(终止位)。,Ch6,Ch6(,续,),6.1Consider using amplitude modulation with a sine wave that operates at a frequency of 4000Hz.How many bits per second can be encoded?Why?,4000,调频与调幅技术每发送一个信号位都需要至少一个载波周期。,Ch6(,续,),6.2Explain why each radio station in an area must be assigned a unique carrier frequency.,两个或多个使用不同载波频率的信号在相同介质中能够同时传输而互不干扰。详见,6.6,。,Ch6(,续,),6.7The author uses a,multiplexor,and,demultiplexor,that allows three separate sources of 8-bit data to send to three separate destinations over a single channel.The channel can only send 8-bit characters,and any source can transfer any possible 8-bit value at any time.Devise a multiplexing mechanism that works with 8-bit hardware to accept data from three sources and send it over a shared channel.,Ch6(,续,),图可以参考书上,F6.6,可以采用设置不同的频率告诉接收者数据源来自于哪里。注意三者之间的频率不要接近或成整数倍。具体见书上,P74P75.,Ch6(,续,),什么是调制与解调?调制与解调有那些基本方法?,调制:将数字信号与音频载波组合,产生适合于电话线上传输的音频信号(模拟信号),解调:从音频信号中恢复出数字信号,方法:调幅,(amplitude modulation,,,AM),调频,(frequency modulation,,,FM),相位移动调制,(phase shift modulation),Ch6(,续,),载波复用技术有哪几种?各有什么特点?,FDM,(,frequency division multiplexing,),载波在不同的频率上传输,每个接收源只接受给定载波频率的信号,WDM(wave division multiplexing),频分在光传输中的应用,TDM(time division multiplexing),数据源“轮流”共享使用介质,具体见书,P74,76,。,Ch7,Ch7(,续,),7.1Assume that two computers are using time division multiplexing to take turns sending 1000-byte packets over a shared channel that operates at 64000bits per second.If the hardware takes 100 microsecond after one computer skips sending before the other can begin,how long will it take for each of the computers to send a one megabyte data file?,Ch7(,续,),所需传输的数据包(,packet,)数:,10241024/1000=1048.576,即,1049,个,每个数据包的传输时间:,10008/64000=0.125(s),总时间中用于传输两台机器的数据包所用的时间:,(10492-1)0.125=262.125(s),总时间中的间隔时间:,(1049-1)210010-6=0.2096(s),总时间:,262.125+0.2096=262.3346(s),Ch7(,续,),7.2In the previous exercise,calculate the time required for transmission if the computers transmit serially.,率先传输的机器的耗时:,10490.125+1048510-6=131.13024(s),后传输的机器的耗时:,131.130242+10010-6=262.26058(s),Ch7(,续,),7.7Suppose malfunctioning hardware in a character-oriented transmission system sets all bits transferred to zero.Does a parity bit catch the problem?Why or why not?,不一定,这种方式不一定能检验出错误,如果有偶数位出错无法查出,如果有奇数位出错,可以检验出。见书,7.7,节。,Ch7(,续,),什么是校验和?什么是,CRC,?,校验和见,7.9,节。,CRC,见,7.10,节。,Ch7(,续,),对有效数据“,Hello,!”,应用校验和得的方法,分别按照,4,位,,8,位进行校验计算,给出二进制表示的校验和,并给出基本校验过程。,Hello,!(,48,,,65,,,6C,,,6C,,,6F,,,21,),4,位:,4,8,6,5,6,C,6,C,6,F,2,1,carry,8,(,H,),1000,(,B,)进位加到末位中,8,位:,48,65,6C,6C,6F,21,carry,17,(,H,),00010111,(,B,),
展开阅读全文

开通  VIP、SVIP  下载更划算
下载10份以上建议开通 VIP 会员
下载20份以上建议开通SVIP会员


开通VIP      成为共赢上传

当前位置:首页 > 考试专区 > 其他

移动网页_全站_页脚广告1

关于我们      便捷服务       自信AI       AI导航        关注我们

©2010-2026 宁波自信网络信息技术有限公司  版权所有

客服电话:0574-28810668  投诉电话:18658249818

gongan.png浙公网安备33021202000488号   

icp.png浙ICP备2021020529号-1  |  浙B2-20240490  

关注我们 :微信公众号    抖音    微博    LOFTER 

客服