1、姓名 学号 学院 专业 座位号 ( 密 封 线 内 不 答 题 )密封线线_ _ 诚信应考,考试作弊将带来严重后果! 华南理工大学期末考试 Computer Networks A试卷注意事项:1. 考前请将密封线内填写清晰; 2. 所有答案请直接答在试卷上(注:选择题答案请填入题目前面旳表格中); 3考试形式:闭卷; 4. 本试卷共五大题,满分100分, 考试时间120分钟。题 号12345总分得 分评卷人1. Select the correct choice. (30 scores, every one is 2 scores)NO.123456789101112131415solutio
2、n(1) It is the architecture for TCP/IP protocol stack, which one below doesnt belong to the application layer ( B )? A. TELNET B.ICMPC. POPD. 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 H
3、ost 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) Sup
4、pose 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
5、transport-layer segment to the correct socket is called ( A ).A. Demultiplexing B. MultiplexingC. 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, respectivelyB. 3 fragments are created with o
6、ffset field value 0, 480, 960, respectivelyC. 3 fragments are created with offset field value 0, 60, 120, respectivelyD. 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, a
7、nd 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 d
8、atagram is encapsulated within the segment.(8) TCP has which of the following characteristics: ( D )A. Flow control B. Connection establishmentC. 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
9、 MAC protocol has which of the following characteristics: ( B )A. there is no single point failureB. it does not generate collisionsC. there is no master nodeD. all of the above(11) In the Ethernet two-layer switches, how is the forwarding table established? ( B )A. Manual configuration B. Self-lear
10、ningC. Routing algorithmD. 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. Geo
11、graphical distance between AssC. 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 adapterB. a link-layer broadcast frameC. an IP datagramD. none of the above(15) Two important reasons that th
12、e Internet is organized as a hierarchy of networks for the purposes of routing are ( C )A. Least cost and maximum free circuit availabilityB. Message complexity and speed of convergenceC. Scale and administrative autonomy D. Link cost changes and link failure 2. Fill the blank. (10 scores, every bla
13、nk 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)
14、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
15、 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 eliminat
16、e 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.12345
17、678910Solution(T or F)FTFFFTFTFF(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
18、.(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
19、 Access Control is a function of the data-link layer. (7) Emails are delivered to receivers 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 arri
20、ves 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.Nam
21、e 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 buildingb) 1 Mb/s ge
22、osynchronous-orbit satellite (同步轨道卫星) link between the US and Chinac) 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 cli
23、ent 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 pr
24、efix 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 s
25、ame 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
26、A to the R2. From R to B.R1A-23-F9-CD-06-9B222.222.222.220111.111.111.110E6-E9-00-17-BB-4BCC-49-DE-D0-AB-7D111.111.111.112111.111.111.111A74-29-9C-E8-FF-55222.222.222.221B222.222.222.22249-BD-D2-C7-56-2A88-B2-2F-54-1A-0FFigure 25. Comprehensive Questions (20 scores, every one is 10 scores)(1) Consid
27、er the following network. With the indicated link costs, use Dijkstras 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, the
28、n select t).Figure 4Figure 3Please 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
29、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
30、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. Selec
31、t the correct choice. (30 scores, every one is 2 scores)NO.123456789101112131415solutionBABBABCDCBBAABC7. 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 (
32、Tracert)8. Judge the following questions as true or false. (10 scores, every one is 1 scores)NO.12345678910Solution(T or F)FTFFFTFTFF9. Answer the following questions briefly. (30 scores, every one is 6 scores)(1) nodal processing delay, queuing delay, transmission delay .Propagation delay. Itnot co
33、nstant, 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. “wind
34、ow” of up to N, consecutive unacked 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 windo
35、w(4) 222.201.130. 64 222.201.130.127Four subnets: 222.201.130.64/28 222.201.130.80/28222.201.130.96/28222.201.130.112/28(5)i. From A to R: Source MAC address: 74-29-9C-E8-FF-55Destination MAC address: E6-E9-00-17-BB-4BSource IP: 111.111.111.111Destination IP: 222.222.222.222ii. From R to B: Source M
36、AC address: 1A-23-F9-CD-06-9BDestination MAC address: 49-BD-D2-C7-56-2ASource IP: 111.111.111.111Destination IP: 222.222.222.22210. Comprehensive Questions (20 scores, every one is 10 scores)(1) 1x8,x5,x1,x5,x2xy3,y4,y5,x4,y3xyt4,t4,y5,x4,y4xytu4,y5,x4,y5xytuv5,x4,y6xytuvz5,x7xytuvzw 3,y4,t4,y5,x1,x4,y(2) a)1,6,20,23b) 6,14,15,19c)A triple duplicate Ack; Reno d) 6e) 4, 4