计算机网络第二章习题解答
计算机网络第二章习题解答

计算机网络第二章习题解答1. 问题描述:解释什么是分组交换?分组交换是一种网络传输技术,其中数据被分成较小的块(或分组)进行传输,而不是以连续的比特流进行传输。
在分组交换中,每个分组都会独立地通过网络传输,并且可以根据网络条件选择最佳路径来传输分组。
2. 问题描述:什么是电路交换?请列出其优点和缺点。
电路交换是一种传输技术,其中通信路径在建立连接时被预先分配。
在电路交换中,通过建立一个持续的、专用的通信路径来实现端到端的数据传输。
优点:- 传输效率高,数据传输过程稳定;- 可保障数据传输的实时性,适用于需求严格的应用场景,如电话通信;缺点:- 通信链路建立时间较长;- 通信路径在建立时就被预留,即使在通信过程中没有数据传输也会占用资源;- 在链路建立的过程中,若链路中断,需要重新建立连接。
3. 问题描述:什么是存储转发交换?请列出其特点。
存储转发交换是一种分组交换的方式,其中每个分组在传输之前需要完全接收,并存储在交换机的缓冲区中,然后根据目的地址选择合适的端口进行转发。
存储转发交换的特点包括:- 可以处理不同大小的分组,适用于各种应用场景;- 由于分组在接收端进行存储和处理,因此可以对接收到的分组进行差错检测和纠正;- 可以在网络拥塞时进行流量控制,防止分组丢失。
4. 问题描述:简要解释虚电路交换和数据报交换的区别?虚电路交换和数据报交换都是分组交换的方式,但两者存在一些区别。
虚电路交换中,发送端和接收端在通信之前会建立一个虚电路,路由器会记录这个虚电路,将后续的分组沿着虚电路转发。
在传输过程中,每个分组都有一个虚电路号标识,使得分组能够按照特定的路径到达目的地。
虚电路交换类似于电路交换,在传输过程中,分组的到达顺序和给定路径的稳定性都得到了保证。
而数据报交换中,每个分组都是独立地通过网络传输,每个分组都包含了目的地址等信息,因此路由器根据分组的目的地址来选择最佳的传输路径。
数据报交换类似于存储转发交换,分组可以通过不同的路径进行传输,灵活性较高。
计算机网络课后题答案第二章

第二章:应用层
P116. 1
a 错误。HTTP的一对消息(request-response)只能获取一 个对象。因此,对于包含三个对象的页面,客户机将发 送三个request消息 b 正确。这两个Web页面在同一个Web服务器中(因为两 个对象的URL中主机部分相同,且在相同的虚拟目录下), 可以利用一个持续连接来获取这两个Web页面。 c 错误。一个HTTP消息(Message)可能需要通过多个 Segment进行传输,但一个Segment不会包含两个或两个 以上的HTTP请求消息。 d 错误。HTTP Response消息的头部行Data:指定Web服 务器创建该Response消息的时间。
b
第二章:应用层
P119. 19
覆盖网络(overlay network)中共有N个Peer。 如果任意一对Peer间都存在一个TCP连接,则覆盖网络 2 中全部TCP连接的数量为 N ( N 1) / 2
C
N
覆盖网络的节点就是Peer,边就是TCP连接,因此,覆 盖网络中包含的节点数量为N,边数就是 N ( N 1) / 2 与每个TCP连接经过的路由器数量没有关系。
b 对象的最后修改时间为“ Sat,10 Dec 2005……”,这 可以从Last-Modified头部行获得。 c 从Content-Length头部行可知,对象(HTML文档)的长 度为3874字节。 d
从头部行Connection: keep-alive可知,服务器同意使用持续连 接。 该文档的前五个字节内容为:<!doc
第二章:应用层
计算机网络第5版 第二章习题答案

