文档库 最新最全的文档下载
当前位置:文档库 › 计网_第四章作业

计网_第四章作业

计网_第四章作业
计网_第四章作业

Chapter 4

4.1,4.2,4.3节后作业

1.(R3)What are the two most important network-layer functions in a datagram network? What

are the three most important network-layer functions in a virtual-circuit network?

答:

forwarding and routing.

forwarding, routing and connection setup.

2.(R2)What is the difference between routing and forwarding?

答:

Forwarding is about moving a packet from a router’s input link to the appropriate output link.

Routing is about determining the end-to-routes between sources and destinations.

3.(R9)Describe how packet loss can occur at input ports. Describe how packet lossat input ports

can be eliminated (without using infinite buffers).

答:

The queue size at the input port grows large because of slow switching fabric speed and exhausting router’s buffer space. It can be eliminated if the switching fabric speed is at least n times as fast as the input line speed, where n is the number of input ports.

4.4,4.5,4.6,4.7节后作业

4.(R12)What is the 32-bit binary equivalent of the IP address 223.1.3.27?

答:

11011111 00000001 00000011 00011011

5.Do routers have IP addresses? If so, how many?

答:

Yes. They have one address for each interface.

6.Consider Figure 4.34. Starting with the original table in D, suppose that Dreceives from A the

following advertisement.Will the table in D change? If so how?

答:

No. If the advertisement said that A were only 4 hops away from z by way of C, then D would indeed change its forwarding table.

7.(P8)Consider a datagram network using 32-bit host addresses. Suppose a routerhas five links,

numbered 0 through 4, and packets are to be forwarded to thelink interfaces as follows:

DestinationAddressRangeLink Interface

11100000 00000000 00000000 00000000

Through 0

11100000 00000000 11111111 11111111

11100000 00000001 00000000 00000000

Through 1

11100000 00000001 11111111 11111111

11100000 00000010 00000000 00000000

Through 2

11100000 11111111 11111111 11111111

11100001 00000000 00000000 00000000

Through 3

11100001 11111111 11111111 11111111

Otherwise 4

a. Provide a forwarding table that has five entries, uses longest prefix matching, and forwards

packets to the correct link interfaces.

b. Describe how your forwarding table determines the appropriate link interface for datagrams

with destination addresses:

11001000 10010001 01010001 01010101

11100000 10101101 11000011 00111100

11100001 1000000000010001 01110111

答:

Prefix match for second address is 2nd entry: link interface 1

Prefix match for first address is 3rd entry: link interface 2

8.(P9)Consider a datagram network using 4 bit host addresses. Suppose a routeruses longest

number of addresses in the range.

答:

9.(P11)Consider a router that interconnects three subnets: Subnet 1, Subnet 2, andSubnet 3.

Suppose all ofthe interfaces in each ofthese three subnets arerequired to have the prefix 220.2.240/20. Also suppose that Subnet 1 isrequired to support up to 2000 interfaces, and Subnets 2 and3 are eachrequired to support up to 1000 interfaces. Provide three network addresses (ofthe form a.b.c.d/x) that satisfy these constraints.

答:

223.1.17.0/25

223.1.17.128/26

223.1.17.192/26

10. (P14)Consider a subnet with prefix 101.101.101.64/26. Give an example of oneIP address (of

form xxx.xxx.xxx.xxx) that can be assigned to this network.Suppose an ISP owns the block of addresses of the form 101.101.128/17.Suppose it wants to create four subnets from this block, with each blockhaving the same number of IP addresses. What are the prefixes (of forma.b.c.d/x) for the four subnets? 答:

The IP address in range is from 101.101.101.64 to 101.101.101.128 The four equal size subnets (extends 18 and 19) 101.101.128/19 101.101.160/19 101.101.192/19 101.101.224/19

11. (P15)Consider the topology shown in Figure 4.17. Denote the three subnets withhosts

(starting clockwise at l2:00)) as Networks A, B, and C. Denote the subnets without hosts as Networks D, E, and F.

a. Assign network addresses to each of these six subnets, with the following

constraints: All addresses must be

allocated from214.97.254/23;Subnet A should have enough addresses to support 250 interfaces; Subnet B should haveenough addresses to support 120 interfaces; andSubnet C should have enough addresses to support 120 interfaces. Ofcourse, subnets D, E and F should each be able to support two interfaces.For each subnet, the assignment should take the form a.b.c.d/x ora.b.c.d/x - e.f.g.h/y. b. Using your answer to part (a), provide the forwarding tables (using longestprefix matching)

