Beruflich Dokumente
Kultur Dokumente
b) (2 pts) Name two standards created by IETF, name two standards created by IEEE.
1 pt each
IETF = TCP and HTTP (and many, many others)
IEEE = 803.3 Ethernet and 802.11 WiFi (and others)
d) (2 pts) In a sliding window protocol, the receiver sends back an ACK for frame 15. What does this
mean if the following types of acknowledgements are used?
i) Cumulative acknowledgements?
All frames up to and including frame 15 have been received correctly
Page 1 of 4
0907422 Computer Networks Midterm Exam Spring 2011
4 Problems, 4 Pages 75 minutes April 4, 2011; 3:30 PM
Problem 2(8 pts ) Answer the following questions regarding the Application Layer.
a) (2 pts) An application layer protocol typically defines four things. What are these four things?
1) Types of messages
2) Syntax of messages
3) Semantics of messages
b) (3 pts)What is a web cache used for (i.e., what benefits are derived from using a web cache)? Where
can a web cache be located or placed?
c) (3 pts)What is DNS and what is it used for? What are the different types of DNS servers and how
they are organized? If all DNS servers could be “crashed” (taken offline), how could the Internet keep
working (be precise)?
1.5 pts each for DNS use and for “what would happen” (3 pts total)
DNS is Domain Name Service and is used to associate host names (as in say, www.yahoo.com or
christen@csee.usf.edu) with IP addresses.
Types of DNS servers are: Hierarchy consisting of root servers; top-level domain (TLD) servers (com,
org, edu, etc..); authoritative DNS servers; Not part of hierarchy: local name servers
If all DNS servers were to be crashed one would be unable to use hostnames and could only use IP
addresses when using Internet services.
Page 2 of 4
0907422 Computer Networks Midterm Exam Spring 2011
4 Problems, 4 Pages 75 minutes April 4, 2011; 3:30 PM
RDT 1.0
Page 3 of 4
0907422 Computer Networks Midterm Exam Spring 2011
4 Problems, 4 Pages 75 minutes April 4, 2011; 3:30 PM
t pkt0 sent
0 0 1 2 3 4 5 6 7 8 9
1 pkt1 sent
2 0 1 2 3 4 5 6 7 8 9
3 pkt2 sent X(loss)
4 0 1 2 3 4 5 6 7 8 9 pkt0 rcvd, delivered, ACK0 sent
5 pkt3 sent 0 1 2 3 4 5 6 7 8 9
6 0 1 2 3 4 5 6 7 8 9
7 X(loss) 0 1 2 3 4 5 6 7 8 9
8 0 1 2 3 4 5 6 7 8 9 pkt2 rcvd, buffered, ACK2 sent
9 ACK0 rcvd; pkt4 sent 0 1 2 3 4 5 6 7 8 9
10 0 1 2 3 4 5 6 7 8 9
11 0 1 2 3 4 5 6 7 8 9
12 0 1 2 3 4 5 6 7 8 9
13 pkt 1 TIMEOUT, pkt 1 resent 0 1 2 3 4 5 6 7 8 9
ACK2 rcvd; nothing sent
14 0 1 2 3 4 5 6 7 8 9 pkt4 rcvd, buffered, ACK4 sent
15 0 1 2 3 4 5 6 7 8 9
16 0 1 2 3 4 5 6 7 8 9
17 pkt 3 TIMEOUT, pkt 3 resent 0 1 2 3 4 5 6 7 8 9
18 0 1 2 3 4 5 6 7 8 9 pkt1 rcvd,1&2 delivered, ACK1
sent
19 ACK4 rcvd; nothing sent 0 1 2 3 4 5 6 7 8 9
20 0 1 2 3 4 5 6 7 8 9
21 0 1 2 3 4 5 6 7 8 9
22 0 1 2 3 4 5 6 7 8 9 pkt3 rcvd, 3&4 delivered, ACK3
sent
23 ACK1 rcvd; pkt5 sent 0 1 2 3 4 5 6 7 8 9
24 0 1 2 3 4 5 6 7 8 9
25 0 1 2 3 4 5 6 7 8 9
26 0 1 2 3 4 5 6 7 8 9
27 ACK3 rcvd; pkt6 sent 0 1 2 3 4 5 6 7 8 9
28 0 1 2 3 4 5 6 7 8 9 pkt5 rcvd, delivered, ACK5 sent
29 0 1 2 3 4 5 6 7 8 9
30 0 1 2 3 4 5 6 7 8 9
31 0 1 2 3 4 5 6 7 8 9
32 0 1 2 3 4 5 6 7 8 9
33
34
35
Page 4 of 4