计算机网络试卷.docx
《计算机网络试卷.docx》由会员分享,可在线阅读,更多相关《计算机网络试卷.docx(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- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- 计算机网络 试卷
咨信网温馨提示:
1、咨信平台为文档C2C交易模式,即用户上传的文档直接被用户下载,收益归上传人(含作者)所有;本站仅是提供信息存储空间和展示预览,仅对用户上传内容的表现方式做保护处理,对上载内容不做任何修改或编辑。所展示的作品文档包括内容和图片全部来源于网络用户和作者上传投稿,我们不确定上传用户享有完全著作权,根据《信息网络传播权保护条例》,如果侵犯了您的版权、权益或隐私,请联系我们,核实后会尽快下架及时删除,并可随时和客服了解处理情况,尊重保护知识产权我们共同努力。
2、文档的总页数、文档格式和文档大小以系统显示为准(内容中显示的页数不一定正确),网站客服只以系统显示的页数、文件格式、文档大小作为仲裁依据,个别因单元格分列造成显示页码不一将协商解决,平台无法对文档的真实性、完整性、权威性、准确性、专业性及其观点立场做任何保证或承诺,下载前须认真查看,确认无误后再购买,务必慎重购买;若有违法违纪将进行移交司法处理,若涉侵权平台将进行基本处罚并下架。
3、本站所有内容均由用户上传,付费前请自行鉴别,如您付费,意味着您已接受本站规则且自行承担风险,本站不进行额外附加服务,虚拟产品一经售出概不退款(未进行购买下载可退充值款),文档一经付费(服务费)、不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
4、如你看到网页展示的文档有www.zixin.com.cn水印,是因预览和防盗链等技术需要对页面进行转换压缩成图而已,我们并不对上传的文档进行任何编辑或修改,文档下载后都不会有水印标识(原文档上传前个别存留的除外),下载后原文更清晰;试题试卷类文档,如果标题没有明确说明有答案则都视为没有答案,请知晓;PPT和DOC文档可被视为“模板”,允许上传人保留章节、目录结构的情况下删减部份的内容;PDF文档不管是原文档转换或图片扫描而得,本站不作要求视为允许,下载前自行私信或留言给上传者【精****】。
5、本文档所展示的图片、画像、字体、音乐的版权可能需版权方额外授权,请谨慎使用;网站提供的党政主题相关内容(国旗、国徽、党徽--等)目的在于配合国家政策宣传,仅限个人学习分享使用,禁止用于任何广告和商用目的。
6、文档遇到问题,请及时私信或留言给本站上传会员【精****】,需本站解决可联系【 微信客服】、【 QQ客服】,若有其他问题请点击或扫码反馈【 服务填表】;文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“【 版权申诉】”(推荐),意见反馈和侵权处理邮箱:1219186828@qq.com;也可以拔打客服电话:4008-655-100;投诉/维权电话:4009-655-100。
1、咨信平台为文档C2C交易模式,即用户上传的文档直接被用户下载,收益归上传人(含作者)所有;本站仅是提供信息存储空间和展示预览,仅对用户上传内容的表现方式做保护处理,对上载内容不做任何修改或编辑。所展示的作品文档包括内容和图片全部来源于网络用户和作者上传投稿,我们不确定上传用户享有完全著作权,根据《信息网络传播权保护条例》,如果侵犯了您的版权、权益或隐私,请联系我们,核实后会尽快下架及时删除,并可随时和客服了解处理情况,尊重保护知识产权我们共同努力。
2、文档的总页数、文档格式和文档大小以系统显示为准(内容中显示的页数不一定正确),网站客服只以系统显示的页数、文件格式、文档大小作为仲裁依据,个别因单元格分列造成显示页码不一将协商解决,平台无法对文档的真实性、完整性、权威性、准确性、专业性及其观点立场做任何保证或承诺,下载前须认真查看,确认无误后再购买,务必慎重购买;若有违法违纪将进行移交司法处理,若涉侵权平台将进行基本处罚并下架。
3、本站所有内容均由用户上传,付费前请自行鉴别,如您付费,意味着您已接受本站规则且自行承担风险,本站不进行额外附加服务,虚拟产品一经售出概不退款(未进行购买下载可退充值款),文档一经付费(服务费)、不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
4、如你看到网页展示的文档有www.zixin.com.cn水印,是因预览和防盗链等技术需要对页面进行转换压缩成图而已,我们并不对上传的文档进行任何编辑或修改,文档下载后都不会有水印标识(原文档上传前个别存留的除外),下载后原文更清晰;试题试卷类文档,如果标题没有明确说明有答案则都视为没有答案,请知晓;PPT和DOC文档可被视为“模板”,允许上传人保留章节、目录结构的情况下删减部份的内容;PDF文档不管是原文档转换或图片扫描而得,本站不作要求视为允许,下载前自行私信或留言给上传者【精****】。
5、本文档所展示的图片、画像、字体、音乐的版权可能需版权方额外授权,请谨慎使用;网站提供的党政主题相关内容(国旗、国徽、党徽--等)目的在于配合国家政策宣传,仅限个人学习分享使用,禁止用于任何广告和商用目的。
6、文档遇到问题,请及时私信或留言给本站上传会员【精****】,需本站解决可联系【 微信客服】、【 QQ客服】,若有其他问题请点击或扫码反馈【 服务填表】;文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“【 版权申诉】”(推荐),意见反馈和侵权处理邮箱:1219186828@qq.com;也可以拔打客服电话:4008-655-100;投诉/维权电话:4009-655-100。
关于本文