for each of the three routers. 答:

a. From 214.97.254/23, the assignments are

Subnet A: 214.97.255/24(28=256 addresses)

Subnet B: 214.97.254.0/25-214.97.254.0/29(27-8=120 addresses) Subnet C: 214.97.254.128/25(27=128 addresses) Subnet D: 214.97.254.0/31(21=2 addresses) Subnet E: 214.97.254.2/31(21=2 addresses)

A B C D E F

Subnet F: 214.97.254.4/30(22=4 addresses)

b.Assume that no datagrams have router interface as ultimate destinations. Also, label D,E,F

12.(P16)Consider sending a 4,000-byte datagram into a link that has an MTU of400 bytes.

Suppose the original datagram is stamped with the identificationnumber 422-How many fragments are generated? What are their characteristics?

答:

The maximum size of data field in each fragment = 380(20 bytes IP header). Thus the number of required fragments = (4000-20)÷380=11

Each fragment will have identification number 422. Each fragment except the last one will be of size 500 bytes(including IP header). The last datagram will be of size 120 bytes (including IP header). The offsets of 7fragments will be 0,60,120,180,240,300,360. Each of the first 6 fragments will have flag = 1; the last fragment will have flag = 0 .

13.(P25)Consider the network fragment shown below. -r has only two attached neighbors, w andy.

w has a minimum-cost path to destination u (not shown) of 5,and y has a minimum-cost path to u of 6. The complete paths from w and y toz (and between w and y) are not shown. All link costs in the network havestrictly positive integer values.

5

u

6

a. Give x's distance vector for destinations w, y, and u.

b. Give a link-cost change for either c(x,w) or c(x,y) such that -r will informits neighbors of a

new minimum-cost path to u as a result of executing thedistance-vector algorithm.

c. Give a link-cost change for either c(x,w) or c(x,y) such that x will not inform its neighbors

of a new minimum-cost path to u as a result of executing the distance-vector algorithm.

答:

a.Dx(y)=5,Dx(w)=2,Dx(u)=7

b.If c(x, y) becomes longer or shorter, the least cost path from x to u will still have cost at

least 7. If c(x, w) changes, x will inform its neighbors of new cost.

c.No way.

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

第一章 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)及时性:实时信息处理系统对实时性的要求与分时系统类似,都是以人所能接受的等待时间来确定;而实时控制系统的及时性,是以控制对象所要求的开始截止时间或完成截止时间来确定的,一般为秒级到毫秒级,甚至

数据库第五章作业

第五、六章练习题 一、选择题 1、在关系数据库设计中,子模式设计是在__________阶段进行。[ B] A.物理设计 B.逻辑设计 C.概念设计 D.程序设计 2、设有关系R(A,B,C)的值如下: A B C 2 2 3 2 3 4 3 3 5 下列叙述正确的是(B) A.函数依赖A→B在上述关系中成立B.函数依赖BC→A在上述关系中成立C.函数依赖B→A在上述关系中成立D.函数依赖A→BC在上述关系中成立 3、数据库设计阶段分为( D ) A. 物理设计阶段、逻辑设计阶段、编程和调试阶段 B. 模型设计阶段、程序设计阶段和运行阶段 C. 方案设计阶段、总体设计阶段、个别设计和编程阶段 D. 概念设计阶段、逻辑设计阶段、物理设计阶段、实施和调试阶段 4、下列说法中不正确的是(C)。 A. 任何一个包含两个属性的关系模式一定满足3NF B. 任何一个包含两个属性的关系模式一定满足BCNF C. 任何一个包含三个属性的关系模式一定满足3NF D. 任何一个关系模式都一定有码 5、设有关系模式R(A,B,C,D),F是R上成立的函数依赖集,F={B→C,C→D},则属性C的闭包C+为( C ) A.BCD B.BD C.CD D.BC 6、在数据库设计中,将ER图转换成关系数据模型的过程属于( B ) A.需求分析阶段 B.逻辑设计阶段 C.概念设计阶段 D.物理设计阶段 7、下述哪一条不是由于关系模式设计不当而引起的?( B) A) 数据冗余B) 丢失修改C) 插入异常D) 更新异常 8、下面关于函数依赖的叙述中,不正确的是( B) A) 若X→Y,X→Z,则X→YZ B) 若XY→Z,则X→Z,Y→Z C) 若X→Y,Y→Z,则X→Z D) 若X→Y,Y′ Y,则X→Y′

数理统计第五次作业及答案

