计算机网络原理第一章习题附答案

由题意知:
)
/()()/()(s m m s bit bit 速率电磁波在信道上的传播信道长度传播时延发送速率数据帧长度发送时延=
=
故:
(1)、ms s s m m s s
bit bit 5200
1/102101000100/10100108337==⨯⨯==⨯=传播时延发送时延(2)、
ms s s m m s s s bit bit 5200
1/102101000110
1/1011083936==⨯⨯===⨯=传播时延发送时延μ结论:在数据传输过程中,如果数据帧长度大,而发送速率低,则总时延中,发送时延远大于传播时延,占大头。

而数据帧长度短,而发送速率高,则总时延中,传播时延就可能大于发送时延,在总时延中占大头。

所以,设备的工作效率越高,发送速率越快,得到的总时延越小,这句话不一定正确。

由题意:1Mbit/s bit 102.17/101(/102.3
m 105000bit 104.35/101(/102.3m 10100435bit .0/101(/102.3100m bit 104.35/101(/102.30.1m 46832683684-68⨯=⨯⨯⨯⨯=⨯=⨯⨯⨯⨯==⨯⨯⨯=⨯=⨯⨯⨯=
s bit s m s bit s
m s bit s
m s bit s m 传播时延)比特数传播时延)比特数传播时延)比特数传播时延)比特数10Gbit/s
bit 102.17/101(/102.3m 105000bit 104.35/101(/102.3m 10100bit 104.35/101(/102.3100m 4.35bit /101(/102.30.1m 8983698339898⨯=⨯⨯⨯⨯=⨯=⨯⨯⨯⨯=⨯=⨯⨯⨯==⨯⨯⨯=s bit s m s bit s
m s bit s
m s bit s m 传播时延)比特数传播时延)比特数传播时延)比特数传播时延)比特数由题意:
100字节时63.3%100
182020100=+++==发送的总数据发送的应用层数据数据的传输效率1000字节时94.5%1000182020100=+++==
发送的总数据发送的应用层数据数据的传输效率总结:应用层数据长度为100字节时,效率为63.3%,为1000字节时,效率为94.5%
由题意:
(1)数据发送速率为10Mbit/s ,数据分组可以连续发送。

1.4582912s 80ms /bit 10108bit 21.5160ms t RTT 2
1TCP t 620=+⨯⨯⨯+=++=s
往返时间数据传输时间连接时间建立(2)数据发送速率为10Mbit/s ,但每发送完一个分组后要等待一个RTT 时间才能发送下一个分组。

2s 124.17829180ms 2
180ms 1535/bit 10108bit 21.5160t RTT 21RTT 1-1KB 1.5MB TCP t 620=⨯+⨯+⨯⨯⨯+=+⨯⎪⎭
⎫ ⎝⎛++=s ms 时间时间等待数据传输时间连接时间建立(3)数据发送速率极快,可以不考虑所需的时间,但规定在每一个RTT 往返时间内只能发送20个分组。

6.28s 80ms 2
1760ms 160t TCP t RTT 2
17676.82015361KB 2015361KB )2(RTT 2180ms 1KB 2080ms =⨯++=+++==ms 等待时间
传输时间数据发送时间(不计)连接时间建立时间个,取分组数据共个个,则分组共知由往返时间用于传输数据中,仅分组数据,而个内发送每
(4)数据发送速率巨快,不考虑发送数据所需时间。

有等比数列性质可知:
1s 802
180ms 10160ms t RTT 21TCP t 1023KB 10=⨯+⨯+=++=时间传输时间连接时间建立数据
次后,共发出发送由等比求和公式可知,总结:充分理解RTT 往返时间之后,本题则为题意理解题,只要理解题意,加以数学知识就
能解题。

由题意:设该链路的带宽为x bit/s ,则:
发送100字节的分组的发送时延为:s x
800bit/s x bit 8100=⨯=发送时延发送512字节的分组的发送时延为:s x 4096bit/s x bit 8512=⨯=
发送时延该链路上的传播时延为:s 4-83102.5m/s
102m 1050⨯=⨯⨯=传播时延100字节时两者一样大,即:
s s bit /Mbit 3.2/103.2x 102.5x 80064-=⨯=→⨯=512字节时两者一样大,即:s s bit /Mbit 16.384/1016.384x 102.5x
409664-=⨯=→⨯=总结:链路带宽与发送100字节的分组的发送时延一样大时为3.2Mbit/s ,与发送512字节的分组的发送时延一样大时为16.384Mbit/s。

合集下载

1.计算机网络原理第一章课后习题及答案

1.计算机网络原理第一章课后习题及答案

第一章1.(Q1) What is the difference between a host and an end system? List the types ofendsystems. Is a Web server an end system?Answer: There is no difference. Throughout this text, the words “host” and “end system” are used interchangeably. End systems include PCs, workstations, Web servers, mail servers, Internet-connected PDAs, WebTVs, etc.2.(Q2) The word protocol is often used to describe diplomatic relations. Give an example of adiplomatic protocol.Answer: Suppose Alice, an ambassador of country A wants to invite Bob, an ambassador of country B, over for dinner. Alice doesn’t simply just call Bob on the phone and say, come to our dinner table now”. Instead, she calls Bob and sugges ts a date and time. Bob may respond by saying he’s not available that particular date, but he is available another date. Alice and Bob continue to send “messages” back and forth until they agree on a date and time. Bob then shows up at the embassy on the agreed date, hopefully not more than 15 minutes before or after the agreed time. Diplomatic protocols also allow for either Alice or Bob to politely cancel the engagement if they have reasonable excuses.3.(Q3) What is a client program? What is a server program? Does a server programrequestand receive services from a client program?Answer: A networking program usually has two programs, each running on a different host, communicating with each other. The program that initiates the communication is the client.Typically, the client program requests and receives services from the server program.4.(Q4) List six access technologies. Classify each one as residential access, company access, ormobile access.Answer:1. Dial-up modem over telephone line: residential; 2. DSL over telephone line: residential or small office; 3. Cable to HFC: residential; 4. 100 Mbps switched Etherent: company; 5. Wireless LAN: mobile; 6. Cellular mobile access (for example, 3G/4G): mobile5.(Q5) List the available residential access technologies in your city. For each type of access,provide the advertised downstream rate, upstream rate, and monthly price.Answer: Current possibilities include: dial-up (up to 56kbps); DSL (up to 1 Mbps upstream, up to 8 Mbps downstream); cable modem (up to 30Mbps downstream, 2 Mbps upstream.6.(Q7) What are some of the physical media that Ethernet can run over?Answer: Ethernet most commonly runs over twisted-pair copper wire and “thin” coaxial cable.It also can run over fibers optic links and thick coaxial cable.7.(Q8)Dial-up modems, HFC, and DSL are all used for residential access. For each of theseaccess technologies, provide a range of transmission rates and comment on whether the transmission rate is shared or dedicated.Answer:Dial up modems: up to 56 Kbps, bandwidth is dedicated; ISDN: up to 128 kbps, bandwidth is dedicated; ADSL: downstream channel is .5-8 Mbps, upstream channel is up to1 Mbps, bandwidth is dedicated; HFC, downstream channel is 10-30 Mbps and upstreamchannel is usually less than a few Mbps, bandwidth is shared.8.(Q13)Why is it said that packet switching employs statistical multiplexing? Contraststatistical multiplexing with the multiplexing that takes place in TDM.Answer:In a packet switched network, the packets from different sources flowing on a link do not follow any fixed, pre-defined pattern. In TDM circuit switching, each host gets the same slot in a revolving TDM frame.9.(Q14) Suppose users share a 2Mbps link. Also suppose each user requires 1Mbps whentransmitting, but each user transmits only 20 percent of the time. (See the discussion of statistical multiplexing in Section 1.3.)a.When circuit switching is used, how many users can be supported?b.For the remainder of this problem, suppose packet switching is used. Why will there beessentially no queuing delay before the link if two or fewer users transmit at the same time? Why will there be a queuing delay if three users transmit at the same time?c.Find the probability that a given user is transmitting.d.Suppose now there are three users. Find the probability that at any given time, allthree users are transmitting simultaneously. Find the fraction of time during which the queue grows.Answer:a. 2 users can be supported because each user requires half of the link bandwidth.b.Since each user requires 1Mbps when transmitting, if two or fewer users transmitsimultaneously, a maximum of 2Mbps will be required. Since the available bandwidth of the shared link is 2Mbps, there will be no queuing delay before the link. Whereas, if three users transmit simultaneously, the bandwidth required will be 3Mbps which is more than the available bandwidth of the shared link. In this case, there will be queuing delay before the link.c.Probability that a given user is transmitting = 0.2d.Probability that all three users are transmitting simultaneously=33p3(1−p)0=0.23=0.008. Since the queue grows when all the users are transmitting, the fraction oftime during which the queue grows (which is equal to the probability that all three users are transmitting simultaneously) is 0.008.10.(Q16)Consider sending a packet from a source host to a destination host over a fixed route.List the delay components in the end-to-end delay. Which of these delays are constant and which are variable?Answer:The delay components are processing delays, transmission delays, propagation delays, and queuing delays. All of these delays are fixed, except for the queuing delays, which are variable.11.(Q19) Suppose Host A wants to send a large file to Host B. The path from Host A to Host Bhas three links, of rates R1 = 250 kbps, R2 = 500 kbps, and R3 = 1 Mbps.a.Assuming no other traffic in the network, what is the throughput for the file transfer.b.Suppose the file is 2 million bytes. Roughly, how long will it take to transfer the file toHost B?c.Repeat (a) and (b), but now with R2 reduced to 200 kbps.Answer:a.250 kbpsb.64 secondsc.200 kbps; 80 seconds12.(P2)Consider the circuit-switched network in Figure 1.8. Recall that there are n circuits oneach link.a.What is the maximum number of simultaneous connections that can be in progress atany one time in this network?b.Suppose that all connections are between the switch in the upper-left-hand cornerand the switch in the lower-right-hand corner. What is the maximum number ofsimultaneous connections that can be in progress?Answer:a.We can n connections between each of the four pairs of adjacent switches. This gives amaximum of 4n connections.b.We can n connections passing through the switch in the upper-right-hand cornerandanother n connections passing through the switch in the lower-left-hand corner, giving a total of 2n connections.13.(P4) Review the car-caravan analogy in Section 1.4. Assume a propagation speed of 50km/hour.a.Suppose the caravan travels 150 km, beginning in front of one tollbooth, passingthrough a second tollbooth, and finishing just before a third tollbooth. What is theend-to-end delay?b.Repeat (a), now assuming that there are five cars in the caravan instead of ten.Answer: Tollbooths are 150 km apart, and the cars propagate at 50 km/hr, A tollbooth services a car at a rate of one car every 12 seconds.a.There are ten cars. It takes 120 seconds, or two minutes, for the first tollbooth to servicethe 10 cars. Each of these cars has a propagation delay of 180 minutes before arriving at the second tollbooth. Thus, all the cars are lined up before the second tollbooth after 182 minutes. The whole process repeats itself for traveling between the second and third tollbooths. Thus the total delay is 364 minutes.b.Delay between tollbooths is 5*12 seconds plus 180 minutes, i.e., 181minutes. The totaldelay is twice this amount, i.e., 362 minutes.14.(P5) This elementary problem begins to explore propagation delay and transmission delay,two central concepts in data networking. Consider two hosts, A and B, connected by a single link of rate R bps. Suppose that the two hosts are separated by m meters, and suppose the propagation speed along the link is s meters/sec. Host A is to send a packet of size L bits to Host B.a.Express the propagation delay, d prop , in terms of m and s.b.Determine the transmission time of the packet, d trans, in terms of L and R.c.Ignoring processing and queuing delays, obtain an expression for the end-to-enddelay.d.Suppose Host A begins to transmit the packet at time t = 0. At time t = d trans, where isthe last bit of the packet?e.Suppose d prop is greater than d trans. At time t = d trans, where is the first bit of thepacket?f.Suppose d prop is less than d trans.At time t = d trans,where is the first bit of the packet?g.Suppose s = 2.5*108, L = 100bits, and R = 28kbps. Find the distance m so that dprop equals d trans .Answer:a. d prop = m/s seconds.b. d trans = L/R seconds.c. d end-to-end = (m/s + L/R) seconds.d.The bit is just leaving Host A.e.The first bit is in the link and has not reached Host B.f.The first bit has reached Host B.g.Wantm=LRS=10028∗1032.5∗108=893 km.15.(P6) In this problem we consider sending real-time voice from Host A to Host B over apacket-switched network (VoIP). Host A converts analog voice to a digital 64 kbps bit stream on the fly. Host A then groups the bits into 56-Byte packets. There is one link between Host A and B; its transmission rate is 500 kbps and its propagation delay is 2 msec.As soon as Host A gathers a packet, it sends it to Host B. As soon as Host B receives an entire packet, it converts the packet’s bits to an analog signal. How much time elapses from the time a bit is created (from the original analog signal at Host A) until the bit is decoded(as part of the analog signal at Host B)?Answer: Consider the first bit in a packet. Before this bit can be transmitted, all of the bits in thepacket must be generated. This requires56∗8sec=7 msec64∗103The time required to transmit the packet is56∗8sec=896 μsec500∗103Propagation delay = 2 msec.The delay until decoding is7msec +896μsec + 2msec = 9.896msecA similar analysis shows that all bits experience a delay of 9.896 msec.16.(P9) Consider a packet of length L which begins at end system A, travels over one link to apacket switch, and travels from the packet switch over a second link to a destination end system. Let d i, s i, and R i denote the length, propagation speed, and the transmission rate of link i, for i= 1, 2. The packet switch delays each packet by d proc. Assuming no queuing delays, in terms of d i, s i, R i, (i= 1, 2), and L, what is the total end-to-end delay for the packet? Suppose now the packet Length is 1,000 bytes, the propagation speed on both links is 2.5 * 108m/s, the transmission rates of both links is 1 Mbps, the packet switch processing delay is 2 msec, the length of the first link is 6,000 km, and the length of the last link is 3,000 km. For these values, what is the end-to-end delay?Answer: The first end system requires L/R1to transmit the packet onto the first link; the packet propagates over the first link in d1/s1; the packet switch adds a processing delay ofd proc; after receiving the entire packet, the packet switch requires L/R2to transmit the packetonto the second link; the packet propagates over the second link in d2/s2. Adding these five delays givesd end-end = L/R1 + L/R2 + d1/s1 + d2/s2 + d procTo answer the second question, we simply plug the values into the equation to get 8 + 8 +24 + 12 + 2= 54 msec.17.(P10) In the above problem, suppose R1 = R2 = R and d proc= 0. Further suppose the packetswitch does not store-and-forward packets but instead immediately transmits each bit it receivers before waiting for the packet to arrive. What is the end-to-end delay?Answer: Because bits are immediately transmitted, the packet switch does not introduce any delay;in particular, it does not introduce a transmission delay. Thus,d end-end = L/R + d1/s1 + d2/s2For the values in Problem 9, we get 8 + 24 + 12 = 44 msec.18.(P11) Suppose N packets arrive simultaneously to a link at which no packets are currentlybeing transmitted or queued. Each packet is of length L and the link has transmission rate R.What is the average queuing delay for the N packets?Answer:The queuing delay is 0 for the first transmitted packet, L/R for the second transmitted packet, and generally, (n-1)L/R for the nth transmitted packet. Thus, the average delay for the N packets is(L/R + 2L/R + ....... + (N-1)L/R)/N = L/RN(1 + 2 + ..... + (N-1)) = LN(N-1)/(2RN) = (N-1)L/(2R) Note that here we used the well-known fact that1 +2 + ....... + N = N(N+1)/219.(P14) Consider the queuing delay in a router buffer. Let I denote traffic intensity; that is, I =La/R. Suppose that the queuing delay takes the form IL/R (1-I) for I<1.a.Provide a formula for the total delay, that is, the queuing delay plus the transmissiondelay.b.Plot the total delay as a function of L/R.Answer:a.The transmission delay is L / R . The total delay isILR(1−I)+LR=L/R1−Ib.Let x = L / R.Total delay=x 1−αx20.(P16) Perform a Traceroute between source and destination on the same continent at threedifferent hours of the day.a.Find the average and standard deviation of the round-trip delays at each of the threehours.b.Find the number of routers in the path at each of the three hours. Did the pathschange during any of the hours?c.Try to identify the number of ISP networks that the Traceroute packets pass throughfrom source to destination. Routers with similar names and/or similar IP addresses should be considered as part of the same ISP. In your experiments, do the largest delays occur at the peering interfaces between adjacent ISPs?d.Repeat the above for a source and destination on different continents. Compare theintra-continent and inter-continent results.Answer: Experiments.21.(P18) Suppose two hosts, A and B, are separated by 10,000 kilometers and are conn ectedby a direct link of R =2 Mbps. Suppose the propagation speed over the link is 2.5•108 meters/sec.a.Calculate the bandwidth-delay product, R•d prop.b.Consider sending a file of 400,000 bits from Host A to Host B. Suppose the file is sentcontinuously as one large message. What is the maximum number of bits that will be in the link at any given time?c.Provide an interpretation of the bandwidth-delay product.d.What is the width (in meters) of a bit in the link? Is it longer than a football field?e.Derive a general expression for the width of a bit in terms of the propagation speed s,the transmission rate R, and the length of the link m.Answer:a.d prop= 107 / 2.5•108= 0.04 sec; so R •d prop= 80,000bitsb.80,000bitsc.The bandwidth-delay product of a link is the maximum number of bits that can be inthelink.d. 1 bit is 125 meters long, which is longer than a football fielde.m / (R •d prop ) = m / (R * m / s) = s/R22.(P20) Consider problem P18 but now with a link of R = 1 Gbps.a.Calculate the bandwidth-delay product,R·d prop .b.Consider sending a file of 400,000 bits from Host A to Host B. Suppose the file is sentcontinuously as one big message. What is the maximum number of bits that will be inthe link at any given time?c.What is the width (in meters) of a bit in the link?Answer:a.40,000,000 bits.b.400,000 bits.c.0.25 meters.23.(P21) Refer again to problem P18.a.How long does it take to send the file, assuming it is sent continuously?b.Suppose now the file is broken up into 10 packet is acknowledged by the receiver andthe transmission time of an acknowledgment packet is negligible. Finally, assumethat the sender cannot send a packet until the preceding one is acknowledged. Howlong does it take to send the file?pare the results from (a) and (b).Answer:a. d trans + d prop = 200 msec + 40 msec = 240 msecb.10 * (t trans + 2 t prop ) = 10 * (20 msec + 80 msec) = 1.0sec。

计算机网络习题和答案解析

计算机网络习题和答案解析

计算机⽹络习题和答案解析计算机⽹习题及参考答案第⼀章1.1写出计算机⽹络的定义,指明涉及到的知识点。

答:计算机⽹络是通过传输介质、通信设施和⽹络通信协议,把分散在不同地点的计算机设备互联起来,实现资源共享和信息传输的系统。

涉及到的知识点:1)传输介质;2)通信协议;3)不同地点.;4)计算机设备;5)资源共享;6)数据传输;7)系统。

