




Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!





The class midterm examination will be held in 2405 SC from 7:00 to 9:00 p.m. on Wednesday March 7 th. The exam will begin and end promptly. Please arrive before 7:00 to allow everyone to settle into their seats 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 Tuesday March 4th.
You may not consult any materials during the exam: no textbooks, no crib sheets, no calculator, etc.
The midterm will contain three to four parameterized problems and a set of short-answer questions. About half the total points on the exam will be for each type of problem. Each parameterized problem will consist of multiple parts, and all parameterized problems will carry approximately equal weight overall, but may break down unevenly amongst the parts. The short-answer questions require you to explain or comment on a topic relevant to the course in twenty-five words or less.
The problems and questions on the midterm will all be variants of some of the problems and questions that are either on this study guide or were in problem sets 1-3.
On the midterm, 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. All short-answer questions must be stated in twenty-five words or less; longer answers will be graded by looking at only the first 25 words of the answer. Be concise, but do not spend your time counting words.
You are entrusted with the design of a network to interconnect a set of geographically distributed hosts within your corporation. After some research, you narrow the options to two choices, a fiber-based token ring or a copper-based switched network. The pertinent statistics appear in the table below.
type fiber-based token ring copper-based switched network signal bandwidth 10 MHz 1 MHz signal-to-noise ratio at transmitter 20 dB 20 dB attenuation rate 1 dB/km 2 dB/km
The longest link in the network in either case is 10 km. (a) What link bandwidth is possible according to Shannon's Law i. for the fiber network? ii. for the copper network? (b) Assuming that hosts in the copper network can all transmit at their link rate (the values found in part (a)) simultaneously, roughly how many hosts are necessary for the networks to provide equal aggregate bandwidth (the sum of bandwidth for all hosts)? (c) Using the copper-based network with a 32-point QAM encoding, what modulation rate (baud) is necessary to obtain the bandwidth found in part (a)?
Use the CRC-8 generator polynomial x 8 +x 2 +x+1 for both parts of this problem.
(a) Calculate the CRC value of the bit sequence 0011 1100 0011. (b) Recall that error detection with a CRC works by appending a CRC value to the message to make it a multiple of the generator polynomial. Find a 12-bit burst error polynomial E(x) = x 11 + … + 1 that cannot be detected by a CRC check (with CRC-8).
This question concerns medium access control on a microwave network using carrier sense multiple access with collision detection (CSMA/CD, the algorithm used with Ethernet). The network consists of four hosts distributed as shown in the figure below. The microwaves are broadcast, and the signal travels directly along a line of sight from sender to all receivers. Assume that the signals propagate at the speed of light in a vacuum, 3 × 10 8 m/sec.
(a) If a transmitter sends at 1 Mbps, how long must packets be to guarantee collision detection by the transmitter?
(b) Divide time into slots the length of the maximum round-trip propagation delay in the network. One packet may be transmitted each time slot. Assume that each of the four hosts attempts to transmit with probability p in each time slot. What is the probability of a successful transmission in any given slot if i. p = ¼? ii. p = ½? iii. p = ¾?
(c) Using the minimum transmission length from part (a) and the probability of successful transmission from part (b)(ii) (for p = ½), calculate the average throughput of the network if each packet requires 20 bytes of header/trailer and i. 10 bytes of data, and ii. 50 bytes of data.
You are entrusted with the purchase of a workstation to serve as a switch between two high-speed local area networks (LAN's). One of the networks is an UltraRING, a 1 Gbps token ring LAN with 80 bytes of total overhead (headers and trailers) required for each frame. The other network is an OmniNet, a 1.3 Gbps Ethernet-like LAN with 100 bytes of overhead required for each frame. All packets sent on either network have exactly 1,000 bytes of data. After some research, you narrow the options to the two architectures described in the table below.
Name Admiral J9000 SPQ CPU handles 100,000 packets/second 60,000 packets/second Number of I/O buses 3 1 I/O bus bandwidth 480 Mbps 1 Gbps Memory bus bandwidth 2 Gbps 1.4 Gbps Price $10,000 $8,
(a) Pick one. Justify your decision, showing all work. (b) Draw a block diagram of the workstation architecture that you have chosen in part (a), labeling all components with appropriate names and data rates. (c) At the maximum sustainable bandwidth (i.e., with no packets dropped), what is the transmission rate - the total number of bits per second, including headers and trailers - sent over each network link?
A
B
D
C
40 km 51 km
57 km
90 km
54 km
57 km
(d) Given a go-back-n algorithm (with RWS=1), assume that data frames are received with probability p = 0.9 and that acknowledgements (ACK's) are always received (probability of 1). Further assume that the retransmission timeout used by the sender is a negligible amount of time longer than the round-trip time, implying that a packet is retransmitted as soon as the sender could possibly detect its loss on the previous transmission. Calculate the average transmission rate (in bits per second) achieved for long streams of data.
The Perlman spanning tree algorithm and the bridge learning algorithm for forwarding are used for the network shown below.
(a) Indicate which bridge is root, which ports are root ports (i.e., the preferred port for reaching the root bridge), which bridge is the designated bridge for each LAN, and which ports are designated ports (i.e., the ports that connect some LAN to its designated bridge). Hint: Bridges that are not designated bridges for any LAN, and ports that are neither root ports nor designated ports, do not play a role in the routing of packets. The remaining bridges, together with the LAN's, form a spanning tree. (b) After the spanning tree algorithm has settled, which switch transmits configuration messages onto LAN C? Which bridge(s) listen for such messages? Which bridge(s) forward such messages? Answer the same questions for LAN B. (c) Hosts Dick, Jane, and Spot send consecutive messages immediately after the configuration is complete (i.e., assume that each message crosses all necessary LAN's before the next message is sent). For each of the following three messages, indicate on which LAN's the message is heard. (i) Spot sends a message to Dick, (ii) Jane sends a message to Spot, and (iii) Dick sends a message to Jane. (d) Suppose a multicast group is formed with Dick Jane and as active members. After the forwarding tables at the bridges have settled, on what LAN's are messages for the multicast group heard?
Consider a data stream of 8-bit ASCII characters with values 0 to 255. Assume that the probability of a byte assuming each possible is equal (i.e., is exactly 1/256).
(a) Using the bit-stuffing protocol discussed in class, what is the average number of bits that must be stuffed (inserted) per byte in the stream? (b) Answer the same question posed in part (a) for a byte-stuffing protocol in which the DLE character (value 16) must be escaped by stuffing a second DLE byte. Now assume that the data stream contains only values in the range 32 to 127, again with a uniform probability distribution amongst the possible values.
(a) Recalculate your answer to part (a) with the new probability distribution. (b) Recalculate your answer to part (b) with the new probability distribution.
Consider a token ring with latency of 500 μsec. Answer for both a single active host and for “many” active hosts. For the latter, assume that there are sufficiently many hosts transmitting that the time spent advancing the token can be ignored. Assume a packet size of 1500 B (a) Assuming that the delayed token release strategy is used, what is the effective throughput rate that can be achieved if the ring has a bandwidth of 3 Mbps? (b) Assuming that the immediate token release strategy is used, what is the effective throughput rate that can be achieved if the ring has a bandwidth of 3 Mbps? (c) With delayed release, what is the effective throughout rate that can be achieved if the ring has a bandwidth of 100 Mbps? (d) With immediate release, what is the effective throughout rate that can be achieved if the ring has a bandwidth of 100 Mbps?