1、设某商店100天销售电视机的情况有如下统计资料: 求样本容量n ,样本均值和样本方差。 解:样本容量为n=100 样本均值,样本方差,样本修正方差分别为 ()()2222 22222033061522031 3.85,1001 3.85 1.9275,100 100100 1.9275 1.9469693061999 5. 9n n x s s s ??????= ==-===?=L L L ++++++ 2、设总体服从泊松分布P (λ),1,,n X X L 是一样本: (1)写出1,,n X X L 的概率分布; 解: ,2,1,0,! ! )(,2,1,0,,2,1,0,! )(1 1 1 n 11 == ======= =-=∑-==-∏∏ ∏=i n n i i x x i i x i i n i i i i i x i i x e x e x x X p n i x X P X X x e x x x P i n i i i λ λ λλ λ λλ)(的概率分布为 所以因为: (2)计算2 ,n EX DX ES 和; 解:λλλλn n DX n n ES n n DX X D EX X E DX EX n 11,,,2 -=-=======所以因为 (3)设总体容量为10的一组样本观察值为(1,2,4,3,3,4,5,6,4,8)试计算样本 均值, 样本方差和次序统计量的观察值。 解: 4 9106.3410114 10 40 12222101221 2 1===-=-====∑∑∑===s s s n i i i n i n i n i x x x n x n x

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

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-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 论述具有五层协议的网络体系结构的要点,包括各层的主要功能。

计网第五次作业

计网第五次作业

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 , 故接受原假 设,即从上次调查以来,平均月销售额没有发生变化。

北交《铁路运输设备》在线作业二秋答案

北交《铁路运输设备》在线作业二 一、单选题(共 12 道试题,共 30 分。) 1. 世界上第一条铁路是在哪个国家修建的?() . 英国 . 美国 . 法国 . 比利时 正确答案: 2. 准轨铁路是指轨距为()mm的铁路。 . 1235 . 1335 . 1435 . 1535 正确答案: 3. ()是转辙器的主要部件,通过连接杆与转辙机械相连。 . 基本轨 . 尖轨 . 转辙机械 . 连接部分 正确答案: 4. 车站级“列车预确报”系统根据()系统产生的到达、出发列车编组信息,核对到达、出发确报,对确报信息进行卡控以及必要的编辑。 . 车辆类型识别 . 车号自动识别 . 货物自动识别 正确答案: 5. 液力变扭器主要由()个工作轮组成,外面包以壳体。 . 1 . 2 . 3 . 4 正确答案: 6. FMOS系统采用了()分布式体系结构,符合铁路业务管理模式,有利于信息的分级处理。 . 四级 . 三级 . 二级

. 一级 正确答案: 7. 铁路货运制票工作是货物运输过程中的关键环节,是()货运工作的基础。 . 铁路区段站 . 铁路技术站 . 铁路车站 正确答案: 8. FMOS是为适应()改革要求,以计算机网络为基础,以铁路运输管理信息系统的各联网点为信息源点,从货主提出申请到铁路计划安排、合同签订、装车实际、市场分析等,全面实行计算机管理的系统工程。 . 列车运行计划 . 运输生产计划 . 作业计划 正确答案: 9. RH2020中字母代表() . 车种 . 技术序列 . 制造序列 . 型号系列 正确答案: 10. 在铁路的两条汇合线路线间距离为4米的中间,设置指示机车车辆的停留位置,防止机车车辆侧面冲撞的设备是 . 进站信号机 . 通过信号机 . 出站信号机 . 警冲标 正确答案: 11. 在电传动内燃机车中,应有的部件是() . 变扭器 . 牵引变电所 . 牵引发电机 正确答案: 12. 铁路运输货运技术计划(简称技术计划)是为了完成()货物运输计划而制定的机车车辆运用计划。 . 列车运行计划 . 运输生产计划 . 作业计划 正确答案: 北交《铁路运输设备》在线作业二

第一章作业答案

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 时,系统的压力又是多少?

川大计网第五章选择题

1. A ( ) protocol is used to move a packet over an individual link. A. application-layer B. transport-layer C. network-layer D. link-layer 2. Which of the following services can not offered by a link-layer protocol? ( ) A. congestion control B. Link Access C. Error control D. Framing 3. ( ) protocol serves to coordinate the frame transmissions of the many nodes when multiple nodes share a single broadcast link. A. ARP B. MAC C. ICMP D. DNS 4. Consider CRC error checking approach, the four bit generator G is 1011, and suppose that the data D is 10101010, then the value of R is ( ). A. 010 B. 100 C. 011 D.

110 5. In the following four descriptions about random access protocol, which one is not correct? ( ) A. In slotted ALOHA, nodes can transmit at random time. B. CSMA/CD cannot be implemented on a wireless channel. C. The maximum efficiency of a slotted ALOHA is higher than a pure ALOHA. D. In CSMA/CD, one node listens to the channel before transmitting. 6. In the following descriptions about MAC address, which one is not correct? ( ) A. The MAC address is the address of one node’s adapter. B. No two adapters have the same MAC address. C. The MAC address doesn’t change no matter where the adapter goes. D. MAC address has a hierarchical structure.

计算机应用基础第五次作业-计算机网络

计算机应用基础(一) 开始时间2016年11月25日星期五 16:20状态完成 完成于2016年11月25日星期五 16:58耗时37 分钟 45 秒 分数 成绩满分 窗体顶端 题目1 正确 获得分中的分 标记题目 题干 移动笔记本用户最理想的接入网络的方式是________。 选择一项: a. 同轴电缆 b. 光纤 c. ADSL d. 无线LAN 反馈 正确答案是:无线LAN 题目2 正确 获得分中的分 标记题目 题干 目前光纤接入网络的适用对象为________。 选择一项: a. 校园计算机

b. 笔记本用户 c. 大中型企业用户 d. 个人用户 反馈 正确答案是:大中型企业用户 题目3 正确 获得分中的分 标记题目 题干 IP协议运行于分层模型的__________。 选择一项: a. 物理链路层 b. 传输层 c. 网络层 d. 应用层 反馈 正确答案是:网络层 题目4 正确 获得分中的分 标记题目 题干 网线(双绞线)内部有几根导线________。选择一项: a. 2

b. 8 c. 6 d. 4 反馈 正确答案是:8 题目5 正确 获得分中的分 标记题目 题干 Internet的通信协议是______。 选择一项: a. TCP/IP b. NWLINK c. NETBEUI d. OSI/ISO 反馈 正确答案是:TCP/IP 题目6 正确 获得分中的分 标记题目 题干 发送电子邮件时,如果接收方没有开机,那么邮件将________。选择一项: a. 退回给发件人

b. 保存在邮件服务器上 c. 丢失 d. 开机时重新发送 反馈 正确答案是:保存在邮件服务器上 题目7 正确 获得分中的分 标记题目 题干 TCP/IP协议中TCP协议负责______。 选择一项: a. 数据传输的可靠性 b. 以上都不是 c. 接入互联网 d. 数据传输 反馈 正确答案是:数据传输的可靠性 题目8 正确 获得分中的分 标记题目 题干 对于下列说法,错误的是______。 选择一项: a. TCP协议可以提供全双工的数据流传输服务

计网第三章作业

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

计量经济学作业第5章(含答案)

计量经济学作业第5章(含答案)

、单项选择题 1 ?对于一个含有截距项的计量经济模型,若某定性因素有 D. m-k 2 ?在经济发展发生转折时期,可以通过引入虚拟变量方法来表示这种变化。例 如,研究中国城镇居民消费函数时。1991年前后,城镇居民商品性实际支出 丫 对实际可支配收入X 的回归关系明显不同。现以1991年为转折时期,设虚拟变 [1 1991# WS D =< 量 r [O f 1毀坪以前,数据散点图显示消费函数发生了结构性变化:基本 消费部分下降了,边际消费倾向变大了。贝U 城镇居民线性消费函数的理论方程 可以写作( ) A. h 二几+耳扎+如)拓+斗 3. 对于有限分布滞后模型 在一定条件下,参数儿可近似用一个关于【的阿尔蒙多项式表示 ),其中多项式的阶数 m 必须满足( ) A .障匚上 B . m k C . D .用上上 4. 对于有限分布滞后模型,解释变量的滞后长度每增加一期,可利用的样本数 据就会( ) A.增加1个 B.减少1个 C.增加2个 D.减 少2个 5. 经济变量的时间序列数据大多存在序列相关性,在分布滞后模型中,这种序 列相关性就转化为( ) A. m B. m-1 C. m+1 将其引入模型中,则需要引入虚拟变量个数为( m 个互斥的类型,为 ) B. C. Y 讦 A+ +"0+ 斗 D.

A.异方差冋 题 B.多重 共线性问题

问题 6. 将一年四个季度对因变量的影响引入到模型中(含截 距项),则需要引入虚 拟变量的个数为( ) A. 4 B. 3 C. 2 D. 1 7. 若 想考察某两个地区的平均消费水平是否存在显著差异,则下列那个模型比 较适合(丫代表消费支出;X 代表可支配收入;D 2、D 3表示虚拟变量) () A.Yj"+陆+野 B . 二、多项选择题 1. 以下变量中可以作为解释变量的有 ( ) A.外生变量 B.滞后内生变量 C.虚 拟变量 D.先决变量 E.内生变量 2. 关于衣着消费支出模型为:h 吗+叩左+必史+勺3工』』+ "逅+色,其中 丫为衣着万面的年度支出;X 为收入, 1 女性 "i 大学毕业及以上 D = : D 3i =J o 男性, 3i 其他 则关于模型中的参数下列说法正确的是( ) A. $表示在保持其他条件不变时,女性比男性在衣着消费支出方面多支出 (或少 支出)差额 B. 珂表示在保持其他条件不变时,大学毕业及以上比其他学历者在衣着消 费支 出方面多支出(或少支出)差额 C. 5表示在保持其他条件不变时,女性大学及以上文凭者比男性和大学以 下文凭 者在衣着消费支出方面多支出(或少支出)差额 D. 表示在保持其他条件不变时,女性比男性大学以下文凭者在衣着消 费支出方面多支出(或少支出)差额 E. 表示性别和学历两种属性变量对衣着消费支出的交互影响 、判断题 1 ?通过虚拟变量将属性因素引入计量经济模型,引入虚拟变量的个数与样本容 C.序列相关性问题 D.设定误差 £ =坷++以叭JQ+舛 C. 】 D 丄吗皿吗+风+儿

《计量经济学》第二章作业

《计量经济学》第二章作业 (注:本次作业请各位同学在4月8日前完成并提交) 一.单选题 1.回归分析中使用的距离是点到直线的垂直坐标距离。最小二乘准则指的是( D ) A.使︱^ 1()n i t Y t Y =-∑︱达到最小值 B.使min ︱^ i Y i y - ︱达到最小值 C.使ma x ︱^ t Y t y - ︱达到最小值 D.使^ 2 1 () n t t Y t Y =-∑达到最小值 2.在回归模型中,正确表达了随机误差项序列不相关的是( B ) A. (,)0,i j COV u u i j ≠≠ B. (,)0,i j COV u u i j =≠ C. (,)0,i j COV X X i j =≠ D. (,)0,i j COV X u i j =≠ 3. 对解释变量的t 检验属于经济计量模型评价中的( A ) A.统计准则 B.经济理论准则 C.计量经济准则 D.识别准则 4. 年劳动生产率X (千元)和工人工资Y (元)之间的回归直线方程为 ^ 2060i i Y X =+,这表明年劳动生产率每提高1千元时,工人工资平均( A ) A.增加60元 B.减少60元 C.增加20元 D.减少20元 5.在简单线性回归模型中,认为具有一定概率分布的变量是( A ) A.内生变量 B. 外生变量 C.虚拟变量 D.前定变量 6.对下列模型进行经济意义检验,哪一个模型通常被认为没有实际价值( B ) A. i C (消费) i I 8.0500+=(收入) B. di Q (商品需求) i I 8.010+=(收入) i P 9.0+(价格)

C. si Q (商品供给) i P 75.020+=(价格) D. i Y (产出量) 6 .065.0i K =(资本)4.0i L (劳动) 二.多选题 1.对于经典线性回归模型,回归系数的普通最小二乘估计量具有的优良性有( ABC ) A.无偏性 B.线性特性 C.方差最小性 D.确定性 E.误差最小性 2.利用普通最小二乘法求得的样本回归直线i 10i X ??Y ? β+β=具有以下特点 (ABC ) A.必然通过点(Y ,X ) B.残差ei 的均值为常数 C.i Y ? 的平均值与Yi 的平均值相等 D.残差ei 与Xi 之间存在一定程度的相关性 E.可能通过点(Y ,X ) 3.经典线性回归模型运用普通最小二乘法估计参数时,下列哪些假定是正确的( ABDE ) A. E(ui)=0 B. Var(ui)=2 i σ C. E(uiuj)≠0 D. 随机解释变量X ,与随机误差ui 不相关 E. ui ~N(0,2 i σ) 4.指出下列哪些现象是相关关系( ABCDE ) A.家庭消费支出与收入 B.商品销售额和销售量、销售价格 C.物价水平与商品需求量 D.小麦亩产量与施肥量 E.学习成绩总分与各门课程成绩分数 5.随机误差项产生的原因有( ABCD )

计网-第五章作业

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?

相关文档
相关文档 最新文档