1.6计算机⽹络提供的基本功能有哪些?答:1)数据通信。

计算机⽹络中的计算机设备,终端与计算机、计算机与计算机之间进⾏通信,数据传输,实现数据和信息的传输、收集和交换。

2)资源共享。

⽤户通过计算机⽹络可以共享系统内的硬件、软件、数据、⽂档信息,以及通过信息交流获取更多的知识。

3)给⽹络⽤户提供最好的性价⽐服务,减少重复投资。

4)提供⼤容量⽹络存储,不断增加新的多媒体应⽤。

5)提供分布式处理,使得协同操作为可能;平衡不同地点计算机系统的负荷,降低软件设计的复杂性,充分利⽤计算机⽹络系统内的资源,使得⽹格计算成为可能,提⾼计算机⽹络系统的效率。

6)对地理上分散的计算机系统进⾏集中控制,实现对⽹络资源集中管理和分配。

7)提供⾼可靠性的系统,借助在不同信息处理位置和数据存储地点的备份,通过传输线路和信息处理设备的冗余实现⾼可靠性。

1.13计算机⽹络的协议体系结构什么特征?答:计算机⽹络中计算机进⾏通信、数据交换时需要制定算双⽅都要遵守的通信规则和约定就是协议。

协议是按层次节后世界的,协议层次的集合构成了协议体系结构。

