NTU-Exam 板


LINE

课程名称︰计算机网路 课程性质︰大三必修 课程教师︰周承复 开课学院:电机资讯学院 开课系所︰资讯工程系 考试日期(年月日)︰2018.11.06 考试时限(分钟):09:30~11:35 试题 : Question 1: Quickies (45%) 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 of one stateful protocol and one stateless protocol. b. (10%) List four factors that contributes to the end-to-end dela in a packet- switched network. Which of these are constand and which of these depned on the load in the network? c. (10%) Suppose a web server has 500 ongoing TCP connecyions. How many server- side sockets are used? How many server-side ports are used? (Hint: remember the server implements fork() as introduced in the lecture) d. ( 5%) What is the purpos/use of UDP checksum? e. (10%) Suppose you would like to urgently deliver 50 terabtytes data from Boston to Los Angeles. You have a available 1Gbps dedicated link for data transfer. Would you prefer to transmit the data via this lin or instead use Fedex overnight delivery? Explain. Question 2: DNS service (15%) Suppose you open a startup company "sky" and want to set up your company network. Your network has the following servers: 1. DNS server: "dns1.sky.com" with IP "140.112.12.40" 2. Web server: "sky.com" with IPs "140.112.12.55" and "140.112.12.56". The web server also has a name as "www.sky.com" 3. Email server: "galaxy.sky.com" with IP "140.112.12.60" Your company's email address is "username @sky.com" a. ( 5%) What resource records (RRs) do you need to provide to the upper-level ".com" Registrar? b. (10%) What RRs do you need to put in your company's DNS server? Question 3: Web (20%) Consider an HTTP client that wants to retrieve a WWW document at a given URL. The IP address of the HTTP server is initially unknown. The WWW object at the URL has one embedded GIF image that resides at the same server as the original object. a. (10%) What transport and application layer protocols beside HTTP are needed in this scenario? b. (10%) Suppose that the time needed to contect and recieve a reply from any server (for any protocol) is RTT, and the time to trasmit the WWW object and GIF image is T. How much time (in RTT and T) is needed from when the user first enters the URL until the complete document is displayed? Assume that non- persistent HTTP us used. Consider delay of all protocols in your answer, not just those of HTTP. Question 4: Socket Programming ( 6%) Please fill in the correspinding system call (socket(), connect(), bind() ,accept(), send(), recv(), close()). https://i.imgur.com/l9vdp3o.png Question 5: Homework Review These problems are not the same as homework, which means that we have modified some description. Please be careful when answering. (12%) Suppose users share a 6Mbps link. Also suppose each user requires 100Kbps when transmitting, but each user transmits only 20% of the time. a. ( 3%) When circuit switching is used, how many users can be supported? b. ( 3%) For the remainder of this problem, suppose packet switching is used. Find the probability that a given user is transmitting. c. ( 3%) Suppose there are 120 users. Find the probability that at any given time, exactly n users are transmitting simultaneously. (Hint: Use the binomial distribution) d. ( 3%) Find the probability that there are 21 or more users transmitting simultaneously. (12%) True of False e. ( 3%) A user requests a Web page that consists of some text and three images . For this page, the client will send four request message and recieve four response messages. f. ( 3%) With non-persistent connection between browser and origin server, it is possible for a single TCP segment to carry to distinct HTTP request messages . g. ( 3%) HTTP response messages can have an empty message body. h. ( 3%) The date: header in the HTTP response message indicates when the object in the response was last modified. --



※ 发信站: 批踢踢实业坊(ptt.cc), 来自: 114.136.222.126
※ 文章网址: https://webptt.com/cn.aspx?n=bbs/NTU-Exam/M.1541475089.A.64B.html ※ 编辑: eopXD (114.136.222.126), 11/06/2018 11:32:24 ※ 编辑: eopXD (114.136.222.126), 11/06/2018 11:34:02
1F:推 rod24574575 : 已收资讯系 11/06 21:19
※ 编辑: eopXD (140.112.151.164), 11/08/2018 21:16:50







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灯, 水草

请输入看板名称,例如:WOW 或 站内搜寻

TOP