(2)电气特性
指明在接口电缆的各条线上出现的电压的范围。
(3)功能特性
指明某条线上出现的某一电平的电压表示何意。
(4)规程特性
说明对于不同功能的各种可能事件的出现顺序。
2-06 数据在信道重的传输速率受哪些因素的限制?信噪比能否任意提高?香农公式在数据通信中的意义是什么?“比特/每秒”和“码元/每秒”有何区别?
FDM,TDM,STDM,WDM,DWDM,CDMA,SONET,SDH,STM-1 ,OC-48.
答:FDM(frequency division multiplexing)
TDM(Time Division Multiplexing)
STDM(Statistic Time Division Multiplexing)
带通信号——把基带信号经过载波调制后,把信号的频率范围搬移到较高的频段以便在信道中传输(即仅在一段频率范围内能够通过信道)。
2-05 物理层的接口有哪几个方面的特性?个包含些什么内容?
答:(1)机械特性
明接口所用的接线器的形状和尺寸、引线数目和排列、固定和锁定装置等等。
2-07 假定某信道受奈氏准则限制的最高码元速率为20000码元/秒。如果采用振幅调制,把码元的振幅划分为16个不同等级来传送,那么可以获得多高的数据率(b/s)?
答:C=R*Log2(16)=20000b/s*4=80000b/s
2-08 假定要用3KHz带宽的电话信道传送64kb/s的数据(无差错传输),试问这个信道应具有多高的信噪比(分别用比值和分贝来表示?这个结果说明什么问题?)
HFC网的最大的优点具有很宽的频带,并且能够利用已经有相当大的覆盖面的有线电视网。要将现有的450 MHz 单向传输的有线电视网络改造为 750 MHz 双向传输的 HFC 网需要相当的资金和时间。
计算机网络与基础第二章课后习题答案.doc

填空题1、 分布在不同地理位罝的计算机,通过通信线路连接在一起2、 局域网广域网城域网3、 总新型拓扑结构星型拓扑结构扩展星型拓扑结构(物理拓扑结构)总线逻辑拓扑结构环形逻辑拓扑结构(逻辑拓扑结构) 4、 数裾分段数据的流量传输、控制 分段封装数据包实现网络之间的路由5、 所有设备程序或协议组件6、 传输控制协议 传输 数据分段流量控制为应用程序提供可靠传输服务7、 互联网协议 网络路由(路径选择)8、 地址解析协议 IP MAC控制消息 用于在IP 主机、路由器之间传递控制消息9、 数裾链路 逻辑链路控制媒体访问控制正在发送数椐 10、 信息交换 数据冲突11、 M AC 二层 路由12、 对称交换机 非对称交换机(端口带宽)桌而型交换机(端口结构)企业级交换机 二层交换机三层交换机四层交换机13、 网络层互联网络隔离网络广播路由转发防火墙14、 R OM (只读存储器) RAM/DRAM (随机访问存储器)FLASH (闪存)NVRAM(非易失性随机存取存储器)配置寄存器 INTERFACE (接口) FLASH RAM15、 隔离广播 安全管理16、 以太网 令牌环网 FDDI 网络技术 17、 10Base2 10Base5 lOBaseT 10Mbps 快速以太网 18、 总线型拓扑19、 通信线路 电路 分组电路 20、 数据链路层 数据和传输信号的转换点对点(PPP )21、 将TE2设备的信号转换成ISDN 兼容格式的设备 基本速率接口22、 减少节点的处理时间23、 核心层汇聚层接入层24、 入门级工作组级部门级企业级 25、 4个绕对非屏蔽橙绿蓝棕26、 噪声串扰信号减弱 使电磁射线和外部电磁干扰减到最小 27、 网线制作正常线工作水平管理区垂直设备间接入*、通信资源共享正在接受数裾 固定端口交换机模块化交换机 部门级交换机工作组交换机基群速率接门2、网络协议是网络上所有设备之间通信规则的集合。
2.计算机网络原理第二章课后习题及答案