⽹络协议层次结构包含两个基本内容:1、⽹络实现的功能分解到若⼲层次,每个功能⽤同等层协议或对等层协议实现,不同系统中的对等层要遵循对等层协议,通过对等层协议理解和完成该层的功能。

2、相邻层次之间通过接⼝交互必要的信息,构成下层为上次提供服务的关系,也成为接⼝关系。

⽹络服务靠服务原语进⾏描述,⽹络协议软件根据⽹络协议结构进⾏设计和开发。

1.19 A1.26通信1.27局域⽹、城域⽹、⼴域⽹第⼆章2.7写出⽹络协议的三个要素的主要内容。

计算机网络原理答案

计算机网络原理答案

计算机网络原理答案第一章计算机网络概述一、选择题。

1.下列接入方式不属于宽带网络接入方式的是(A)A.双绞线接入B.钢线接入C.光纤接入D.无线接入2.下列有关多媒体网络中不同类型的数据对传输要求的叙述中不正确的是(B)A.语音数据的传输对实时性要求较强,而对通信宽带要求不高B.视频通信对实时性要求不高,而对通信宽带要求高C.视频压缩后的关键帧出错将导致一段数据流无法恢复、解压、回放D. 视频压缩后的非关键帧出错,在一定程度是可以容忍的3.目前电话双绞线上网的主流速率为56Kbps,其物理极限是(D)A.58KbpsB.60KbpsC.62KbpsD.64Kbps4.下列不是广域网的通信子网的是(D)A.公用分组交换网B.卫星通信网C.无线分组交换网D.数字数据网5.在计算机网络中,负责信息处理的是(C)A.网络软件B.网络操作系统C.资源子网D.通信子网6.不采用广播信道通信子网的基本拓扑结构的是(D)A.总线形B.树形C.环形D.星形7.以下哪个选项不属于IETF的工作领域(D)A. Internet服务管理B.运行要求C.安全性D.制定通信标准8.一次只能由一个设备传输信号,通常采用分布式控制策略来确定那个站定可以发送的拓扑结构是(B)A. 星形B. 总线形树形C.环形D. 树形9.在广播式网络中,哪类地址不属于发送的报文分组的目的地址(B)A. 单播地址B. 双播地址C.多播地址D. 广播地址二、填空题。

