计网作业1

计网作业1
计网作业1

Chapter I

说明:括弧中红色标号为课本中对应的习题号(R-Review Questions, P-Problems)

1.1,1.2节后的作业:

1.(R1)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 between a host and an end system.

Type: PCs, workstations, Web servers, mail servers, Internet-connected PDAs, WebTVs, cellphone

2.(R3)What is a client program? What is a server program? Does a server program

request and receive services from a client program?

Answer:

3.(R4)List six access technologies. Classify each one as residential access, company access,

or mobile access.

Answer: (1)residential access :dial-up modem, DSL, HFC

(2) company access :100 Mbps switched Enternet

(3) mobile access :wireless LAN, cellular telephony

4.(R8)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 56kbps direct access to router(often less),is dedicated.

HFC : 30Mbps downstream ,is shared.

DSL :up to 8Mbps downstream, is dedicated .

5.(R10)Describe the most popular wireless Internet access technologies today. Compare

and contrast them.

Answer : There are two most popular wireless Internet access technologies today:

a.Wireless LAN

In a wireless LAN, wireless users transmit/receive packets to/from a base station (wireless access point) within a radius of a few ten s of meters. The base station is connected to the wired Internet and thus serves to connect wireless users to the wired network.

b.wide-area wireless access network

packets are transmitted over the same wireless infrastructure used for cellular telephony ,with the base station thus being managed by a telecommunications provider .This provides wireless access to users within a radius of tens of kilometers of the base station.

6.删除

1.3,1.4节后的作业:

7.(R16)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.

8.(P2)Consider the circuit-switched network in Figure 1.8. Recall that there are n circuit

on each link.

A. What is the maximum number

of simultaneous connections that can be

in progress at any one time in this

network?

B. Suppose that all connections are

between the switch in the

upper-left-hand corner and switch in

the lower-right-hand corner. What is

the maximum number of simultaneous

that can be in progress?

Answer:

A.there are n connections

between each of the four pairs

of adjacent switches. Thus

gives a maximum of 4n connections.

B.We can n connections passing through the switch in the upper-right hand

corner and another n connections passing through the switch in the lower-left –hand corner ,giving a total of 2n connections.

9.(P7)Suppose user share a 1Mbps link. Also suppose each user require 100 kbps when

transmitting, but each user transmits only 10 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. Find the probability that a given user is transmitting.

C. Suppose there are 40 users. Find the probability that at any given time, exactly n users are transmitting simultaneously. (Hint: Use the binomial distribution)

D. Find the probability that there are 11 or more users transmitting simultaneously. Answer:

A.10 users are supported.

B.P = 0.1

C.P(n users are transmitting simultaneously)=(0.1)^n*(1-0.1)^(40-n)

D.P(11 or more users)==1-

10.(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 meter/sec. Host A is send a packet of size L bits to Host B.

a.Express the propagation delay, d

prop

, in term of m and s.

d

prop

=m/s seconds

b.Determine the transmission time of the packet, d

trans

, in terms of L and R.

d

trans

=L/R seconds

c.Ignoring processing and queuing delays, obtain an expression for end-to-end delay.

=(m/s + L/R) seconds

d.Suppose Host A begins to transmit the packet at time t=0. At time t=d

trans

, where is the last bit of the packet?

The bit is just leaving host A.

e.Suppose d

prop is greater than d

trans

. At time t=d

trans

, where is the first bit of the

packet?

The first bit is in the link and has not reached host B.

f.Suppose d

prop is less than d

trans

. At time t=d

trans

, where is the first bit of the packet?

The first bit has reached host B.

g.Suppose s=2.5?108, L=100 bits, and R=28 kbps. Find the distance m so that

d

prop equals d

trans

.

m = LS/R=100*(2.5*10^8)/28*10^3=893km

11.(P13)Consider the queuing delay in a router buffer (preceding an outbound link.)

Suppose all packets are L bits, the transmission rate is R bps, and that N packets simultaneously arrive at the buffer every LN/R seconds. Find the average queuing delay of a packet. (Hint: The queuing delay for the first packet is zero; for the second packet L/R; for the third packet 2L/R. The Nth packet has already been transmitted when the second batch of packet arrives.)

It takes LN/R seconds to transmit the N packets .Thus ,the buffer is empty when a batch of N packets arrive.

The first of the N packets has no queuing delay.The 2nd pachet has a queuing delay of L/R

seconds. The nth packet has a delay of (n-1)L/R seconds.

The average delay is

===

12.(P18)Suppose two hosts, A and B, are separated by 10,000 kilometers and are connected

by 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

40000 bits

B.Consider sending a file of 400,000 bits from Host A to Host B. Suppose the file sent

continuously as a large message. What is the maximum number of bits that will be in the link at any given time?

40000 bits

C.Provide an interpretation of the bandwidth-delay product.

The bandwidth-delay product of a link is the maximum number of bits that can be in the link

D.What is the width (in meters) of a bit in the link? Is it longer than a football field?

1 bit is 250 meters long, which is 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.

s/R

1.5,1.6,1.7节后的作业:

13.(R23)What are the five layers in the Internet protocol stack? What are the principal

responsibilities of each of these layers?

The five layers in the Internet protocol stack are –from top to bottom –the application layer, the network layer ,the link layer ,and the physical layer .For example, error control is often provided at more than one layer.

14.(R24)Which layers in the Internet protocol stack does a router process? Which layers

does a link-layer switch process? Which layers does a host process?

Application-layer message: data which an application wants to send and passed onto the transport layer; transport-layer segment: generated by the transport layer and encapsulates application-layer message with transport layer header; network-layer datagram: encapsulates transport-layer segment with a network-layer header; link-layer frame: encapsulates network-layer datagram with a link-layer header.

15.(R25)What is an application-layer message? A transport-layer segment? A network-layer

datagram? A link-layer frame?

Routers process layers 1 through 3. (This is a little bit of a white lie, as modern routers sometimes act as firewalls or caching components, and process layer four as well.) Link

layer switches process layers 1 through 2. Hosts process all five layers.

16.(P22)Suppose there is a 10 Mbps microwave link between a geostationary satellite and

its base station on Earth. Every minute the satellite takes a digital photo and sends it to the base station. Assume a propagation speed of 2.4·108meters/sec.

a.What is the propagation delay of link?

b.What is the bandwidth-delay product, R·t prop?

c.Let x denote the size of the photo. What is the minimum value of x for the

microwave link to be continuously transmitting?

a. 35786*10^3/2.4*10^8=150msec

b.10Mbps *150ms=1500000bits

c.600000000bits

17. (P24)In modern packet-switched networks, the source host segments long,

application-layer messages (for example, an image or music file) into smaller packets and sends the packets into the network. The receiver then reassembles the packets back into the original message. We refer to this process as message segmentation. Figure 1.24 illustrates the end-to-end transport of a message with and without message segmentation. Consider a message is 8?106

bits long that is to be sent from source to destination in Figure 1.24. Suppose each link in the figure is 2 Mbps. Ignore propagation, queuing, and processing delays.

A. Consider sending the message form source to destination without message segmentation. How long does it take to move the message from the source host to the first packet switch? Keeping in mind that each switch uses store-and-forward packet switching, what is the total time to move the message from source host to destination host?

B. Now suppose that the message is segmented into 4,000 packets, with each packet being 2,000 bits long. How long does it take to move the first packet from source host to the first switch? When the first packet is being sent from the first switch to the second switch, the second packet is being sent from the source host to the first switch. At what time will the second packet be fully received at the first switch?

C. How long does it take to move the file from source host to destination host when message Segmentation is used? Compare this result with your answer in part (a) and comment.

D. Discuss the drawback of message segmentation.

a) Time to send message from source host to first packet switch =

