Docsity

Communication Networks for Computer - Final Examination | ECE 438, Exams of Organizational Communication

Toggle sidebar
bg1
CS/ECE 438: Communication Networks for Computers Final Exam Spring 2007
Study Guide Short Answers
The final examination will be held 8:00 to 11:00 p.m. on Tuesday, May 8th. The exam will begin at 8:00 p.m. sharp,
so please arrive before 8:00 to settle in before the test begins. No extensions will be granted to those who are late,
nor will any non-emergency excuse for absence be accepted after May 1st.
You may not consult any materials during the exam: no textbooks, no crib sheets, no calculator, etc.
The final exam will contain parameterized problems and short-answer questions. The parameterized problems are
close to those found here and in the homework. The short-answer questions require you to explain or comment on
a topic relevant to the course in twenty words or less. As on the midterm, please keep your short answers under 25
words.
This study guide contains one hundred and twenty-five short answer questions. Each short-answer question on the
exam will differ from one of the short-answer questions in this study guide in the wording used.
On the exam, you must show all work and reasoning, writing both work and solution legibly, and should box all
answers. If the course staff cannot read a solution, no credit will be given.
Short-Answer Questions
1. Explain the exposed terminal problem and how it is solved.
2. Name the OSI layer or layers in which medium access control (MAC) is addressed and state whether MAC is
typically handled in hardware, in software, or in both in the Internet architecture.
3. Explain the effect of layering on end-to-end bandwidth.
4. Name the OSI layer or layers in which framing is addressed and state whether framing is typically handled in
hardware, in software, or in both in the Internet architecture.
5. Show that the final parity check in a horizontal and vertical parity check code, if taken as the modulo 2 sum of
all data bits, is equal to the modulo 2 sum of the horizontal parity checks and also equal to the modulo 2 sum of
the vertical parity checks.
6. For a small data packet, which is more relevant, bandwidth or latency? Explain.
7. Describe the benefits of error correction over error detection.
8. Give two arguments against IP reassembly in routers.
9. List three components that contribute to end-to-end latency.
10. The sequence number field in the TCP header is 32 bits long, which is big enough to cover over 4 billion bytes
of data. Even if this many bytes were never transferred over a single connection, why might the sequence
number still wrap around from 232 — 1 to 0?
11. Explain the circumstances that give rise to the count-to-infinity problem.
12. Assuming SWS=3, RWS=1, and independent timeouts per packet, construct a minimal timeline such that
timeouts for packets in the send window are neither monotonically increasing nor monotonically decreasing.
13. Name the OSI layer or layers in which error detection is addressed and state whether error detection is typically
handled in hardware, in software, or in both in the Internet architecture.
14. For TCP, why does the maximum packet lifetime, T, have to be large enough to ensure that not only the packet,
but also its acknowledgements, have vanished?
15. Caching is an important mechanism whereby frequently used information is replicated in order to provide fast
access at different physical locations. Name three instances of caching discussed in the course that arise in the
context of standard Internet operation.
16. At what OSI layer do Internet routers typically operate?
17. What is the difference between a shared tree and a source-based tree in the context of multicast routing?
18. Why are differentiated services approaches to supporting QoS considered more scalable than integrated services
approaches?
19. Explain how a receiver detects the end of a frame with length-based framing.
20. How can one address variability of bandwidth bottlenecks to receivers of a multicast group (i.e. source can send
10Mbps, one member can receive entire 10Mbps, but other member can only receive 10Kbps)?
21. What Hamming distance is necessary for n-bit error detection? n-bit error correction?
pf3
pf4

Partial preview of the text

Download Communication Networks for Computer - Final Examination | ECE 438 and more Exams Organizational Communication in PDF only on Docsity!

CS/ECE 438: Communication Networks for Computers Final Exam Spring 2007

Study Guide Short Answers

The final examination will be held 8:00 to 11:00 p.m. on Tuesday, May 8th. The exam will begin at 8:00 p.m. sharp, so please arrive before 8:00 to settle in before the test begins. No extensions will be granted to those who are late, nor will any non-emergency excuse for absence be accepted after May 1st.

You may not consult any materials during the exam: no textbooks, no crib sheets, no calculator, etc.

The final exam will contain parameterized problems and short-answer questions. The parameterized problems are close to those found here and in the homework. The short-answer questions require you to explain or comment on a topic relevant to the course in twenty words or less. As on the midterm, please keep your short answers under 25 words.

This study guide contains one hundred and twenty-five short answer questions. Each short-answer question on the exam will differ from one of the short-answer questions in this study guide in the wording used.