1.下一代网络NGN是基于_________的核心网络。

2.__________网标志着目前所称的计算机网络的兴起。

3.__________的提出,开创了一个具有统一的网络体系结构,遵循国际标准化的计算机网络新时代。

4.___________技术的发展为全球信息高速公路的建设提供了技术支持。

5.高速网络技术的发展表现在_________、异步传输模式ATM、高速局域网、交换局域网与虚拟网。

(完整版)计算机网络原理课后习题答案

(完整版)计算机网络原理课后习题答案

《计算机网络》(第四版)谢希仁第1章概述作业题1-03、1-06、1-10、1-13、1-20、1-221-03.试从多个方面比较电路交换、报文交换和分组交换的主要优缺点。

答:(1)电路交换它的特点是实时性强,时延小,交换设备成本较低。

但同时也带来线路利用率低,电路接续时间长,通信效率低,不同类型终端用户之间不能通信等缺点。

电路交换比较适用于信息量大、长报文,经常使用的固定用户之间的通信。

(2)报文交换报文交换的优点是中继电路利用率高,可以多个用户同时在一条线路上传送,可实现不同速率、不同规程的终端间互通。

但它的缺点也是显而易见的。

以报文为单位进行存储转发,网络传输时延大,且占用大量的交换机内存和外存,不能满足对实时性要求高的用户。