sec 5sec 105.1105.76

6

=??. With store-and-forward switching, the total time to move message from source host to destination host = sec 153sec 5=?hops

b) Time to send 1st packet from source host to first packet switch = .

sec 1sec 10

5.1105.163

m =??. Time at which 2nd packet is received at the first switch

= time at which 1st packet is received at the second switch =

sec 2sec 12m m =?

c) Time at which 1st packet is received at the destination host = .

sec 33sec 1m hops m =?. After this, every 1msec one packet will be received; thus time at which last (5000th ) packet is received =

sec 002.5sec 1*4999sec 3=+m m . It can be seen that delay in using message

segmentation is significantly less (almost 1/3rd ).

d) Drawbacks:

i. Packets have to be put in sequence at the destination.

ii. Message segmentation results in many smaller packets. Since

header size is usually the same for all packets regardless of

their size, with message segmentation the total amount of

header bytes is more.

18. (P26) Consider sending a large file of F bits from Host A to Host B. There are two links (and one switch) between A and B, and the links are uncongested (that is no queuing delays). Host A segments the file into segments of S bits each and adds 40 bits of header to each segment, forming packets of L=40+S bits. Each link has a transmission rate of R bps. Find the value of S that minimizes the delay of moving the file from Host A to Host

B. Disregard propagation delay.

Time at which the 1st packet is received at the destination =

240?+R S sec. After this, one packet is received at destination every R

