NTU-Exam 板


LINE

課程名稱︰計算機網路 課程性質︰資訊大三必修 課程教師︰周承復 開課學院:電資 開課系所︰資訊 考試日期(年月日)︰103/11/13 考試時限(分鐘):120 是否需發放獎勵金:Y (如未明確表示,則不予發放) 試題 : Question 1: "Quickies" Answer each of the following questions briefly, i.e. in at most a few sentences a) (10%) What does it mean for a protocol to be stateful? What does it mean for a protocol to be stateless? Give an example one stateful protocol and one stateless protocol. b) (10%) What does it mean when we say that control messages are "in-band"? What does it ean when we say that control messages are "out-of-band"? Give an example of a protocol that has in-bond control messages and one example of a protocol that has out-of-bond control messages. c) (10%) List four factors that contribute to the end-to-end delay in a packet-switched network. Which of these are constant and which of these depend on the load in the network? d) (10%) Suppose you would like to urgently deliver 20 terabytes data from Boston to Los Angeles. You have available a 500 Mbps dedicated link for data transfer. Would you prefer to transmit the data via this link or instead use FedEx overnight delivery? Explain. e) (10%) Suppose a web server has 399 ongoing TCP connection. How many server-side sockets are used? How many server-side port number are used? Briefly(two sentences at most each)explain your answer. f) (10%) For each question, please circle a single best answer. (1) What are three common HTTP 1.1 message method fields? (a) GET HTML POST (b) GET PUT HTML (c) GET UPLOAD HTML (d) GET POST PUT (e) none of the above (2) Given that the requested information is not available at any intermediate databases, a purely recursive DNS query from a requesting host would follow the path: (a) Root name server, local name server, authoritative name server (b) authoritative name server, root name server, host name server (c) local name server, root name server, local name server, authoritative name server (d) local name server, root name server, TLD name serve, authoritative name server. (e) none of the above. Question 2: "DHT" (a) ( 5%) What are two fundamental advantages of peer-to-peer(P2P) systems over client-server systems? (b) (20%) Consider a circular Distributed Hash Table(DHT) with node identifiers in the range[0;15]. Suppose there are seven peers with identifiers 1,3,6,9,12,14 and 15. (i) Suppose that the following(key,value) pairs should be stored in the DHT: (2,0),(6,5),(7,13)and(15,7). Which peers will store which (key,value) pairs? Fill in the table below. (key,value) Identifier of the responsible peer ( 2, 0) ( 6, 5) ( 7,13) (15, 7) (ii) Suppose that peer 6 learns that peer 9 has left the DHT. How does peer 6 updates its successor state information? Which peer is now its first successor? Its second successor? (c) (10%) Explain how DHT improves search performance from O(n) to O(log n), where n is the total number hosts in DHT method. Question 3: "Homework" (a) (10%) Suppose users share a 3Mbps link. Also suppose each user requires 150kbps when transmitting,but each user transmits only 20 percent of the time. Suppose there are 100 users. Find the probability that there are 21 or more users transmitting simultaneously.(Write the equation only) (b) (15%) Consider sending a large file of F bits from Host A to Host B. As shown in the following diagram, there are four links and three switches between A and B, and the links are uncongested(that is, no queuing delays). Host A segments the file into segments of S bits each and adds 95 bits of header to each segment forming packets of L = 95 + S bits. Each links has a transmission rate of R bps. Find the value of S that minimizes the delay of moving the file from Host A to Host B. Disregard propagation delay. --



※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 140.112.16.152
※ 文章網址: http://webptt.com/m.aspx?n=bbs/NTU-Exam/M.1415846940.A.707.html ※ 編輯: CalvinyhChen (140.112.16.152), 11/13/2014 10:52:02
1F:推 rod24574575 : 已收資訊系! 11/13 11:21
2F:推 benny9072004: 你這麼快出來就為了這篇 XD? 11/14 02:10
3F:→ CalvinyhChen: 出來後才想到的XD 而且考卷是跟別人借的 11/14 09:15
4F:推 alex800826 : 下次助教應該自己搶。 11/19 12:25
5F:→ CalvinyhChen: 歡迎助教在考前搶XD 01/14 22:49







like.gif 您可能會有興趣的文章
icon.png[問題/行為] 貓晚上進房間會不會有憋尿問題
icon.pngRe: [閒聊] 選了錯誤的女孩成為魔法少女 XDDDDDDDDDD
icon.png[正妹] 瑞典 一張
icon.png[心得] EMS高領長版毛衣.墨小樓MC1002
icon.png[分享] 丹龍隔熱紙GE55+33+22
icon.png[問題] 清洗洗衣機
icon.png[尋物] 窗台下的空間
icon.png[閒聊] 双極の女神1 木魔爵
icon.png[售車] 新竹 1997 march 1297cc 白色 四門
icon.png[討論] 能從照片感受到攝影者心情嗎
icon.png[狂賀] 賀賀賀賀 賀!島村卯月!總選舉NO.1
icon.png[難過] 羨慕白皮膚的女生
icon.png閱讀文章
icon.png[黑特]
icon.png[問題] SBK S1安裝於安全帽位置
icon.png[分享] 舊woo100絕版開箱!!
icon.pngRe: [無言] 關於小包衛生紙
icon.png[開箱] E5-2683V3 RX480Strix 快睿C1 簡單測試
icon.png[心得] 蒼の海賊龍 地獄 執行者16PT
icon.png[售車] 1999年Virage iO 1.8EXi
icon.png[心得] 挑戰33 LV10 獅子座pt solo
icon.png[閒聊] 手把手教你不被桶之新手主購教學
icon.png[分享] Civic Type R 量產版官方照無預警流出
icon.png[售車] Golf 4 2.0 銀色 自排
icon.png[出售] Graco提籃汽座(有底座)2000元誠可議
icon.png[問題] 請問補牙材質掉了還能再補嗎?(台中半年內
icon.png[問題] 44th 單曲 生寫竟然都給重複的啊啊!
icon.png[心得] 華南紅卡/icash 核卡
icon.png[問題] 拔牙矯正這樣正常嗎
icon.png[贈送] 老莫高業 初業 102年版
icon.png[情報] 三大行動支付 本季掀戰火
icon.png[寶寶] 博客來Amos水蠟筆5/1特價五折
icon.pngRe: [心得] 新鮮人一些面試分享
icon.png[心得] 蒼の海賊龍 地獄 麒麟25PT
icon.pngRe: [閒聊] (君の名は。雷慎入) 君名二創漫畫翻譯
icon.pngRe: [閒聊] OGN中場影片:失蹤人口局 (英文字幕)
icon.png[問題] 台灣大哥大4G訊號差
icon.png[出售] [全國]全新千尋侘草LED燈, 水草

請輸入看板名稱,例如:Soft_Job站內搜尋

TOP