On the exam, you must show all work and reasoning, writing both work and solution legibly, and should box all answers. If the course staff cannot read a solution, no credit will be given.

Short-Answer Questions

  1. Explain the exposed terminal problem and how it is solved.
  2. Name the OSI layer or layers in which medium access control (MAC) is addressed and state whether MAC is typically handled in hardware, in software, or in both in the Internet architecture.
  3. Explain the effect of layering on end-to-end bandwidth.
  4. Name the OSI layer or layers in which framing is addressed and state whether framing is typically handled in hardware, in software, or in both in the Internet architecture.
  5. Show that the final parity check in a horizontal and vertical parity check code, if taken as the modulo 2 sum of all data bits, is equal to the modulo 2 sum of the horizontal parity checks and also equal to the modulo 2 sum of the vertical parity checks.
  6. For a small data packet, which is more relevant, bandwidth or latency? Explain.
  7. Describe the benefits of error correction over error detection.
  8. Give two arguments against IP reassembly in routers.
  9. List three components that contribute to end-to-end latency.
  10. The sequence number field in the TCP header is 32 bits long, which is big enough to cover over 4 billion bytes of data. Even if this many bytes were never transferred over a single connection, why might the sequence number still wrap around from 2^32 — 1 to 0?
  11. Explain the circumstances that give rise to the count-to-infinity problem.
  12. Assuming SWS=3, RWS=1, and independent timeouts per packet, construct a minimal timeline such that timeouts for packets in the send window are neither monotonically increasing nor monotonically decreasing.
  13. Name the OSI layer or layers in which error detection is addressed and state whether error detection is typically handled in hardware, in software, or in both in the Internet architecture.
  14. For TCP, why does the maximum packet lifetime, T, have to be large enough to ensure that not only the packet, but also its acknowledgements, have vanished?
  15. Caching is an important mechanism whereby frequently used information is replicated in order to provide fast access at different physical locations. Name three instances of caching discussed in the course that arise in the context of standard Internet operation.
  16. At what OSI layer do Internet routers typically operate?
  17. What is the difference between a shared tree and a source-based tree in the context of multicast routing?
  18. Why are differentiated services approaches to supporting QoS considered more scalable than integrated services approaches?
  19. Explain how a receiver detects the end of a frame with length-based framing.
  20. How can one address variability of bandwidth bottlenecks to receivers of a multicast group (i.e. source can send 10Mbps, one member can receive entire 10Mbps, but other member can only receive 10Kbps)?
  21. What Hamming distance is necessary for n-bit error detection? n-bit error correction?
  1. If SWS=RWS=5 in a sliding window protocol, if packet numbers do not wrap around, if packets do not arrive out of order, and if the next frame expected (NFE) is currently 17, why can't the receiver next receive a packet with sequence number 10?
  2. Explain how a receiver detects the end of a frame with sentinel-based framing.
  3. Why will UDP require a checksum with IPv6?
  4. Why might a host using an IEEE 802.11 access point (AP) continue scanning for other access points?
  5. Explain the meaning of the error, "address already in use," sometimes returned from calls to bind.
  6. Name the four components that uniquely specify a TCP connection and the length of each component in bits.
  7. What does TCP use in addition to an estimate of RTT to calculate timeouts for adaptive retransmission?
  8. Suppose a dynamic routing algorithm is employed to try to make routing tables correspond to least cost paths. What types of routing metrics are prone to producing load oscillations?
  9. Explain in words (no equations) what the memoryless property of a random, exponentially distributed lifetime is.
  10. What does UDP provide in addition to those services contained in IP?
  11. What is the difference between congestion avoidance and congestion control?
  12. How does TCP guarantee that new connections do not receive segments from previous incarnations of the connection?
  13. Describe the responsibilities of hosts and routers using DECbit to avoid congestion.
  14. Give an argument why the leaky bucket algorithm should allow just one packet per tick, independent of how large the packet is.
  15. What is the purpose of the protocol field in the IPv4 header?
  16. List five services demanded by many applications but not provided by IP (nor typically provided by user-level code).
  17. Explain the fundamental conflict between tolerating burstiness and controlling network congestion.
  18. Why does TCP begin by multiplicatively increasing its congestion window? What is "slow" about this approach?
  19. Having ARP table entries time out after 10 -15 minutes is an attempt at a reasonable compromise. Describe the problems that can occur if the timeout value is too small or too large.
  20. Give an example of scheduling discipline that is not work-conserving.
  21. An approach to building special purpose hardware for massive high-speed switching fabrics is to use a Batcher sorting network followed by a self routing Banyan network. Why is the Batcher network included?
  22. How does IP limit messages to 64 kB in the common case? Why does IPv6 provide for longer messages?
  23. Why doesn't the adaptive time out mechanism of TCP update EstimatedRTT in case an ACK is received for a segment that was retransmitted?
  24. If all the links in the Internet were to provide the reliable-delivery service, would the TCP reliable-delivery service be completely redundant? Why or why not?
  25. What aspect of DVMRP makes it unattractive for sparse groups?
  26. With Go-Back-N, is it possible for the sender to receive an ACK for a packet that falls outside of its current window?
  27. Give two reasons why the extension header mechanism in IPv6 is superior to the options list in IPv4.
  28. Why does TCP use a 32-bit sequence number space instead of calculating a tighter bound based on RTT and link speed? Assume that complexity is minimal and that saving two bytes of header space {for example) is worthwhile.
  29. Explain what ―fair‖ means for flows traversing a router.
  30. Why does reverse path broadcast assign parent routers to each LAN?
  31. What is the triangle routing problem that arises in Mobile IP, and how can it be addressed.
  32. Ethernet frames must be at least 64 bytes long to ensure that the transmitter is still going in the event of a collision at the far end of the cable. Fast Ethernet has the same 64 byte minimum frame size, but can get the bits out ten times faster. How is it possible to maintain the same minimum frame size?
  33. Explain the relationship between physical distance and end-to-end latency in a TCP connection.
  34. Under what circumstances does TCP Vegas increase its window size?
  35. Recall that with multicast tunneling, we said that an IP multicast datagram is carried inside of an IP unicast datagram. How does the IP router at the end of the multicast tunnel know that the unicast datagram contains an IP multicast datagram (as apposed to simply being an IP unicast datagram that should be forwarded along)?
  36. TCP waits until it has received three duplicate ACK before performing a fast retransmit. Why do you think the TCP designers chose not to perform a fast retransmit after the first duplicate ACK for a segment is received?
  37. What does a host do when it receives an ARP from an unknown host to a second unknown host?
  1. How can ARP be used to redirect traffic for a given host? Give pros and cons of such a technique.
  2. Explain the hidden terminal problem and how it is solved.
  3. Give the major reason why TCP does not behave well in wireless environments.
  4. In queueing theory, explain why the arrival rate, , must be less than the service rate, .
  5. Name and describe the type of multiplexing traditionally employed in data networks.
  6. Define the Hamming distance of an encoding.
  7. In the Perlman distributed spanning tree algorithm, why does the root bridge periodically send messages even after the tree is determined?
  8. Why does Ethernet have a minimum packet size? How is it determined?
  9. What is the difference between a cumulative and a selective acknowledgement?
  10. In a sliding window protocol, explain why would you ever use an RWS that is not equal to the SWS.
  11. Why does Ethernet used fixed time slots during backoff? What could go wrong if the fixed slots were not used?
  12. Cell switching methods essentially always use virtual circuit routing rather than datagram routing. Give a specific argument why this is so.
  13. Define the process of routing.
  14. Describe the problem solved by sliding window based ARQ protocols.
  15. Describe the problem solved by reliable transmission.
  16. Describe two ways in which the topology of the Internet has evolved over the last ten years. 106.107. Draw a protocol graph for the Internet, including at least the following: ATM, Ethernet, FDDI, FTP, HTTP, IP, TCP, TFTP, and UDP. 107.108. Explain a drawback of forwarding packets with source routing. 108.109. Explain the main bottleneck for sending short and long messages. 109.110. Explain the main drawback of the stop-and-wait ARQ algorithm. 110.111. What delay is relevant and what bandwidth is relevant for computing the delay-bandwidth product of two links in series? 111.112. Why does Ethernet use binary exponential backoff during contention resolution? 112.113. Why does reverse path broadcast assign parent routers to each LAN? 113.114. Why does TCP use a 32-bit sequence number space instead of calculating a tighter bound based on RTT and link speed? Assume that complexity is minimal and that saving two bytes of header space {for example) is worthwhile. 114.115. With the selective repeat protocol, is it possible for the sender to receive an ACK for a packet that falls outside of its current window? 115.116. What is the role of the NAV in IEEE 802.11? 116.117. In Token Ring networks, why would we want to emulate a shared medium with point-to-point links? 117.118. Explain two methods of solving the problem of communicating between machines with mixed endianness on a network. 118.119. Explain why a CSMA/CD type protocol cannot be used in a wireless environment. 119.120. How do sniffers work? Will they work on all networks?