第二章1. (Q2)For a communication session between a pair of processes, which process is the client and which is the server?Answer:The process which initiates the communication is the client; the process that waits to be contacted is the server..2. (Q3) What is the difference between network architecture and application architecture?Answer:Network architecture refers to the organization of the communication processintolayers (e.g., the five-layer Internet architecture). Application architecture, on the other hand, is designed by an application developer and dictates the broadstructure of the application (e.g., client-server or P2P)3. (Q4) What information is used by a process running on one host to identify a process running on another host?Answer: The IP address of the destination host and the port number of the destinationsocket.4. (Q6) Referring to Figure 2.4, we see that none of the application listed in Figure 2.4 requires both no data loss and timing. Can you conceive of an application that requires no data loss and that is also highly time-sensitive?Answer: There are no good example of an application that requires no data loss and timing.If you know of one, send an e-mail to the authors5. (Q9) Why do HTTP, FTP, SMTP, and POP3 run on top of TCP rather than on UDP?Answer: The applications associated with those protocols require that all application databe received in the correct order and without gaps. TCP provides this servicewhereas UDP does not.6. (Q11) What is meant by a handshaking protocol?Answer: A protocol uses handshaking if the two communicating entities first exchangecontrol packets before sending data to each other. SMTP uses handshaking at theapplication layer whereas HTTP does not.7. (Q13) Telnet into a Web server and send a multiline request message. Include in the request message the If-modified-since: header line to force a response message with the 304 Not Modified status code.Answer: Issued the following command (in Windows command prompt) followed by theHTTP GET message to the “” web server:> telnet 80Since the index.html page in this web server was not modified since Fri, 18 May2007 09:23:34 GMT, the following output was displayed when the abovecommands were issued on Sat, 19 May 2007. Note that the first 4 lines are theGET message and header lines input by the user and the next 4 lines (startingfrom HTTP/1.1 304 Not Modified) is the response from the web server.8. (Q14) Consider an e-commerce site that wants to keep a purchase record for each of its customers. Describe how this can be done with cookies.Answer: When the user first visits the site, the site returns a cookie number. This cookie number is stored on the user’s host and is managed by the browser. During each subsequent visit (and purchase), the browser sends the cookie number back to the site. Thus the site knows when this user (more precisely, this browser) is visiting the site.9. (Q15) Suppose Alice, with a Web-based e-mail account (such as Hotmail or gmail), sends a message to Bob, who accesses his mail from his mail server using POP3. Discuss how the message gets from Alice’s host to Bob’s host. Be sure to list the series of application-layer protocols that are used to move the message between the two hosts.Answer: Message is sent from Alice’s host to her mail server over HTTP. Alice’s mail server then sends the message to Bob’s mail server over SMTP. Bob then transfers the message from his mail server to his host over POP3.10. (Q10) Recall that TCP can be enhanced with SSL to provide process-to-process securityservices, including encryption. Does SSL operate at the transport layer or the application layer? If the application developer wants TCP to be enhanced with SSL, what does the developer have to do?Answer: SSL operates at the application layer. The SSL socket takes unencrypted data fromthe application layer, encrypts it and then passes it to the TCP socket. If theapplication developer wants TCP to be enhanced with SSL, she has to include theSSL code in the application.11. (Q16) Print out the header of an e-mail message you have recently received. How manyReceived: header lines are there? Analyze each of the header lines in the message.Answer: from 65.54.246.203 (EHLO )Received:(65.54.246.203) by with SMTP; Sat, 19 May 2007 16:53:51 -0700from ([65.55.135.106]) by Received: with Microsoft SMTPSVC(6.0.3790.2668); Sat, 19 May 2007 16:52:42 -0700 Received: from mail pickup service by with Microsoft SMTPSVC; Sat,19 May 2007 16:52:41 -0700Message-ID: <*******************************************>Received: from 65.55.135.123 by with HTTP; Sat, 19 May 2007 23:52:36 GMTFrom: "prithuladhungel"<***************************>To: ******************Bcc:Subject: Test mailDate: Sat, 19 May 2007 23:52:36 +0000Mime-Version:1.0Content-Type: Text/html; format=flowedReturn-Path: ***************************Figure: A sample mail message headerReceived: This header field indicates the sequence in which the SMTP serverssend and receive the mail message including the respective timestamps.In this example there are 4 “Received:” header lines. This means the mailmessage passed through 5 different SMTP servers before being delivered to thereceiver’s mail box. The la st (forth) “Received:” header indicates the mailmessage flow from the SMTP server of the sender to the second SMTP server inthe chain of servers. The sender’s SMTP server is at address 65.55.135.123 andthe second SMTP server in the chain is .The third “Received:” header indicates the mail message flow from the secondSMTP server in the chain to the third server, and so on.Finally, the first “Received:” header indicates the flow of the mail message fromthe forth SMTP server to t he last SMTP server (i.e. the receiver’s mail server) inthe chain.Message-id: The message has been given this*************************************************(bybay0-omc3-s3.bay0.hotmail.com. Message-id is a unique string assigned by the mail systemwhen the message is first created.From: This indicates the email address of the sender of the mail. In the givenexample,**************************************To: This field indicates the email address of the receiver of the mail. In theexample, the ****************************Subject: This gives the subject of the mail (if any specified by the sender). In theexample, the subject specified by the sender is “Test mail”Date: The date and time when the mail was sent by the sender. In the example,the sender sent the mail on 19th May 2007, at time 23:52:36 GMT.Mime-version: MIME version used for the mail. In the example, it is 1.0.Content-type: The type of content in the body of the mail message. In theexample, it is “text/html”.Return-Path: This specifies the email address to which the mail will be sent if thereceiver of this mail wants t o reply to the sender. This is also used by the sender’smail server for bouncing back undeliverable mail messages of mailer-daemonerror messages. In the example, the return path is“***************************”.12. (Q18) Is it possible for an organizat ion’s Web server and mail server to have exactly thesame alias for a hostname (for example, )? What would be the type for the RR that contains the hostname of the mail server?Answer: Yes an organization’s mail server and Web server can have the sa me alias for ahost name. The MX record is used to map the mail server’s host name to its IPaddress.13. (Q19) Why is it said that FTP sends control information “out-of-band”?Answer:FTP uses two parallel TCP connections, one connection for sending controlinformation (such as a request to transfer a file) and another connection foractually transferring the file. Because the control information is not sent over thesame connection that the file is sent over, FTP sends control information out ofband.14. (P6) Consider an HTTP client that wants to retrieve a Web document at a given URL. The IPaddress of the HTTP server is initially unknown. What transport and application-layer protocols besides HTTP are needed in this scenario?Answer:Application layer protocols: DNS and HTTPTransport layer protocols: UDP for DNS; TCP for HTTP15. (P9) Consider Figure2.12, for which there is an institutional network connected to theInternet. Suppose that the average object size is 900,000 bits and that the average request rate from the institution’s browsers to the origin servers is 10 requests per second. Also suppose that the amount of time it takes from when the router on the Internet side of the access link forwards an HTTP request until it receives the response is two seconds on average (see Section 2.2.5).Model the total average response times as the sum of the average access delay (that is, the delay from Internet router to institution router) and the average Internet delay. For the average access delay, use △/(1-△β), where △is the average time required to send an object over the access link and βis the arrival rate of objects to the access link.a. Find the total average response time.b. Now suppose a cache is installed in the institutional LAN. Suppose the hit rate is 0.6. Findthe total response time.Answer:a.The time to transmit an object of size L over a link or rate R is L/R. The average timeisthe average size of the object divided by R:Δ= (900,000 bits)/(1,500,000 bits/sec) = 0.6 secThe traffic intensity on the link is (1.5 requests/sec)(0.6 sec/request) = 0.9. Thus, theaverage access delay is (0.6 sec)/(1 - 0.9) = 6 seconds. The total average response timeis therefore 6 sec + 2 sec = 8 sec.b.The traffic intensity on the access link is reduced by 40% since the 40% of therequestsare satisfied within the institutional network. Thus the average access delayis(0.6 sec)/[1–(0.6)(0.9)] = 1.2 seconds. The response time is approximately zero iftherequest is satisfied by the cache (which happens with probability 0.4); the averageresponse time is 1.2 sec + 2 sec = 3.2 sec for cache misses (which happens 60% of thetime). So the average response time is (0.4)(0 sec) + (0.6)(3.2 sec) = 1.92 seconds.Thusthe average response time is reduced from 8 sec to 1.92 sec.16. (P12) What is the difference between MAIL FROM: in SMTP and From: in the mail messageitself?Answer: The MAIL FROM: in SMTP is a message from the SMTP client that identifies the senderof the mail message to the SMTP server. TheFrom: on the mail message itself is NOTanSMTP message, but rather is just a line in the body of the mail message.17. (P16) Consider distributing a file of F = 5 Gbits to N peers. The server has an upload rate ofu s = 20 Mbps, and each peer has a download rate of d i =1 Mbps and an upload rate of u. For N = 10, 100, and 1,000 and u = 100 Kbps, 250 Kbps, and 500 Kbps, prepare a chart giving the minimum distribution time for each of the combinations of N and u for both client-server distribution and P2P distribution.Answer:For calculating the minimum distribution time for client-server distribution, we use thefollowing formula:D cs = max {NF/u s , F/d min }Similarly, for calculating the minimum distribution time for P2P distribution, we use thefollowing formula:D P 2P = max {F /u s ,F /d min ,NF /( u s + u i n i =1 )} Where,F = 5 Gbits = 5 * 1024 Mbits u s = 20 Mbps d min = d i = 1 MbpsClient Server:N 10 100 1000 200 Kbps10240 51200 512000 u 600 Kbps10240 51200 512000 1Mbps10240 51200 512000Peer to Peer:N 10 100 1000 200 Kbps10240 25904.3 47559.33 U 600 Kbps10240 13029.6 16899.64 1 Mbps10240 10240 10240。
计算机网络第二章习题解答

第二章:物理层1、物理层要解决什么问题?物理层的主要特点是什么?答:物理层考虑的是怎样才能在连接各种计算机的传输媒体上传输数据比特流,而不是指连接计算机的具体的物理设备或具体的传输媒体。
现有的网络中物理设备和传输媒体种类繁多,通信手段也有许多不同的方式。
物理层的作用正是要尽可能地屏蔽掉这些差异,使数据链路层感觉不到这些差异,这样数据链路层只需要考虑如何完成本层的协议和服务,而不必考虑网络具体的传输媒体是什么。
物理层的重要任务是确定与传输媒体的接口的一些特性。
2、规程与协议有什么区别?(教材36)答:3、试给出数据通信系统的模型并说明其主要组成构件的作用。
答:一个数据通信系统可划分为三大部分:4、试解释下列名词:数据、信号、模拟数据、模拟信号、数字数据、数字信号、单工通信、半双工通信、全双工通信。
答:数据:是运送信息的实体。
信号:则是数据的电气的或电磁的表现。
模拟数据:运送信息的模拟信号。
模拟信号:连续变化的信号。
数字信号:取值为有限的几个离散值的信号。
数字数据:取值为不连续数值的数据。
单工通信:即只有一个方向的通信而没有反方向的交互。
半双工通信:即通信和双方都可以发送信息,但不能双方同时发送(当然也不能同时接收)。
这种通信方式是一方发送另一方接收,过一段时间再反过来。
全双工通信:即通信的双方可以同时发送和接收信息。
5、物理层的接口有哪几个特性?各包含什么内容?答:(1)机械特性:指明接口所用的接线器的形状和尺寸、引线数目和排列、固定和锁定装置等等。
(2)电气特性:指明在接口电缆的各条线上出现的电压的范围。
(3)功能特性:指明某条线上出现的某一电平的电压表示何意。
(4)规程特性:说明对于不同功能的各种可能事件的出现顺序。
2-06 数据在信道中的传输速率受哪些因素的限制?信噪比能否任意提高?香农公式在数据通信中的意义是什么?“比特/每秒”和“码元/每秒”有何区别?答:数据在信道中传输受到信道的带宽和信道信噪比的影响,信道的带宽或信道中的信噪比越大,则信息的极限传输速率就越高。
计算机网络(第2版)-第2章

第2章46.操作系统是____。
A)软件与硬件的接口B)主机与外设的接口C)计算机与用户的接口D)高级语言与机器语言的接口解答:软件与硬件的接口应该是机器语言;主机与外设之间的接口是I/0接口芯片;操作系统是用户与计算机之间的接口;高级语言与机器语言之间的接口应该是编译(或解释)程序。
本题正确答案为C。
47.操作系统的主要功能是____。
A)控制和管理计算机系统软硬件资源B)对汇编语言、高级语言和甚高级语言程序进行翻译C)管理用各种语言编写的源程序D)管理数据库文件解答:操作系统是用户与计算机之间的接口,用户通过操作系统来控制和管理计算机系统的软硬件资源。
对汇编语言、高级语言和甚高级语言程序进行翻译的程序称为语言处理程序;管理数据库文件使用的是数据库管理系统。
本题正确答案为A。
48.微机的诊断程序属于____。
A)管理软件 B)系统软件C)编辑软件 D)应用软件解答:微机的诊断程序的作用是对微机的系统功能进行测试,查找系统的错误,如果发现错误,则进行相应的改正。
因此微机的诊断程序是用户管理系统的工具,属于系统软件。
本题正确答案为B。
49.在下列软件中,不属于系统软件的是____。
A)操作系统 B)诊断程序C)编译程序 D)用PASCAL编写的程序解答:操作系统、诊断程序、编译程序均属于系统软件范畴,用PASCAL编写的程序不属于系统软件。
本题正确答案为D。
50.某公司的财务管理软件属于____。
A)工具软件 B)系统软件C)编辑软件 D)应用软件解答:微机软件系统包括系统软件和应用软件两大部分。
系统软件主要用于控制和管理计算机的硬件和软件资源。
应用软件是面向某些特定应用问题而开发的软件。
财务管理软件是面向财务系统应用而开发的软件,属于应用软件范畴。
本题正确答案为D。
51.计算机软件应包括____。
A)系统软件与应用软件B)管理软件和应用软件C)通用软件和专用软件D)实用软件和编辑软件解答:实用软件不是专业名词,系统软件和应用软件均具有实用性;编辑软件属于系统软件范畴;通用软件与专用软件是从软件的通用性来衡量的;管理软件一般指应用软件。
计算机网络习题第2章 数据通信基础-答案