S 40+sec. Thus delay in sending the whole file = )1(40)40()1(240+?+=+?-+?+=S

F R S R S S F R S delay To calculate the value of S which leads to the minimum delay,

F S R S

S S R F delay dS d 4001)401(02=?=++-?=

19. 单项选择题

(1)在OSI 参考模型的各层次中, D 的数据传送单位是报文。

A .物理层

B .数据链路层

C .网络层

D .运输层

(2)文件传输协议是 C 上的协议。

A .网络层

B .运输层

C .应用层

D.物理层

(3)在下列常用的传输媒体中, C 的带宽最宽、信号传输衰减最小、抗干扰能力最强。

A.双绞线

B.同轴电缆

C.光缆

D.微波

(4)在OSI模型中,第N层和其上的N+1层的关系是 A 。

A.N层为N+1层提供服务

B.N+1层将为从N层接收的信息增加了一个头

C.N层利用N+1层提供的服务

D.N层对N+1层没有任何作用

(5)计算机网络按其所涉及范围的大小和计算机之间互连的距离,其类型可分为C 。

A.局域网、广域网和混合网

B.分布的、集中的和混合的

C.局域网和广域网

D.通信网、因特网和万维网

(6)下列说法中,正确的是( D)。

A.在较小范围内布置的一定是局域网,在较大范围内布置的一定是广域网

B.城域网是连接广域网而覆盖园区的网络

C.城域网是为淘汰局域网和广域网而提出的一种网络技术

D.局域网是基于广播技术发展起来的网络,广域网是基于交换技术发展起来的网络

20.在C/S模式的网络中,最恰当的是(A )。

A.客户机提出请求,服务器响应请求、进行处理并返回结果

B.服务器有时可以同时为多个客户机服务

C.客户机可以将服务器的资源各份在本地,以避免向服务器请求服务

D.服务器永远是网络的瓶颈

21.单顶选择题

【1】第一个分组交换网是( A)。

A.ARPAnet

B.X.25

C.以太网

D.Internet

【3】通信子网不包括( D )。

A.物理层

B.数据链路层

C.网络层

D.传输层

【4】当数据由端系统A传至端系统B时,不参与数据封装工作的是( A )。

A.物理层

B.数据链路层

C.应用层

D.网络层

【5】在OSI的七层模型中,工作在第三层以上的网间连接设备是(B )。(华中科技大学2003年试题)

A.集线器

B.网关

C.网桥

D.中继器

【6】在OSI七层结构模型中,处于数据链路层与传输层之间的是(B )(华中科技大学2003年试题)

A.物理层 B. 网络层 C. 会话层 D. 表示层

【7】完成路径选择功能是在OSI参考模型的(C )。(华中科技大学2003年试题)

A.物理层

B.数据链路层

C.网络层

D.传输层

【8】在TCP/IP协议簇的层次中,解决计算机之间通信问题是在(B )。(华中科技大学2003年试题)

A.网络接口层

B.网际层

C.传输层

D.应用层

【9】TCP/IP参考模型的网际层用于实现地址转换的协议有( A )。

A.ARP

B.ICMP

C. UDP

D.TCP

北交 计网 自顶向下 第二章作业答案

Chapter 2 注:括弧之中红色标注为与课本习题对应的编号 2.1,2.2节后作业: 1.(R2)For a communication session between a pair of processes, which process is the client and which is the server? 建立连接的是客户等待的是服务器。 2.(R3)What is the difference between network architecture and application architecture? 网络架构为标准的五层或七层,应用架构由程序员自行设计 3.(R4)What information is used by a process running on one host to identify a process running on another host? 端口号和IP地址 4.(R7)Suppose you wanted to do a transaction from a remote client to a server as fast as possible. Would you use UDP or TCP? Why? UDP,因为不需要建立连接,速度更快。 5.(R8)List the four broad classes of services that a transport protocol can provide. For each of the service classes, indicate if either UDP or TCP (or both) provides such a service. 可靠数据传输,安全,吞吐量,定时 6.(R9)Why do HTTP, FTP, SMTP, and POP3 run on top of TCP rather than on UDP? 因为与这些协议相联系的应用都要求应用数据能够被无差错的有序的接收,而TCP提供可靠的数据传输 7.(R11)What is meant by a handshaking protocol? 握手协议,通过三次握手建立连接,保证可靠传输 2.3,2.4节后作业 8.(R15)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. 信息从Alice的主机发送到她的邮件服务器,使用HTTP 协议。然后邮件从Alice的邮件服务器发送到Bob 的邮件服务器,使用SMTP协议。最后Bob将邮件从他的邮件服务器接收到他的主机,使用POP3协议。 9.(R17)From a user's perspective, what is the difference between the download-and-delete mode and the download-and-keep mode in POP3? 在下载并删除方式下,在用户从POP服务器取回他的邮件后,信息就被删除。 在下载并保留方式下,在用户取回邮件后,邮件不会被删除。 10.(R18)Is it possible for an organization's Web server and mail server to have exactly the same alias for a hostname (for example,foo. com)? What would be the type for the RR that

计算机操作系统(第四版)课后习题答案第一章

第一章 1.设计现代OS的主要目标是什么 答:(1)有效性(2)方便性(3)可扩充性(4)开放性 2.OS的作用可表现在哪几个方面 答:(1)OS作为用户与计算机硬件系统之间的接口(2)OS 作为计算机系统资源的管理者(3)OS实现了对计算机资源的抽象 3.为什么说OS实现了对计算机资源的抽象 答:OS首先在裸机上覆盖一层I/O设备管理软件,实现了对计算机硬件操作的第一层次抽象;在第一层软件上再覆盖文件管理软件,实现了对硬件资源操作的第二层次抽象。OS 通过在计算机硬件上安装多层系统软件,增强了系统功能,隐藏了对硬件操作的细节,由它们共同实现了对计算机资源的抽象。 4.试说明推劢多道批处理系统形成和収展的主要劢力是什么答:主要动力来源于四个方面的社会需求与技术发展:(1)不断提高计算机资源的利用率;(2)方便用户;(3)器件的不断更新换代;(4)计算机体系结构的不断发展。5.何谓脱机I/O和联机I/O 答:脱机I/O 是指事先将装有用户程序和数据的纸带或卡片装入纸带输入机或卡片机,在外围机的控制下,把纸带或卡片上的数据或程序输入到磁带上。该方式下的输入输出由外围机控制完成,是在脱离主机的情况下进行的。而联机I/O 方式是指程序和数据的输入输出都是在主机的直接控制下进行的。 6.试说明推劢分时系统形成和収展的主要劢力是什么

答:推动分时系统形成和发展的主要动力是更好地满足用户的需要。主要表现在:CPU 的分时使用缩短了作业的平均周转时间;人机交互能力使用户能直接控制自己的作业;主机的共享使多用户能同时使用同一台计算机,独立地处理自己的作业。 7.实现分时系统的关键问题是什么应如何解决 答:关键问题是当用户在自己的终端上键入命令时,系统应能及时接收并及时处理该命令,在用户能接受的时延内将结果返回给用户。解决方法:针对及时接收问题,可以在系统中设臵多路卡,使主机能同时接收用户从各个终端上输入的数据;为每个终端配臵缓冲区,暂存用户键入的命令或数据。针对及时处理问题,应使所有的用户作业都直接进入内存,并且为每个作业分配一个时间片,允许作业只在自己的时间片内运行,这样在不长的时间内,能使每个作业都运行一次。 8.为什么要引入实时OS 答:实时操作系统是指系统能及时响应外部事件的请求,在规定的时间内完成对该事件的处理,并控制所有实时任务协调一致地运行。引入实时OS 是为了满足应用的需求,更好地满足实时控制领域和实时信息处理领域的需要。 9.什么是硬实时任务和软实时任务试举例说明。 答:硬实时任务是指系统必须满足任务对截止时间的要求,否则可能出现难以预测的结果。举例来说,运载火箭的控制等。软实时任务是指它的截止时间并不严格,偶尔错过了任务的截止时间,对系统产生的影响不大。举例:网页内计算机操作系统第三版答案 2 / 47 容的更新、火车售票系统。10.试从交互性、及时性以及可靠性方面,将分时系统不实时系统迚行比较。答:(1)及时性:实时信息处理系统对实时性的要求与分时系统类似,都是以人所能接受的等待时间来确定;而实时控制系统的及时性,是以控制对象所要求的开始截止时间或完成截止时间来确定的,一般为秒级到毫秒级,甚至

计网期末

计算机网络期末试题(2005年1月) 1 填空(11分) (1) IEEE802协议的数据链路层可分为 MAC 和LLC 。 (2) 请举出两个特殊的IP 地址(255.255.255.255 )(127.0.0.1 )。 (3) 局域网中通常采用同轴电缆、双绞线和光纤作为传输介质。 (4) 对一无限用户分隙ALOHA信道的测量表明10%的时隙是空闲的。信道载荷G是 2.3 ,吞吐率是0.23 。 (5) 某局域网主机分配的IP地址为130.1.2.3,掩码为255.255.192.0,该IP地址属(B)类,该局域网可 分配 16382 个IP地址。 2 单项选择(9分) (1)关于TCP协议的描述,(b)是错误的 a) 建立连接需要三次握手 b) 能够保持上层消息的边界 c) 接收方可以缓存错序的报文 d)重传时延动态改变 (2)下述协议中,(d )是物理层的标准 a)IEEE802.3 b) rfc791 c) ISO8473 d) V.24 (3)以太网中使用的成帧方法是(d )。 a) 字符计数法b) 字符填充法 c) 比特填充法d) 物理层编码违例法 (4)下述协议中,(a)不是链路层的标准 a) ARP b) SDLC c) PPP d) SLIP (5)下列不是数据报方式特点的是( c) a)每个分组自身携带有足够的信息,它的传送是被单独处理的 b)在整个传送过程中,不需建立虚电路 c)使所有分组按顺序到达目的端系统 d)网络节点要为每个分组做出路由选择 (6)下列选项中是以太网特点的是(b) a)不需要竞争信道b)轻负载时时延低 c) 采用差分曼彻斯特编码 d)可分配优先级 (7)关于链路状态协议的描述,(a)是错误的 a)相邻路由器需要交换各自的路由表 b)全网路由器的拓扑数据库是一致的 c)采用flood技术更新链路变化信息 d)具有快速收敛的优点 (8) TCP的拥塞控制方法如下:拥塞窗口从1开始( c ),到达门限值时 ( a);如果出现超时门限值减半,拥塞窗口降为1。 a) 按线性规律增长 b) 按对数规律增长 c) 按指数规律增长 d) 保持不变 3 判断对错(5分) (1)( O )面向连接的服务不一定是可靠的服务。 (2)( X )使用令牌桶和漏桶算法时,都会有突发数据输出。 (3)( X )使用透明网桥联接局域网,所有的网桥都参与数据帧的转发。 (4)( X )数据链路层和传输层都是采用固定大小的滑动窗口来进行流量控制。 (5)( X )每个IP报文所能携带的用户数据为65535个字节 4(12分)某传输层协议采用Tomlinson的时钟驱动方法设置TPDU初始序号,假定序号比特数为10比特,主机时钟计数器为32比特,且每100ms发出一次时钟脉冲,分组的最大生命周期为30s.