报文交换适用于传输的报文较短、实时性要求较低的网络用户之间的通信,如公用电报网。

(3)分组交换分组交换比电路交换的电路利用率高,比报文交换的传输时延小,交互性好。

1-06.试将TCP/IP和OSI的体系结构进行比较。

讨论其异同点。

答:(1)OSI和TCP/IP的相同点是:都是基于独立的协议栈的概念;二者均采用层次结构,而且都是按功能分层,层功能大体相似。

(2)OSI和TCP/IP的不同点:①OSI分七层,自下而上分为物理层、数据链路层、网络层、运输层、应用层、表示层和会话层;而TCP/IP具体分五层:应用层、运输层、网络层、网络接口层和物理层。

严格讲,TCP/IP网间网协议只包括下三层,应用程序不算TCP/IP的一部分②OSI层次间存在严格的调用关系,两个(N)层实体的通信必须通过下一层(N-1)层实体,不能越级,而TCP/IP可以越过紧邻的下一层直接使用更低层次所提供的服务(这种层次关系常被称为“等级”关系),因而减少了一些不必要的开销,提高了协议的效率。

③OSI 只考虑用一种标准的公用数据网。

TCP/IP 一开始就考虑到多种异构网的互连问题,并将网际协议IP 作为TCP/IP 的重要组成部分。

