收藏 分销(赏)

计算机网络试卷.docx

上传人:精**** 文档编号:4877379 上传时间:2024-10-17 格式:DOCX 页数:15 大小:84.40KB 下载积分:8 金币
下载 相关 举报
计算机网络试卷.docx_第1页
第1页 / 共15页
计算机网络试卷.docx_第2页
第2页 / 共15页


点击查看更多>>
资源描述
姓名 学号 学院 专业 座位号 ( 密 封 线 内 不 答 题 ) ……………………………………………………密………………………………………………封………………………………………线……………………………………线……………………………………… _____________ ________ … 诚信应考,考试作弊将带来严重后果! 华南理工大学期末考试 《 Computer Networks 》A试卷 注意事项:1. 考前请将密封线内填写清晰; 2. 所有答案请直接答在试卷上(注:选择题答案请填入题目前面旳表格中); 3.考试形式:闭卷; 4. 本试卷共五大题,满分100分, 考试时间120分钟。 题 号 1 2 3 4 5 总分 得 分 评卷人 1. Select the correct choice. (30 scores, every one is 2 scores) NO. 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 solution (1) It is the architecture for TCP/IP protocol stack, which one below doesn’t belong to the application layer ( B )? A. TELNET  B.ICMP  C. POP  D. SMTP (2) Why do HTTP, FTP, SMTP and POP3 run on top of TCP rather than UDP? ( A ) A. Reliable data transfer B. Throughput C. Real-time D. Security (3) Suppose Host A wants to send a file to Host B, there are three links between A to B, and the rates of the three links are respectively R1=2 Mbps, R2= 1Mbps, and R3= 4 Mbps. If no any other traffic in the network, what is the throughput for the file transfer? ( B ) A. 2 Mbps B. 1 Mbps C. 4 Mbps D. 7Mbps (4) Suppose an application generates chunks of 120 bytes of data every second, and each chunk gets encapsulated in a TCP segment and then an IP datagram(no options fields).What percentage of each datagram will contain application data? ( B ) A. 80% B. 75% C. 60% D.25% (5) The job of delivering the data in a transport-layer segment to the correct socket is called ( A ). A. Demultiplexing B. Multiplexing C. TDM D. FDM (6) Consider sending a 999 byte datagram into a link that has an MTU of 500 bytes , ( B ) A. 2 fragments are created with offset field value 0,500, respectively B. 3 fragments are created with offset field value 0, 480, 960, respectively C. 3 fragments are created with offset field value 0, 60, 120, respectively D. None of these above (7) About the encapsulation relationships of segment、datagram and frame, which of the following is correct? ( C ) A. Segment is encapsulated within the frame, and the frame is encapsulated within the datagram. B. Datagram is encapsulated within the Segment, and the Segment is encapsulated within the frame. C. Segment is encapsulated within the datagram, and the datagram is encapsulated within the frame. D. Frame is encapsulated within the datagram, and the datagram is encapsulated within the segment. (8) TCP has which of the following characteristics: ( D ) A. Flow control B. Connection establishment C. Congestion control D. All of the above (9) What is the ICMP used for ? ( C ) A. Error reporting B. Used by ping C. A and B D. None above. (10) A taking-turns MAC protocol has which of the following characteristics: ( B ) A. there is no single point failure B. it does not generate collisions C. there is no master node D. all of the above (11) In the Ethernet two-layer switches, how is the forwarding table established? ( B ) A. Manual configuration B. Self-learning C. Routing algorithm D. Destination address learning (12) Which are the error detection and correction techniques used often in link layer? ( A ) A. CRC B. Checksum C. Parity checks D. None of the above (13) In routing among ASs, which of the following issues dominants? ( A ) A. Routing Policy B. Geographical distance between Ass C. Current congestion levels in the ASs D. Number of ASs traversed (14) An ARP query packet is encapsulated in ( B ) A. a link-layer frame addressed to a specific adapter B. a link-layer broadcast frame C. an IP datagram D. none of the above (15) Two important reasons that the Internet is organized as a hierarchy of networks for the purposes of routing are ( C ) A. Least cost and maximum free circuit availability B. Message complexity and speed of convergence C. Scale and administrative autonomy D. Link cost changes and link failure 2. Fill the blank. (10 scores, every blank is 1 score ) (1) The task of the data link layer is providing data transmission services between _________Adjacent nodes__________; The task of the network layer is providing data transmission services between _______hosts___________; and the task of transport layer is providing data transmission services between ________processes___________. (2) The two key functions of network layer are _______Forwarding________ and ________routing__________. (3) Two routing protocols have been used extensively for routing within an autonomous system in the Internet: RIP protocol and __OSPF____ protocol. (4) The header of IP datagram has a _____TTL______ field, when the value of the field is 0, the datagram transmitted will be discarded. (5) RIP advertisements typically announce the number of hops to various destination; BGP updates, on the other hand, announce the ________Sequence of ASs on the routes___________to the various destinations. (6) TCP provides a ________Flow control________service to its application to eliminate the possibility of the sender overwhelming the receiver. (7) The tool (command) that can be used to determine the number of hops to a destination and the round trip time (RTT) for each hop is ______Traceroute________. 3. Judge the following questions as true or false. (10 scores, every one is 1 scores) NO. 1 2 3 4 5 6 7 8 9 10 Solution(T or F) F T F F F T F T F F (1) When a user request a Web page that consists of some text and two images. For this page, the client will send one request message and receive three response message. (2) With a window size of 1, SR, GBN, and the alternating bit protocol are functionally equivalent. (3) When using distance vector route algorithm, the complete network topology information must be known by a router. (4) In a P2P file-sharing application, there is no notion of client and server sides of a communication session. (5) All nodes connected to the Internet must implement UDP. (6) Media Access Control is a function of the data-link layer. (7) Emails are delivered to receiver's server using POP3 protocol. (8) Both CIDR and NAT can lead to much more efficient use of the available IPv4 address space. (9) Collisions will not occur under CSMA/CD MAC protocol. (10) When a TCP segment arrives to a host, the socket to which the segment is directed depends on the destination port number and the destination IP address. 4. Answer the following questions briefly. (30 scores, every one is 6 scores) (1) Consider sending a packet from a source host to a destination host over a fixed route.Name the four factors of delay for the packet. Is the delay constant ? Why or why not? Identify which factor will most likely predominate (i.e. ,be the largest factor ) for 1M Byte Packets in a flow on the following different links. a) 10 Mb/s LAN segment between two PCs in the same building b) 1 Mb/s geosynchronous-orbit satellite (同步轨道卫星) link between the US and China c) on the Internet between the US and China (2) Domain Name System (DNS) uses a distributed approach as opposed to a single server. Why? Assume a client needs to find the IP address of www.newpool.org using the DNS. And assume the client has a local DNS server, but that server does not have any addresses cached. What are the DNS servers that are queried (in order) to find the IP address? (3) Try to describe the main principles of reliable data transfer for GBN as figure 1. Figure 1 GBN window mechanism (4) Consider a subnet with prefix 222.201.130.64/26. Give an example of one IP address(of form xxx.xxx.xxx.xxx) that can be assigned to an interface in this network. Suppose an ISP owns the block of addresses of the form 222.201.130.64/26. And suppose it wants to create four subnets from this block, with each block having the same number of IP addresses. What are the prefixes(of form a.b.c.d/x) for the four subnets? (5) As figure 2, suppose Host A sends a datagram to Host B via router R. Please draw up the source and destination MAC addresses, and source and destination IP addresses in the frame as required below: 1. From A to the R 2. From R to B. R 1A-23-F9-CD-06-9B 222.222.222.220 111.111.111.110 E6-E9-00-17-BB-4B CC-49-DE-D0-AB-7D 111.111.111.112 111.111.111.111 A 74-29-9C-E8-FF-55 222.222.222.221 B 222.222.222.222 49-BD-D2-C7-56-2A 88-B2-2F-54-1A-0F Figure 2 5. Comprehensive Questions (20 scores, every one is 10 scores) (1) Consider the following network. With the indicated link costs, use Dijkstra’s shortest path algorithm to compute the shortest path from x to all network nodes. While selecting the next node, if several nodes have the same min cost, select the one with lowest id, (e.g., if t and v have the same min cost, then select t). Figure 4 Figure 3 Please show how the algorithm works by filling out the following table. (2) Assume the following graph shows the behavior of a TCP congestion control, answer each question with a short discussion justifying your answer. a) Identify the intervals of time when TCP slow start is operating. b) Identify the intervals of time when TCP congestion avoidance is operating. c)After 14th transmission round,is segment loss detected by a triple duplicate ACK or by a timeout? And which version of TCP protocol(Reno or Tahoe) is used base on this information? d) During what transmission round is the 50th segment sent? e) Assuming a packet loss is detected after the 23rd round by the receipt of a triple duplicate ACKs, what will be the values of the congestion window size and Threshold? 姓名 学号 学院 专业 座位号 ( 密 封 线 内 不 答 题 ) ……………………………………………………密………………………………………………封………………………………………线……………………………………线……………………………………… _____________ ________ … 诚信应考,考试作弊将带来严重后果! 华南理工大学期末考试 《 Computer Networks 》A试卷 6. Select the correct choice. (30 scores, every one is 2 scores) NO. 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 solution B A B B A B C D C B B A A B C 7. Fill the blank. (10 scores, every blank is 1 score ) (1) Adjacent nodes; hosts ; processes (2) Forwarding , routing (3) OSPF (4) TTL (5) Sequence of ASs on the routes (6) Flow control (7) Traceroute (Tracert) 8. Judge the following questions as true or false. (10 scores, every one is 1 scores) NO. 1 2 3 4 5 6 7 8 9 10 Solution(T or F) F T F F F T F T F F 9. Answer the following questions briefly. (30 scores, every one is 6 scores) (1) nodal processing delay, queuing delay, transmission delay .Propagation delay. It’not constant, and depends on the consgestion. a) transmission delay b) propagation delay c) queuing delay (2) Why: A distributed hierarchy of servers gives better scalability and does not present a single point of failure. In order: Local -Root Top level(org) Authoritative (newpool.org) DNS server (3) i. “window” of up to N, consecutive unack’ed pkts allowed. ii. ACK(n): ACKs all pkts up to, including seq # n - “cumulative ACK” a) may receive duplicate ACKs (see receiver) b) Only a single timer for the oldest transmitted but not yet acknowleged. timeout(n): retransmit pkt n and all higher seq # pkts in window (4) 222.201.130. 64~ 222.201.130.127 Four subnets: 222.201.130.64/28 222.201.130.80/28 222.201.130.96/28 222.201.130.112/28 (5) i. From A to R: Source MAC address: 74-29-9C-E8-FF-55 Destination MAC address: E6-E9-00-17-BB-4B Source IP: 111.111.111.111 Destination IP: 222.222.222.222 ii. From R to B: Source MAC address: 1A-23-F9-CD-06-9B Destination MAC address: 49-BD-D2-C7-56-2A Source IP: 111.111.111.111 Destination IP: 222.222.222.222 10. Comprehensive Questions (20 scores, every one is 10 scores) (1) 1 x ∞ ∞ 8,x 5,x 1,x 5,x 2 xy 3,y ∞ 4,y 5,x 4,y 3 xyt 4,t 4,y 5,x 4,y 4 xytu 4,y 5,x 4,y 5 xytuv 5,x 4,y 6 xytuvz 5,x 7 xytuvzw 3,y 4,t 4,y 5,x 1,x 4,y (2) a)[1,6],[20,23] b) [6,14],[15,19] c)A triple duplicate Ack; Reno d) 6 e) 4, 4
展开阅读全文

开通  VIP会员、SVIP会员  优惠大
下载10份以上建议开通VIP会员
下载20份以上建议开通SVIP会员


开通VIP      成为共赢上传

当前位置:首页 > 包罗万象 > 大杂烩

移动网页_全站_页脚广告1

关于我们      便捷服务       自信AI       AI导航        抽奖活动

©2010-2026 宁波自信网络信息技术有限公司  版权所有

客服电话:0574-28810668  投诉电话:18658249818

gongan.png浙公网安备33021202000488号   

icp.png浙ICP备2021020529号-1  |  浙B2-20240490  

关注我们 :微信公众号    抖音    微博    LOFTER 

客服