计算机网络技术期末考试试卷A卷与参考答案

2010~2011学年度第一学期09级《计算机网络技术》期末考试试卷(A卷与参考答案) 班级0905计网学号姓名总分 (适用班级:0905计网) (考试形式:闭卷时间:90分钟) 一.填空题(每空1分,共30分) 1.计算机网络在逻辑上可以划分为资源子网和通信子网两个子网。。 2.按照网络覆盖范围分有:局域网、城域网、广域网。 3.资源子网由主机和终端组成。 4.TCP/IP协议族的中文名称是传输控制协议和网际协议。 5.计算机网络互连参考模型的低四层主要完成数据传输,高三层实现了数据处理的功能。 6.计算机网络是由计算机系统、数据通信系统和网络操作系统组成。 7.主机在计算机网络中负责数据处理和网络控制。 8.局域网使用的三种典型拓朴结构是总线型、环型、星型。 9.计算机网络的主要功能是:资源共享和数据通信。 10.数据链路层传输的数据单位是:帧主要设备有:交换机,网卡,网桥 11.连接双绞线时同种设备接法是:交叉线异种设备接法是:直通线 12、在进行网络实验操作时,为了不破坏现有的操作系统以及相关设置,我们可以使用虚拟机软件。 13、能够把域名翻译成主机IP的服务器是DNS服务器 14、启用复杂密码后,密码必须包含小写字母,大写字母,数字和特殊符号这四种中的三种字符。 15、B类IP地址的默认子网掩码是: 16、C类网络的私有网络号以: 二.选择题(每题2分,共50分) 1.在OSI参与模型的各层中,(A)的数据传送单位是比特流。 A.物理层B.数据链路层 C.网络层D.运输层 2.在如下网络拓朴结构中,具有一定集中控制功能的网络是(B ) A.总线型网络B.星型网络 C.环形网络D.全连接型网络 1.3.路由选择协议位于(C) A. 物理层 B. 数据链路层 C. 网络层 D. 应用层 4.下列哪一项不是网卡的基本功能(B) A.数据转换B.路由选择 C.网络存取控制D.数据缓存 5.文件传输协议是(C )上的协议。 A.网络层B.传输层 C.应用层D.物理层 6.网络中使用光缆的优点是(D ) A 便宜 B 容易安装 C 是一个工业标准,在任何电气商店都能买到 D 传输速率比同轴电缆或双绞线高,不受外界电磁干扰与噪声的影响,误码率低 7.计算机网络中信息传递的调度控制技术可分为三类,以下不属于此控制技术的是(C)A.流量控制B.拥塞控制 C.防止死锁D.时延控制 8.路由选择协议位于(C) A. 物理层 B. 数据链路层 C. 网络层 D. 应用层 9.局域网具有以下那些特点?( A ) A、数据传输率高 B、数据传输率低 C、传输延迟大 D、传输延迟小 10.下述论述中不正确的是( C ) A.IPV6具有高效IP包头B.IPV6增强了安全性

网络计划技术作业题答案

网络计划技术习题 1、 根据上述活动之间的关系,画出网络图,计算ESi、LFi、STi,j,在图上标出关键路线并写出总工期。 关键路线:○1 B ○3E ○5G 6 ST12=LF2-ES1-t12=7-0-4=3 ST13=LF3-ES1-t13=5-0-5=0 ST24=LF4-ES2-t24=13-4-6=3 ST34=LF4-ES3-t34=13-5-7=1 ST35=LF5-ES3-t35=11-5-6=0 ST46=LF6-ES4-t46=20-12-7=1 ST56=LF6-ES5-t56=20-11-9=0 总工期:20

2、 根据上 述活动之间的关系,画出 网络图,计算ESi 、LFi 、 STi,j ,在图上 标出关键路线并写出总工期。 关键路线: ○1 B ○3D ○4 ○5 G ○6 ST 12=LF 2-ES 1-t 12=6-0-4=2 ST 13=LF 3-ES 1-t 13=5-0-5=0 ST 24=LF 4-ES 2-t 24=12-6-6=0 ST 34=LF 4-ES 3-t 34=12-5-7=0 ST 35=LF 5-ES 3-t 35=12-5-6=1 ST 46=LF 6-ES 4-t 46=21-12-7=2 ST 1256=LF 6-ES 5-t 56=21-12-9=0 总工期:21 3、