自考04741《计算机网络原理》课后习题答案

自考04741《计算机网络原理》课后习题答案

第1章节计算机网络概述1.计算机网络的发展可以分为哪几个阶段?每个阶段各有什么特点?A 面向终端的计算机网络:以单个计算机为中心的远程联机系统。

这类简单的“终端—通信线路—计算机”系统,成了计算机网络的雏形。

B 计算机—计算机网络:呈现出多处中心的特点。

C 开放式标准化网络:OSI/RM 的提出,开创了一个具有统一的网络体系结构,遵循国际标准化协议的计算机网络新时代。

D 因特网广泛应用和高速网络技术发展:覆盖范围广、具有足够的带宽、很好的服务质量与完善的安全机制,支持多媒体信息通信,以满足不同的应用需求,具备高度的可靠性与完善的管理功能。

2.计算机网络可分为哪两大子网?它们各实现什么功能?通信子网和资源子网。

资源子网负责信息处理,通信子网负责全网中的信息传递。

3.简述各种计算机网络拓扑类型的优缺点。

星形拓扑结构的优点是:控制简单;故障诊断和隔离容易;方便服务,中央节点可方便地对各个站点提供服务和网络重新配置。

缺点是:电缆长度和安装工作量客观;中央节点的负担较重形成“瓶颈”;各站点的分布处理能力较低。

总线拓扑结构的优点是:所需要的电缆数量少;简单又是无源工作,有较高的可靠性;易于扩充增加或减少用户比较方便。

缺点是:传输距离有限,通信范围受到限制;故障诊断和隔离较困难;分布式协议不能保证信息的及时传输,不具有实时功能。

树形拓扑结构的优点是:易于扩展、故障隔离较容易,缺点是:各个节点对根的依赖性太大。

环形拓扑结构的优点是:电缆长度短;可采用光纤,光纤的传输率高,十分适合于环形拓扑的单方向传输;所有计算机都能公平地访问网络的其它部分,网络性能稳定。

缺点是:节点的故障会引起全网故障;环节点的加入和撤出过程较复杂;环形拓扑结构的介质访问控制协议都采用令牌传递的方式,在负载很轻时,信道利用率相对来说就比较低。

混合形拓扑结构的优点是:故障诊断和隔离较为方便;易于扩展;安装方便。

缺点是:需要选用带智能的集中器;像星形拓扑结构一样,集中器到各个站点的电缆安装长度会增加。

计算机网络第1章 基础知识(答案)

计算机网络第1章 基础知识(答案)

