Computer Network Zhejiang Sci-Tech University, 2017 Zhejiang Sci-Tech University School of Science 965 Software Foundation Computer Network Postgraduate Exam Question Bank...

One, multiple choice

1. In the packet-switched network using the "store-and-forward" method as shown in the figure, the data transmission speed of all links is 100Mbit/s, the packet size is 1000B, and the packet header size is 20B. If the host H1 sends a file with a size of 980000B to the host H2, without considering the packet disassembly time and the propagation delay, the time required from the sending of H1 to the reception of H2 is at least ( ).

Figure a packet-switched network

A.80ms

B.80.08ms

C.80.16ms

D.80.24ms

【Answer】C

[Analysis] The concept of "store-and-forward": when a router receives a packet, it temporarily stores it, then checks its header, finds the forwarding table, and finds a suitable interface to forward it out according to the destination address in the header. Because the size of the packet is 1000B, and the size of the packet header is 20B, the data part of each packet is 980B, so the file with the size of 980000B should be split into 1000 packets for transmission, each packet 1000B (plus the header) 20B ), so a total of 1000000B of information needs to be transmitted, and the data transmission speed of the link is 100Mbit/s, that is, 12.5MB/S, so the time required for the host H1 to transmit all the data is

At 80ms, the last packet is sent from the host H1, and has not been received by the host H2 at this time. Since the question has already stated that the data transmission speed of all links is the same, the shortest path should be taken to minimize the time. From Figure 20-2

, it can be seen that the straight line is the shortest. At this time, the last packet needs to be stored and forwarded again (without considering the propagation delay)

To reach host H2, the time of each store and forward is 1000B/(12.5MB/s)=0.08ms, so it takes 0.16ms for two store and forwards.

To sum up, the total time is: 80ms+0.16ms=80.16ms.

2. Which of the following statements is correct ( ).

A. The protocol of the network layer is the regulation of data processing inside the network layer

B. The interface realizes the interaction between human and computer

C. Packets are exchanged on the interface between the application layer and the network layer

D. The protocol data unit of the upper layer is the service data unit of the next layer

【Answer】D

【解析】根据数据传送单位的变化规则,上一层交给下层的数据,加上协议控制信息后变成

协议数据单元,然后交给下一层,变成下一层的服务数据单元,也就是为它紧相连的上一层提供服务。

3. 下面给出一个URL 地址:http ://www.csai.cn/docs/index.html, 对它的描述错误的是 ( )。

A.http 表示使用超文本传输协议

B.www.csai.cn 标识了要访问的主机名

C.www.csai.cn/docs标识了要访问的主机名

D. 整个地址定位了要访问的特定网页的位置

【答案】C

【解析】每个URL±也址由两部分组成,即内容标识符(Identifier )和位置(Location )。例如下面的地址,http ://www.csai.cn/docs/index.html, 其中http 告诉IE 使用http 协议而不是别的协议,诸如FTP , Gopher , News 来创建当前页。其中www.csai.cn/docs/index.html标识特定的网页的位置,这部分又可分为两部分来理解:www.csai.cn 为域名或称为主机名:/docs/index.html为特定Web 资源名,即主机下的Web 文件。

4. 下列哪种交换的实时性最好?( )

A. 电路交换

B. 报文交换

C. 数据报交换

D. 虚电路交换

【答案】A

【解析】计算机通信子网的交换技术主要有两种方式:电路交换和存储转发交换。存储转发方式又可分为报文交换和分组交换。分组交换在实际应用过程中又可分为数据报分组交换和虚电路分组交换。

,(1)在电路交换方式中,虽然在数据传输之间需要建立一条物理连接(这需要一定的延迟)

但一旦连接建立起来,后续所有的数据都将沿着建立的物理连接按序传送,传输可靠且时延很小。

(2)在存储转发交换方式中,报文或分组都要经过中间结点的若干次存储转发才能到达目的结点,这将增加传输延迟。

因此,同存储转发交换方式相比,电路交换具有较小的传输延迟,实时性较好,适用于高速大量数据传输。

5. 在0SI 参考模型中,第n 层与它之上的第n+1层的关系是( )。

A. 第n 层为第n+1层提供服务

B. 第n+1层为从第n 层接收的报文添加一个报头

C. 第n 层使用第n+1提供的服务

D. 第n 层和第n+1层相互没有影响

【答案】A

【解析】在OSI 参考模型中,只能是相邻的下层为上层提供服务。上一层的协议数据单元就是下一层的服务数据单元。

6. 在TCP/IP体系结构中,直接为ICMP 提供服务的协议是( )。

A.PPP

B.IP

C.UDP

D.TCP

【答案】B

【解析】A 项:PPP 在TCP/IP体系结构中属于网络接口层协议(在ISO/OSI体系结构中属于

,所以PPP 为网络层提供服务。 数据链路层协议)

B 项:ICMP 属于网络层协议,ICMP 报文直接作为IP 数据报的数据,然后再加上IP 数据报的首部进行传送,所以IP 直接为ICMP 提供服务。可能很多考生会有疑问,既然ICMP 协议在网络层,那应该由数据链路层的协议来提供服务才合理。其实不然,如图所示。

图 网际协议IP 及其配套协议

ICMP 属于网络层的上半层,所以由IP 提供服务是合理的。而像网络层的下半层协议,如ARP ,就不能说是由IP 提供服务了,而应该是数据链路层的某个协议提供服务。

CD 两项:UDP 和TCP 都属于传输层协议,在层次上应该在ICMP 上面,为应用层提供服务。

7. 下列的哪一项控制端到端传送的信息量并保证TCP 的可靠性?( )

A. 广播

B. 窗口

C. 错误恢复

D. 流量控制

【答案】B

【解析】窗口是实现端到端传送的主要机制,发送端窗口大小决定了发送的信息量的速度,而且发送的数据如果出错,可以从发送窗口中重传。

8. 在CSMA 控制方案中,介质的最大利用率取决于( )。

A. 帧的长度

B. 帧的内容

C. 帧的结构

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=324364726&siteId=291194637
Recommended