根据上述活动之间的关系,画出网络图,计算ESi 、LFi 、STi,j ,在图上标出关键路线并写出总工期。 关键路线: ○1 A ○2 ○3E ○5 G ○6 ST 12=LF 2-ES 1-t 12=8-0-8=0 ST 13=LF 3-ES 1-t 13=8-0-7=1 ST 24=LF 4-ES 2-t 24=13-8-5=0 ST 25=LF 5-ES 2-t 25=16-8-6=2 ST 23=0 ST 35=LF 5-ES 3-t 35=16-8-8=0 ST 46=LF 6-ES 4-t 46=23-13-8=2 ST 56=LF 6-ES 5-t 56=23-16-7=0 总工期:23 4、 根据下列活动之间的逻辑关系表,画出网络图,试计算ES i 、 LF i 、ST i,j ,在图上画出关键路线并写出总工期。

计网作业答案

计算机网络第五版答案(课后作业) 第一章概述 1-03 试从多个方面比较电路交换、报文交换和分组交换的主要优缺点。 答:(1)电路交换:端对端通信质量因约定了通信资源获得可靠保障,对连续传送大量数据效率高。 (2)报文交换:无须预约传输带宽,动态逐段利用传输带宽对突发式数据通信效率高 ,通信迅速。 (3)分组交换:具有报文交换之高效、迅速的要点,且各分组小,路由灵活,网络生 存性能好。 1-10 试在下列条件下比较电路交换和分组交换。要传送的报文共x(bit)。从源点到 终点共经过k段链路,每段链路的传播时延为d(s),数据率为b(b/s)。在电路交换时 电路的建立时间为s(s)。在分组交换时分组长度为p(bit),且各结点的排队等待时间可 忽略不计。问在怎样的条件下,分组交换的时延比电路交换的要小?(提示:画一下草 图观察k段链路共有几个结点。) 答:线路交换时延:kd+x/b+s, 分组交换时延:kd+(x/p)*(p/b)+ (k-1)*(p/b) 其中(k-1)*(p/b)表示K段传输中,有(k-1)次的储存转发延迟,当s>(k-1)*(p/b)时,电路交换的时延比分组交换的时延大,当x>>p,相反。d 1-18 假设信号在媒体上的传播速度为2×108m/s.媒体长度L分别为: (1)10cm(网络接口卡) (2)100m(局域网) (3)100km(城域网) (4)5000km(广域网) 试计算出当数据率为1Mb/s和10Gb/s时在以上媒体中正在传播的比特数。 解:(1)1Mb/s:传播时延=0.1/(2×108)=5×10-10 比特数=5×10-10×1×106=5×10-4 1Gb/s: 比特数=5×10-10×1×109=5×10-1 (2)1Mb/s: 传播时延=100/(2×108)=5×10-7 比特数=5×10-7×1×106=5×10-1 1Gb/s: 比特数=5×10-7×1×109=5×102 (3) 1Mb/s: 传播时延=100000/(2×108)=5×10-4 比特数=5×10-4×1×106=5×102 1Gb/s: 比特数=5×10-4×1×109=5×105 (4)1Mb/s: 传播时延=5000000/(2×108)=2.5×10-2 比特数=2.5×10-2×1×106=5×104 1Gb/s: 比特数=2.5×10-2×1×109=5×107 1-19 长度为100字节的应用层数据交给传输层传送,需加上20字节的TCP首部。再交给网络层传送,需加上20字节的IP首部。最后交给数据链路层的以太网传送,加上首部和尾部工18字节。试求数据的传输效率。数据的传输效率是指发送的应用层数据除以所发送的总数据(即应用数据加上各种首部和尾部的额外开销)。 若应用层数据长度为1000字节,数据的传输效率是多少? 解:(1)100/(100+20+20+18)=63.3% (2)1000/(1000+20+20+18)=94.5% 1-24 论述具有五层协议的网络体系结构的要点,包括各层的主要功能。

15_计网期末实验报告

1. 实验报告如有雷同,雷同各方当次实验成绩均以0分计。 2. 当次小组成员成绩只计学号、姓名登录在下表中的。 3. 在规定时间内未上交实验报告的,不得以其他方式补交,当次成绩按0分计。 4. 实验报告文件以PDF 格式提交。 综合实验 下图是模拟A 公司的网络拓扑简图,在A 公司各接入级的二层交换机(S1)按部门划分了VLAN ,各接入级交换机连接到汇聚层交换机S2上,然后连接到公司出口路由器R1,R1通过DDN 连接到互联网服务提供商ISP 的路由器R2,最后连接到ISP 的一台PC (用配有公网IP 地址的PC4模拟),实现连接Internet 。请对该公司的交换机和路由器进行相应的配置实现以下功能。 图1 实验拓扑图 (1) 该公司内网IP 地址规划:每台设备的IP 地址请你自行指定,不同小组的IP 地址不一样,具 警示

