第一章课后习题及答案

时间:2025-03-09

第一章

1.(Q1) What is the difference between a host and an end system List the types of end

systems. 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 a

diplomatic 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 suggests a date and time. Bob may respond by saying he’s not available that p articular 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 program request and

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, or

mobile 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): mobile

5.(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 these

access 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 to

1 Mbps, bandwidth is dedicated; HFC, downstream channel is 10-30 Mbps and upstream

channel is usually less than a few Mbps, bandwidth is shared.

8.(Q13) Why is it said that packet switching employs statistical multiplexing Contrast

statistical 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 when

transmitting, but each user transmits only 20 percent of the time. (See the discussion of statistical multiplexing in Section .)

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 be

essentially 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, all

three 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 transmit

simultaneously, 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 =

d.Probability that all three users are transmitting

simultaneously. Since the queue grows when all the users

are transmitting, the fraction of time during which the queue grows (which is equal to the probability that all three users are transmitting simultaneously) is .

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 B

has 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 …… 此处隐藏:13663字,全部文档内容请下载后查看。喜欢就下载吧 ……

第一章课后习题及答案.doc 将本文的Word文档下载到电脑

    精彩图片

    热门精选

    大家正在看

    × 游客快捷下载通道(下载后可以自由复制和排版)

    限时特价:7 元/份 原价:20元

    支付方式:

    开通VIP包月会员 特价:29元/月

    注:下载文档有可能“只有目录或者内容不全”等情况,请下载之前注意辨别,如果您已付费且无法下载或内容有问题,请联系我们协助你处理。
    微信:fanwen365 QQ:370150219