一、选择题1、计算机网络最基本的功能是下列哪一个?A.降低成本B.打印文件C.资源共享D.文件调用2、信息高速公路是指下列什么?A.装备有通讯设备的高速公路B.电子邮政系统C.快速专用通道D.国家信息基础设施3、下面哪一个不是分组交换的优点?A.高效B.灵活C.开销小D.快速4、校园网按照作用范围分属于哪一种网络?A.局域网B.广域网C.城域网D.个人区域网5、局域网的英文缩写为下列哪一个?A.LAN B.WAN C.ISDN D.MAN6、广域网的英文缩写为什么?A.LAN B.WAN C.ISDN D.MAN7、计算机网络中广域网和局域网的分类是以什么来划分的?A.信息交换方式B.网络使用者C.网络连接距离D.传输控制方法8、从分类角度上看,下面哪一种网络与其它三个不同?A.局域网B.城域网C.广域网D.校园网9、下列哪一个不是按照作用范围划分的网络?A.局域网B.城域网C.专用网D.广域网10、计算机网络的逻辑组成是由下列哪一组组成?A.局域网、城域网和广域网B.计算机、网线和通信设备C.通信子网和资源子网D.客户机和服务器11、表征数据传输可靠性的指标是下列什么?A.误码率B.频带利用率C.传输速D.信道容量12、关于客户/服务器通信方式的错误说法是下列哪一个?A.描述的是通信进程间的服务和被服务的关系B.客户是服务的请求方C.服务器是服务的提供方D.通信进程间的身份对等13、客户/服务器机制的英文名称是下列哪一个?A.Client/Server B.Guest/ServerC.Guest/Administrator D.Slave/Master14、Intranet是什么?A.Internet发展的一个阶段B.企业内部网络C.Internet发展的一种新的技术D.企业外部网络15、关于TCP/IP协议集,下列说法不正确的是下列哪一项?A.由美国国防部高级研究计划局DARPA开发的B.该协议的体系结构分为5个层次C.TCP 和UDP位于传输层D.IP 协议是一个面向无连接的协议16、关于实体、协议、服务和服务访问点的正确说法是下列哪一个?A.实体指的是硬件设备B.协议是控制上下层之间通信的规则C.服务的方向是由下而上的D.服务访问点是对等实体间的接口17、在系统中,上下层之间通过接口进行通信,用下列什么来定义接口?A.服务原语B.服务访问点C.服务数据单元D.协议数据单元18、计算机网络体系结构可以定义为?A.一种计算机网络的实现B.执行计算机数据处理的软件模块C.建立和使用通信硬件和软件的一套规则和规范D.由ISO 制定的一个标准19、下面不属于网络拓扑结构的是下列哪一个结构?A.环形结构B.总线结构C.层次结构D.网状结构20、下面不属于局域网拓扑结构的是什么结构?A.环形结构B.总线结构C.树形结构D.网状结构21、关于实体、协议、服务和服务访问点的正确说法是下列哪一个?A.实体指的是硬件设备B.协议是控制上下层之间通信的规则C.服务的方向是由下而上的D.服务访问点是对等实体间的接口22、在系统中,上下层之间通过接口进行通信,用下列什么来定义接口?A.服务原语B.服务访问点C.服务数据单元D.协议数据单元23、计算机网络体系结构可以定义为?A.一种计算机网络的实现B.执行计算机数据处理的软件模块C.建立和使用通信硬件和软件的一套规则和规范D.由ISO 制定的一个标准24、关于TCP/IP协议集,下列说法不正确的是下列哪一项?A.由美国国防部高级研究计划局DARPA开发的B.该协议的体系结构分为5个层次C.TCP 和UDP位于传输层D.IP 协议是一个面向无连接的协议25、协议的关键要素不包括下列哪一项?A.语言B.语法C.语义D.同步26、下列设备不属于资源子网的是哪一个?A.打印机B.集线器C.路由器D.局域网交换机27、在ISO/OSI参考模型中,数据的压缩、加密等功能由哪层完成()。

计算机网络第一章习题及答案

第一章计算机网络的基本概念一、选择题1、完成路径选择功能是在OSI模型的()。

A.物理层B.数据链路层C.网络层D.运输层2、在TCP/IP协议簇的层次中,保证端-端的可靠性是在哪层上完成的?()A.网络接口层B.互连层C.传输层D.应用层3、在TCP/IP体系结构中,与OSI参考模型的网络层对应的是()。

A.网络接口层B.互联层C.传输层D.应用层4、在OSI七层结构模型中,处于数据链路层与传输层之间的是()。

A.物理层B.网络层C.会话层D.表示层5、计算机网络中可以共享的资源包括()。

A.硬件、软件、数据B.主机、外设、软件C.硬件、程序、数据D.主机、程序、数据6、网络协议组成部分为()。

A.数据格式、编码、信号电平B.数据格式、控制信息、速度匹配C.语法、语义、定时关系D.编码、控制信息、定时关系二、填空题1、按照覆盖的地理范围,计算机网络可以分为________、________和________。

2、Internet采用_______协议实现网络互连。

3、ISO/OSI中OSI的含义是________。

4、计算机网络是利用通信线路将具有独立功能的计算机连接起来,使其能够和________ 和________。

5、TCP/IP协议从上向下分为________、________、________和________4层。

6、为了实现对等通信,当数据需要通过网络从一个节点传送到到另一个节点前,必须在数据的头部(和尾部)加入____________,这种增加数据头部(和尾部)的过程叫做____________或____________。

7、计算机网络层次结构划分应按照________和________的原则。

8、ISO/OSI参考模型将网络分为从低到高的________、________、________、________、________、________和________七层。

9、建立计算机网络的目的是___________和____________。

04741计算机网络原理李全龙计算机网络原理,课后习题第一章

计算机网络原理第一章课后习题:一,什么是计算机网络?计算机网络就是互联的,自治的计算机的集合。

二,网络协议的三要素是什么?含义各是什么?网络协议的三要素是语法,语义,时序。

语法就是定义实体之间交换信息的格式和结构,或者定义(比如硬件设备)之间传播信号的电平等。

语义就是定义实体之间交换信息中需要发送(或包含)哪些控制信息。

这种信息的具体含义,以及针对不同含义的控制信息,接收信息端应如何响应。

时序也称同步。

定义实体之间交换信息的顺序,以及如何匹配或适应彼此的速度。

三,计算机网络的功能是什么?在不同主机之间实现快速的信息交换,通过信息交换,计算机网络可以实现资源共享这一核心功能。

四,按网络覆盖范围划分,主要有哪几类计算机网络?各自的特点?主要有个域网,局域网,城域网,广域网。

个域网是近几年随着穿戴设备,便携式移动设备的快速发展而提出的网络类型,是由个人设备通过无线通信技术,构成小范围的网络,实现个人设备间的数据传输,比如蓝牙。