体见实验步骤2。 (2)为了提高网络的可靠性,通过两级交换机之间的双链路实现冗余备份,要求使用RSTP协议,避免环路,且确保S2作为Root Switch。 (3)VLAN 10,VLAN 20职能分别如下:VLAN 10(公司员工name: Employee)和VLAN 30(公司服务name: Service)。接入层的1-10口在VLAN 10内,11-20口在VLAN 20内。 (4)配置汇聚层交换机S2,使不同部门之间的PC能够相互访问。 (5)在公司内部,即S2和R1之间配置动态路由协议RIPv2,在公司外部即R1和R2之间配置动态路由协议OSPF,在公司出口路由器R1上配置到ISP的默认路由,使公司内部网络可以访问ISP(提示:内网要访问外网需要NA T策略) 注意:不同协议之间进行路由交换,需要实现路由协议重发布,具体如下 在路由器R1上加上如下命令,把默认路由重发布到RIPv2协议中,使公司内部的所有路由器都可以经过RIP协议学习到默认路由 R2(config)# router rip R2(config-router)#default-information originate 假设VLAN 20里面的一台PC,比如PC3是公司内部的一台服务器,要求在外网可以访问。 实验步骤 1.小组分工 刘雪梅和许杨鹏负责两交换机的配置,实现不同VLAN间的通信(步骤4-7);杨曼琪和杜艺菲负责两路由器的配置(步骤8-10),实现公司外部网络的连通,即PC4 ping通路由器R1的S2/0接口,路由器R1 ping通PC4。为了节省时间,两部分同时进行,然后再配置S2和R1之间的RIPv2,NAT策略,将两部分连接起来。 2.确定设备IP地址,我们的小组号为15,IP分配如拓扑图所示 设备接口IP地址掩码网关交换机S2 虚拟接口vlan 10 192.168.15.1 255.255.255.0 无PC1 网卡192.168.15.2 255.255.255.0 192.168.X.1 PC2 网卡192.168.15.3 255.255.255.0 192.168.X.1 交换机S2 虚拟接口vlan 20 192.168.15+1.1 255.255.255.0 无PC3 网卡192.168.15+1.2 255.255.255.0 192.168.X+1.1 交换机S2 虚拟接口vlan 30 192.168.15+2.1 255.255.255.0 无 路由器R1 F0/0 192.168.15+2.2 255.255.255.0 无 路由器R1 S2/0 202.101.1.1 255.255.255.0 无 路由器R2 S2/0 202.101.1.2 255.255.255.0 无 路由器R2 F0/0 221.98.1.1 255.255.255.0 无PC4 网卡221.98.1.2 255.255.255.0 221.98.1.1 表1 各个设备的接口和IP的设计 3.按照题目中的拓扑图连接实验拓扑。

计网第五次作业

计网第五次作业

Review Questions: 1. What are some of the possible services that a link-layer protocol can offer to the network layer? Which of these link-layer services have corresponding services in IP? In TCP?链路层协议提供给网络层的服务有哪些?哪些是给IP的?哪些是给TCP的? Link access, framing, reliable delivery between adjacent nodes, flow control, error detection, error correction, half-duplex and full-duplex. In IP: framing, error detection. In TCP: framing, reliable delivery between adjacent nodes, error detection, half-duplex and full-duplex. 2. If all the links in the Internet were to provide reliable delivery service, would the TCP reliable delivery service be redundant? Why or why not? 不会多余,因为TCP保证的是传输层的数据传送,而link提供稳定可靠传输保证链路层的传输稳定,二者不完全重叠,所以TCP可靠传输也不会多余。 3. In Section 5.3, we listed four desirable characteristics of a broadcast channel. Which of these characteristics does slotted ALOHA have? Which of these characteristics does token passing have?

计量经济学(第四版)习题及参考答案解析详细版

计量经济学(第四版)习题参考答案 潘省初

第一章 绪论 试列出计量经济分析的主要步骤。 一般说来,计量经济分析按照以下步骤进行: (1)陈述理论(或假说) (2)建立计量经济模型 (3)收集数据 (4)估计参数 (5)假设检验 (6)预测和政策分析 计量经济模型中为何要包括扰动项 为了使模型更现实,我们有必要在模型中引进扰动项u 来代表所有影响因变量的其它因素,这些因素包括相对而言不重要因而未被引入模型的变量,以及纯粹的随机因素。 什么是时间序列和横截面数据 试举例说明二者的区别。 时间序列数据是按时间周期(即按固定的时间间隔)收集的数据,如年度或季度的国民生产总值、就业、货币供给、财政赤字或某人一生中每年的收入都是时间序列的例子。 横截面数据是在同一时点收集的不同个体(如个人、公司、国家等)的数据。如人口普查数据、世界各国2000年国民生产总值、全班学生计量经济学成绩等都是横截面数据的例子。 估计量和估计值有何区别 估计量是指一个公式或方法,它告诉人们怎样用手中样本所提供的信息去估计总体参数。在一项应用中,依据估计量算出的一个具体的数值,称为估计值。如Y 就是一个估计量,1 n i i Y Y n == ∑。现有一样本,共4个数,100,104,96,130,则 根据这个样本的数据运用均值估计量得出的均值估计值为 5.1074 130 96104100=+++。 第二章 计量经济分析的统计学基础 略,参考教材。

请用例中的数据求北京男生平均身高的99%置信区间 N S S x = = 4 5= 用 =,N-1=15个自由度查表得005.0t =,故99%置信限为 x S t X 005.0± =174±×=174± 也就是说,根据样本,我们有99%的把握说,北京男高中生的平均身高在至厘米之间。 25个雇员的随机样本的平均周薪为130元,试问此样本是否取自一个均值为120元、标准差为10元的正态总体 原假设 120:0=μH 备择假设 120:1≠μH 检验统计量 () 10/2510/25 X X μσ-Z == == 查表96.1025.0=Z 因为Z= 5 >96.1025.0=Z ,故拒绝原假设, 即 此样本不是取自一个均值为120元、标准差为10元的正态总体。 某月对零售商店的调查结果表明,市郊食品店的月平均销售额为2500元,在下一个月份中,取出16个这种食品店的一个样本,其月平均销售额为2600元,销售额的标准差为480元。试问能否得出结论,从上次调查以来,平均月销售额已经发生了变化 原假设 : 2500:0=μH 备择假设 : 2500:1≠μH ()100/1200.83?480/16 X X t μσ-= === 查表得 131.2)116(025.0=-t 因为t = < 131.2=c t , 故接受原假 设,即从上次调查以来,平均月销售额没有发生变化。

第一章作业答案

2-3何谓真空度?某点的真空度为0.4×105Pa ,其绝对压力和相对压力分别是多少? 答:绝对压力比大气压小的那部分数值为真空度。 绝对压力=大气压力—真空度=0.6×105Pa 相对压力=—真空度=—0.4×105Pa 2-5在图2-12中,液压缸直径150D mm =,活塞直径100d mm =,负载50000F N =。若不计油液自重及活塞或缸体重量,求a) 、b)两种情况下的液压缸内部的油液压力。 解:a) 柱pA F =b) 环pA F +2-6如图, 130q L =解:v 1=2 1 14D v π 3-9 图数)各为多少?(已知图c 中节流阀的压差为Δp ) 答:0=p ;A F p = ;p p ?=;0=p 3-11 某液压泵的工作压力为5MPa ,转速为1450r/min ,排量为40mL/r ,容积效率为0.93,总效率为0.88,求泵的实际输出功率和驱动该泵所用电动机的功率。 解:W pVn pq P V o 449593.0104060 1450 10566=?????===-η