第2章数据通信基础简答1:某信道误码率为10-5,每帧长度为10Kbits,那么:a. 若差错都是单个错,则在该信道上传送的帧的平均出错率是多少?b. 若差错大多为突发错,平均突发长度为100bits,则在该信道上传送的帧的平均出错率是多少?答案:信道误码率为10-5 ,即1/100000,每帧长度为10Kbits,即10000位,若差错都是单个错,则在该信道上传送的帧的平均出错率是10%。
若差错大多为突发错,平均突发长度为100bits,则在该信道上传送的帧的平均出错率是1‰,即千分之一。
2:某调制解调器同时使用幅移键控和相移键控,采用0、π/2、π和3/2π四种相位,每种相位又都有2个不同的幅值,问在波特率为1200的情况下数据速率是多少?答案:根据题意有4种相位×2个幅值=8种信号状态R B=R b log2M=1200log2 8 =1200×3=3600(b/s)3:若在相隔1000公里的两地间要传送3k位的数据,可以通过电缆以48kb/s的数据速率传送或通过卫星信道以50kb/s的数据速率传送,问用哪种方式从发送方开始发送到接收方收到全部数据为止的时间较短?(光速及电磁波在电缆中的传输速率取300000km/s,地面到卫星的距离取36000km)答案:4:若电视信道的带宽为6MHz,假定无热噪声并使用4电平的数字信号,每秒钟能发送的比特数不会超过多少?答案:根据Nyquist定理有C=2Wlog2MC=2×6,000,000×log2 4=24,000,000b/s=24(Mb/s)5:对于带宽为3kHz的信道,若有8种不同的物理状态来表示数据,信噪比为20dB。
问:按Nyquist定理和Shannon定理,最大限制的数据速率分别是多少?答案:根据Nyquist定理有 C =2W log2 MC=2×3000×log2 8=18000(b/s)根据Shannon定理有C = W log2(1+S/N)C = 3000×log2(1+100)≈20010(b/s)6:什么是数据通信?答案:计算机网络中传输的信息都是数字数据,所以计算机之间的通信称为数据通信。
- 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
- 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
- 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。
第二章:物理层
1、物理层要解决什么问题?物理层的主要特点是什么?
答:物理层考虑的是怎样才能在连接各种计算机的传输媒体上传输数据比特流,而不是指连接计算机的具体的物理设备或具体的传输媒体。
现有的网络中物理设备和传输媒体种类繁多,通信手段也有许多不同的方式。
物理层的作用正是要尽可能地屏蔽掉这些差异,使数据链路层感觉不到这些差异,这样数据链路层只需要考虑如何完成本层的协议和服务,而不必考虑网络具体的传输媒体是什么。
物理层的重要任务是确定与传输媒体的接口的一些特性。
2、规程与协议有什么区别?(教材36)
答:
3、试给出数据通信系统的模型并说明其主要组成构件的作用。
答:一个数据通信系统可划分为三大部分:
4、试解释下列名词:数据、信号、模拟数据、模拟信号、数字数据、数字信号、单工通信、半双工通信、全双工通信。
答:数据:是运送信息的实体。
信号:则是数据的电气的或电磁的表现。
模拟数据:运送信息的模拟信号。
模拟信号:连续变化的信号。
数字信号:取值为有限的几个离散值的信号。
数字数据:取值为不连续数值的数据。
单工通信:即只有一个方向的通信而没有反方向的交互。
半双工通信:即通信和双方都可以发送信息,但不能双方同时发送(当然也不能同时接收)。
这种通信方式是一方发送另一方接收,过一段时间再反过来。
全双工通信:即通信的双方可以同时发送和接收信息。
5、物理层的接口有哪几个特性?各包含什么内容?
答:(1)机械特性:指明接口所用的接线器的形状和尺寸、引线数目和排列、固定和锁定装置等等。
(2)电气特性:指明在接口电缆的各条线上出现的电压的范围。
(3)功能特性:指明某条线上出现的某一电平的电压表示何意。
(4)规程特性:说明对于不同功能的各种可能事件的出现顺序。
2-06 数据在信道中的传输速率受哪些因素的限制?信噪比能否任意提高?香农公式在数据通信中的意义是什么?“比特/每秒”和“码元/每秒”有何区别?
答:数据在信道中传输受到信道的带宽和信道信噪比的影响,信道的带宽或信道中的信噪比越大,则信息的极限传输速率就越高。
信噪比不能任意的提高,因为噪声存在于所有的电子设备和通信信道中。
由于噪声是随机产生的,它的瞬时值有时会很大。
如果信号相对较强,那么噪声的影响就相对较小。
香农公式在数据通信中的意义在于揭示了信道对数据传输率的限制,推导出了带宽受限且有高斯白噪声干扰的信道的极限信息传输速率C=Wlog2(1+S/N),其中W为信道的带宽(以赫兹为单位),S为信道内所传信号的平均功率,N为信道内部的高斯噪声功率。
比特是信息量的单位,码元是在使用时间域(或简称为时域)的波形表示数字信号时。
代表不同的离散数值的基本波形。
则比特/秒是数据传输率的单位,代表每秒数据的传输量,一个码元可以携带多个比特量,一比特也有可能要靠几个码元来传输。
2-07 假定某信道受奈氏准则限制的最高码元速率为20000码元/秒。
如果采用振幅调制,把码元的振幅划分为16个不同等级来传送,那么可以获得多高的数据率(b/s)?
答:C=R*Log2(16)=20000b/s*4=80000b/s
2-08 假定要用3KHz带宽的电话信道传送64kb/s的数据(无差错传输),试问这个信道应具有多高的信噪比(分别用比值和分贝来表示?这个结果说明什么问题?)
答:C=Wlog2(1+S/N)(b/s)
W=3khz,C=64khz----àS/N=64.2dB 是个信噪比要求很高的信源
2-09 用香农公式计算一下,假定信道带宽为为3100Hz,最大信道传输速率为35Kb/s,那么若想使最大信道传输速率增加60%,问信噪比S/N应增大
到多少倍?如果在刚才计算出的基础上将信噪比S/N应增大到多少倍?如果在刚才计算出的基础上将信噪比S/N再增大到十倍,问最大信息速率能否再增加20%?
答:C = W log2(1+S/N) b/s-àSN1=2*(C1/W)-1=2*(35000/3100)-1
SN2=2*(C2/W)-1=2*(1.6*C1/w)-1=2*(1.6*35000/3100)-1
SN2/SN1=100信噪比应增大到约100倍。
C3=Wlong2(1+SN3)=Wlog2(1+10*SN2)
C3/C2=18.5%
如果在此基础上将信噪比S/N再增大到10倍,最大信息通率只能再增加18.5%左右
2-10 常用的传输媒体有哪几种?各有何特点?
答:双绞线
屏蔽双绞线STP (Shielded Twisted Pair)
无屏蔽双绞线UTP (Unshielded Twisted Pair)
同轴电缆
50 W 同轴电缆
75 W 同轴电缆
光缆
无线传输:短波通信/微波/卫星通信
2-11假定有一种双绞线的衰减是0.7dB/km(在1 kHz时),若容许有20dB 的衰减,试问使用这种双绞线的链路的工作距离有多长?如果要双绞线的工作距离增大到100公里,试应当使衰减降低到多少?
解:使用这种双绞线的链路的工作距离为=20/0.7=28.6km
衰减应降低到20/100=0.2db
2-12 试计算工作在1200nm到1400nm之间以及工作在1400nm到1600nm 之间的光波的频带宽度。
假定光在光纤中的传播速率为2*10e8m/s.
解:
V=L*F-àF=V/L--àB=F2-F1=V/L1-V/L2
1200nm到1400nm:带宽=23.8THZ
1400nm到1600nm:带宽=17.86THZ
2-13 为什么要使用信道复用技术?常用的信道复用技术有哪些?
答:为了通过共享信道、最大限度提高信道利用率。
常用的信道复用技术有:频分复用、时分复用、统计时分复用、波分复用、码分复用等
2-14 试写出下列英文缩写的全文,并做简单的解释。
FDM,TDM,STDM,WDM,DWDM,CDMA,SONET,SDH,STM-1 ,OC-48.
答:FDM(frequency division multiplexing)
TDM(Time Division Multiplexing)
STDM(Statistic Time Division Multiplexing)
WDM(Wave Division Multiplexing)
DWDM(Dense Wave Division Multiplexing)
CDMA(Code Wave Division Multiplexing)
SONET(Synchronous Optical Network)同步光纤网
SDH(Synchronous Digital Hierarchy)同步数字系列
STM-1(Synchronous Transfer Module)第1级同步传递模块
OC-48(Optical Carrier)第48级光载波
2-15 码分多址CDMA为什么可以使所有用户在同样的时间使用同样的频带进行通信而不会互相干扰?这种复用方法有何优缺点?
答:各用户使用经过特殊挑选的相互正交的不同码型,因此彼此不会造成干扰。
这种系统发送的信号有很强的抗干扰能力,其频谱类似于白噪声,不易被敌人发现。
占用较大的带宽。
2-16 共有4个站进行码分多址通信。
4个站的码片序列为
A:(-1-1-1+1+1-1+1+1)B:(-1-1+1-1+1+1+1-1)
C:(-1+1-1+1+1+1-1-1)D:(-1+1-1-1-1-1+1-1)
现收到这样的码片序列S:(-1+1-3+1-1-3+1+1)。
问哪个站发送数据了?发送数据的站发送的是0还是1?
解:S·A=(+1-1+3+1-1+3+1+1)/8=1,A发送1
S·B=(+1-1-3-1-1-3+1-1)/8=-1,B发送0
S·C=(+1+1+3+1-1-3-1-1)/8=0,C无发送
S·D=(+1+1+3-1+1+3+1-1)/8=1,D发送1
2-17 试比较xDSL、HFC以及FTTx接入技术的优缺点?
答:xDSL 技术就是用数字技术对现有的模拟电话用户线进行改造,使它能够承载宽带业务。
成本低,易实现,但带宽和质量差异性大。
HFC网的最大的优点具有很宽的频带,并且能够利用已经有相当大的覆盖面的有线电视网。
要将现有的450 MHz 单向传输的有线电视网络改造为750
MHz 双向传输的HFC 网需要相当的资金和时间。
FTTx(光纤到……)这里字母x 可代表不同意思。
可提供最好的带宽和质量、但现阶段线路和工程成本太大。
2-18为什么在ASDL技术中,在不到1MHz的带宽中却可以传送速率高达每秒几个兆比?
答:靠先进的DMT编码,频分多载波并行传输、使得每秒传送一个码元就相当于每秒传送多个比特。
2-19 基带信号和宽带信号有什么不同?(参考资料)。