范围控制在1到10米。

局域网通常部署在办公室,办公楼,厂区等局部区域内。

采用高速有线或无线链路,连接主机实现局部范围内高速数据传输范围。

十米到一公里。

城域网覆盖一个城市范围内的网络,5到50公里。

广域网覆盖通常跨越更大的地理空间,几十公里至几千公里,可以实现异地城域网或局域网的互连。

五,按网络拓扑划分,主要有哪几类,各有什么特点?星形拓扑结构,总线拓扑结构,环形拓扑结构,网状拓扑结构,树形拓扑结构,混合拓扑结构。

1.星形拓扑包括一个中央结点,网络中的主机通过点对点通信链路与中央结点连接,中央结点通常是集线器、交换机等设备,通信通过中央结点进行。

多见于局域网个域网中。

优点,易于监控与管理,故障诊断与隔离容易。

缺点,中央结点是网络中的瓶颈,一旦故障,全网瘫痪,网络规模受限于中央结点的端口数量。

2.总线拓扑结构采用一条广播信道作为公共传输介质,称为总线。

所有结点均与总线连接,结点间的通信均通过共享的成分进行。

计算机网络第1-3章部分课后习题参考答案

第一章概述1-03 试从多个方面比较电路交换、报文交换和分组交换的主要优缺点。

答:(1)电路交换的优点:适用于连续传送大量数据。

电路交换的缺点:电路建立时间长,线路利用率低。

(2)报文交换的优点:采用了存储转发技术,线路使用率高。

报文交换的缺点:延迟长。

(3)分组交换的优点:高效——动态分配传输带宽,对通信链路是逐段占用。

灵活——以分组为传送单位和查找路由。

迅速——不必先建立连接就能向其他主机发送分组。

可靠——保证可靠性的网络协议;分布式的路由选择协议使网络有很好的生存性。

分组交换的缺点:分组在各结点存储转发时需要排队,这就会造成一定的时延。

同时分组必须携带的首部(里面有必不可少的控制信息)也造成了一定的开销。

1-12 因特网的两大组成部分(边缘部分与核心部分)的特点是什么?它们的工作方式各有什么特点?答:边缘部分:由所有连接在因特网上的主机组成。

由用户直接使用。

核心部分:由大量网络和连接这些网络的路由器组成。

为边缘部分提供服务。

工作方式:(1)边缘部分:采用客户服务器方式和对等通信方式。

(2)核心部分:采用电路交换、分组交换。

1-13 客户服务器方式与对等通信方式的主要区别是什么?有没有相同的地方?答:相同之处:两者所描述的都是进程之间服务和被服务的关系。

1-18 假设信号在媒体上的传播速度为2×108m/s.媒体长度L分别为:(1)10cm(网络接口卡)(2)100m(局域网)(3)100km(城域网)(4)5000km(广域网)试计算出当数据率为1Mb/s和10Gb/s时在以上媒体中正在传播的比特数。

解:即求传播时延带宽积。

结果见书上课后参考答案。

1-25 试举出日常生活中有关“透明”这种名词的例子。

答:这种例子有很多。

比如日常家用电器,我们并不知道家用电器具体工作原理,但只要清楚某按钮可以完成什么功能,就可以使用家用电器为日常生活服务。

第二章物理层2-04 试解释以下名词:数据,信号,模拟数据,模拟信号,基带信号,带通信号,数字数据,数字信号,码元,单工通信,半双工通信,全双工通信,串行传输,并行传输。

第一章 计算机网络概述练习题及答案

第一章——计算机网络概述一、填空题1.计算机网络的网络资源包括________、________和________。

2.1969年12月,Internet的前身________的投入运行,标志着计算机网络的兴起。

3.国际标准化组织(英文简称____)在1984年正式颁布了________________使计算机网络体系结构实现了标准化。

4.________________是计算机网络最基本的功能之一。

5.计算机网络是________技术与________技术结合的产物。

6.Internet的应用有________、信息发布、电子商务、远程音频、视频应用。

7.计算机网络是由________系统和________系统构成的;从逻辑功能上看,则是由________和________组成的;从拓扑结构看是由一些________和________构成的。

8.________________又称网络单元,一般可分为三类:________、________和________。

9.________是指两个网络节点之间承载信息和数据的线路,可分为______________和____________。

10.__________提供访问网络和处理数据的能力,由主机系统、终端控制器和终端组成;__________是计算机网络中负责数据通信的部分,主要完成数据的传输、交换以及通信控制,由________、________组成。

11.网络硬件系统是指构成计算机网络的硬件设备,包括各种____________、_______及________;网络软件主要包括____________、____________和____________。

12.__________是计算机网络的主体,按其在网络中的用途和功能的不同,可分为________和________两大类。

13.____________是网络中用户使用的计算机设备,又称______;____________是通过网络操作系统为网上工作站提供服务及共享资源的计算机设备。

  1. 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
  2. 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
  3. 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。
相关文档
最新文档