4-8 如图4-15所示,三个液压缸的缸筒和活塞杆直径均为D 和d ,当输入油液的压力和流量 v = 2v = 3v = ,试求: (1(24 4 2)Pa d F p 66 22 1004.110354 1000 4 ?=??= = -π π 第五章作业参考答案5 P78 : 5-9 如图5-28所示回路,若溢流阀的调定压力为6MPa ,判断在电磁铁断电,负载无穷大或负载压力 为4MPa 时,系统的压力分别是多少?当电磁铁通电,负载压力为4MPa 时,系统的压力又是多少?

14年春12计高计算机网络基础期末考试

计算机网络应用基础期末试题 班级姓名总分 一、单项选择题(每小题2分,共50分) 1. 在Internet中,IP地址的组成是() A、国家代号和国内电话号码 B、国家代号和主机号 C、网络号和邮政代码 D、网络号和主机号 2. 是用来指定什么的?() A.混合分框 B.纵向分框 C.横向分框 D.任意分框 3.以下哪个选项不属于CSS样式的特点()。 A.将显示格式和文档结构分离 B.体积更小加快网页下载速度 C.对HTML语言处理样式的最好补充 D.实现动态更新、增强工作量 4.在( )拓扑结构的网络中,只要有一个结点出现故障就会使整个网络瘫痪。 A、星型 B、总线型 C、环型 D、分布式网络 5. 设置围绕一个图像的边框的大小的标记是?() A. B. C. D. 6.在ISO/OSI参考模型中,网络层的主要功能是()(04) A、提供可靠的端到端服务,透明地传送报文 B、路由选择、拥塞控制与网络互连 C、在通信实体之间传送以帧为单位的数据 D、数据格式变换、数据加密与解密、数据压缩与恢复 7.以下创建mail链接的方法,正确的是( ) A.管理员 B.管理员 C.管理员 D.管理员 8.在Internet中,万维网引进了超文本的概念,“超文本”是指()(05) A.包含链接的文本B.包含图像的文本C.包含多种颜色的文本D.包含多种文本的文本9.CSS的中文全称是。()

计网第三章作业

Chapter 3 注:括弧中标题号为第四版教材中对应得习题号 1.(R14)Suppose Host A sends two TCP segments back to back to Host B over a TCP connection、The first segment has sequence number 90; the second has sequence number 110、 a、How much data is in the first segment? b、Suppose that the first segment is lost but the second segment arrives at B、In the acknowledgment that Host B sends to Host A, what will be the acknowledgment number? 答: a.[90,109]=20bytes b.ack number=90,对第一个报文段确认 2.(R15)True or false? a、The size of the TCP RcvWindow never changes throughout the duration of the connection、 b、suppose Host A is sending Host B a large a TCP connection、The number of unacknowledged bytes that A sends cannot exceed the size of the receive buffer、 c、Host A is sending Host B a large a TCP connection、Assume Host B has no data to send Host A、Host B will not send acknowledgments to Host A because Host B cannot piggyback the acknowledgment on data、 d、The TCP segment has a field in its header for RcvWindow、 e、Suppose Host A is sending a large Host B over a TCP connection、If the sequence number for a segment of this connection is m, then the sequence number for the subsequent segment will necessarily be m + 1、 f、Suppose that the last SampleRTT in a TCP connection is equal to 1 sec、The current value of TimeoutInterval for the connection will necessarily be>=1 sec、 g、Suppose Host A sends one segment with sequence number 38 and 4 bytes of data over a TCP connection to Host B、In this same segment the acknowledgment number is necessarily 42、 答: a、F b、T c、F:即使没有数据传送,也会进行单独确认 d、T e、F:按字节编号,不按报文段编号 f、F g、F:B->A得确认号不一定为38+4=42 3.(R17)True or false? Consider congestion control in TCP、When the timer expires at the sender, the threshold is set to one half of its previous value、 答: F:应为当前拥塞窗口得一半,而不就是阈值得一半。 4.(P3)UDP and TCP use 1s plement for their checksums、Suppose you have the following three 8-bit bytes: 01101010, 01001111, 、What is the 1s plement of the sum of these 8-bit byte? (Note that although UDP and TCP use 16-bit words in puting the checksum, for this problem you are being asked to consider 8-bit sums、) Show all work、、Why is it that UDP takes plement of the sum; that is, why not just use the sum? With the 1s plement scheme, how

2017学年第二学期计算机网络期末考试

台州广播电视大学高职学院2017学年第二学期期末考试 2017秋计算机网络技术(计信管)《计算机网络》试题 (闭卷) 2018年6月 、填空题(每空1分,共25 分) 2.有线传输媒体有双绞线、 3.在TCP/IP 中,计算机网络被分成了 4个功能层,按层次由底到高的顺序它 6?互联网边缘端系统之间的通信方式可划分为 大类(中英文都可)。 8.从通信的双方信息交互的方式来看,有单工通信、半双工通信、 种方式。 的两种服务。 14.加密技术分为 15. WLAN 是 二、单项选择题(每个单选空项 2分,共40分) 1?不属于按网络作用范围进行分类的计算机网络是( A.广域网 B.城域网 C 局域网 D.公用网 2. 1Byte 等于()Bit 。 1.有三大类大家很熟悉的网络。即 网络、 网络和计算机网络。 等。 们分别是:网络接口层和 层、 层、应用层。 4. .是由数量极大的各种计算机网络互联起来的。 5?计算机网络由若干结点和连接这些结点的 组成。 7. .是控制两个或多个对等实体进行通信的规则的集合。 9?数据链路层使用的信道主要有 .信道与 信道两种类型。 10?计算机与外界局域网连接是通过 设备进行的。 11. MAC 地址是 位,IP 地址是 .位,IP v 6地址是 位。 12.网络层提供 (面向无连接)和 (面向连接) 13 .国家顶级域名cn 代表 .,通用顶级域名edu 代表 两类。

17.属于UDP 服务进程的是( )。 3. 4. 5. 6. 7. 8. 9. A. 1 B.2 C.4 指明某条线上出现的某一电平的电压的意义的是( A.机械特性 B.电气特性 C.功能特性 ()是计算机网络的数据链路层所传送数据的单位。 A.帧 B.比特 C.报文段 应用最广泛且最优的编码是( )。 A.曼切斯特编码 B.差分曼切斯特编码 FTP 协议是()的协议。 A.网络层 B.运输层 质量最优的双绞线是()类线。 A.5 B.5E 手机共享通信信道的技术称为( A.频分复用 B.时分复用 ) 。 波分复用是在( A.双绞线 D.8 )。 D.过程特性 D.数据报 C.不归零码 D.归零码 C.应用层 D.数据链路层 C.6 D.7 C.波分复用 D.码分复用 )作为传输媒体后才出现的一种新的信道复用技术。 B.无线信道 C.光纤 D.同轴电缆 10.普通交换机工作在( )。 11. 12. 13. A.网络层 B.传输层 C.物理层 D.数据链路层 ()协议是目前使用最广泛的数据链路层协议。 A.I P B.TC P C.PPP D.IC MP 交换机的拓扑结构是( A.星形 )。 B.环形 C.总线形 D.网状形 使用光缆传输的是()。 A.100BASE-T4 B.1000BASE-CX C.1000BASE-T D.100BASE-FX 14.不与IP 协议配套使用的协议是 )。 A.AR P B.IG MP C.IC MP D.SMT P 15. IP 地址共有5类,常用的有 )类,其余留作其他用途。 (A) 1 (B) 2 (C ) 3 (D) 4 16. WEB 服务采用的协议是( (A) HTTP (B ) FTP (C ) TELNET (D ) SNMP

《管理学基础》3次网上计分作业答案

《管理学基础》3次网上计分作业答案 题判断题(全) 第1章管理的基本问题 综合练习 (一)、单项选择题 1、目标和计划是否能得到落实,关键在于(D )。 A、组织 B、领导 C、控制 D、实施 2、最容易处理的管理环境是(A )。 A、简单—静态环境 B、简单—动态环境 C、复杂—动态环境 D、复杂—静态环境 3、管理的核心是(A )。 A、配置资源 B、协调指挥 C、领导 D、激励 4、对各层次的管理人员都具有同等重要意义的管理技能是(B )。 A、概念技能 B、人际技能 C、技术技能 D、诊断技能 5、人类社会广泛存在的、最基本的社会组织类型是(A )。 A、经济组织 B、政治组织 C、科技文化组织 D、群众组织 6、(A )是作为一般的管理者在组织系统内从事各种活动时的立场、行为和作用等一系列特性的归纳。 A、管理者角色 B、管理阶层 C、管理者技能 D、管理者素质 7、在组织各项资源中,处于核心地位的是(A )。

A、人力资源 B、金融资源 C、物质资源 D、信息资源 8、管理者在组织管理中的层次位置被称为(B )。 A、管理层次 B、管理阶层 C、管理幅度 D、管理者角色 9、管理者统驭能力的基础是(B )。 A、决策能力 B、组织和协调能力 C、技术能力 D、指挥和控制能力 10、人们在组织活动中由于兴趣、情感等因素而自发产生的团体被称之为(C )。 A、正式组织 B、正规组织 C、非正式组织 D、非正规组织 11、组织内部成员形成的球迷协会,其性质属于(B )。 A、正式组织 B、非正式组织 C、行业协会 D、团队 12、消费者权益保护协会的性质属于(A )。 A、正式组织 B、非正式组织 C、行业协会 D、团队 13、关于公司总经理与中层管理人员之间的区别,下列哪种说法更为贴切(D )。 A、总经理比中层管理人员更需要人际技能 B、总经理比中层管理人员更需要自由行为权 C、总经理比中层管理人员更需要掌握公司经营问题的信息 D、总经理比中层管理人员更需要掌握概念技能 14、与生产关系相关联的管理性质被称为管理的(A )。 A、社会属性 B、科学性 C、自然属性 D、两重性

计网-第五章作业

Chapter 5 作业题,请同学们注意题目描述。 1.(R1)What are some of the possible services that a link-layer protocol can offer to the network layer? Which of these link-layer services have corresponding services in IP? In TCP? 答: 可能提供的服务:链路接入,成帧,可靠传输,流量控制,差错检测,差错纠正,半双工和全双工; In IP:成帧,差错检测; In TCP: 成帧,可靠传输,差错检测,半双工和全双工。 2.(R2)If all the links in the Internet were to provide reliable delivery service, would the TCP reliable delivery service be redundant? Why or why not? 答: 不会多余,因为TCP保证的是传输层的数据传送,而link提供稳定可靠传输保证链路层的传输稳定,二者不完全重叠,所以TCP可靠传输也不会多余。例如,链路层协议不能保证端到端的顺序,就需要TCP协议进行排序;路由器缓存溢出丢包,链路层协议无法解决这个问题,但是TCP可以。 3.(R8)How big is the MAC address space? The IPv4 address space? The IPv6 address space? 答: 248个MAC addresses; 232个IPv4 addresses; 2128个IPv6 addresses 4.(R9)Why is an ARP query sent within a broadcast frame? Why is an ARP response sent within a frame with a specific destination MAC address? 答: 因为新加入网络的主机是不知道路由器的IP的,自己也没有IP,所以只能广播才能得到IP,特定的主机就会特定响应。因为每个主机的MAC地址都是唯一的,而ARP建立转发表的时候会带上MAC地址。 5.(P5)Consider the 4-bit generator, G, shown in Figure 5.8, and suppose that D has the value 11111010. What is the value of R? G=1001 答: 的余数,∴ R=110 6.(P11)Consider a broadcast channel with N nodes and a transmission rate of R bps. Suppose the broadcast channel uses polling (with an additional polling node) for multiple access. Suppose the amount of time from when a node completes transmission until the subsequent node is permitted to transmit (that is, the polling delay) is d poll. Suppose that within a polling round, a given node is allowed to transmit at most Q bits. What is the maximum throughput of the broadcast channel?

相关文档
最新文档