Computer Science > EXAM > University of California, IrvineEECS 148eecs148-final-f13-sol (All)

University of California, IrvineEECS 148eecs148-final-f13-sol

Document Content and Description Below

Introduction to Computer Networks Fall 2013 CompSci 132/EECS148 Final Exam (Friday, Dec. 13th, 2013, 1:30-3:30pm) Open books, open notes. Computers and cellphones should be turned off. Student’... s Last Name: Student’s First Name: Student ID: Email: Problem # Points Out of Total 1 20 2 20 3 30 3 30 Total 100 Academic Honesty Policy: I agree to abide by the UCI Academic Senate Policy on Academic Honesty (Appendix VIII.B), which specifies that students have responsibility for: 1. Refraining from cheating and plagiarism. 2. Refusing to aid or abet any form of academic dishonesty. 3. Notifying professors and/or appropriate administrative officials about observed incidents of academic misconduct. The anonymity of a student reporting an incident of academic dishonesty will be protected. Student’s Signature: GOOD LUCK! 11. (20 Points) TCP. Consider the following plot of TCP window size as a function of time (counted in number of RTTs). The coordinate of each turning point has been marked in the plot. ! (a) (5) Identify the intervals of time when TCP slow start is operating. What is the respective SSThres (slow start threshold) in TCP congestion control? Answer:(0,4.5) and (13, 16). The SSThres are 25 and 16, respectively. (b) (2 Points) Identify the interval(s) of time when TCP congestion avoidance is operating. What is the respective SSThres? Answer:(4,5, 12). The SSThres is 25. (c) (3 Points) How many segments are lost from time 0 to 16? Answer: 1 (d) (10 Points) Assume that no packet is lost during time 16-26. Complete the TCP congestion window curve from time 16 to 26. Answer:The critical information in the curve was the y-coordinate of the turning point in what you add, which is the indicator of the SSThres. 22. (20 Points) Random Access Protocols. Consider hosts A,B,C that transmit on a shared medium, using a random access protocol. Each host has exactly one frame to send, with transmission time = 14 time units. Host A wants to transmit at time t = 0. Hosts B,C both want to transmit at time t = 7, as shown in the figure below. Time is slotted and all hosts are synchronized to the clock. 4 Frame transmission: 14 time units 0 14 28 A B, C 7 Time Frames arriving from higher layers If needed to make randomized decisions, each host has access to the following sequence of random numbers, drawn uniformly at random between 0 and 1: • Station A draws numbers: 0.45, 0.11, 0.71.... • Station B draws numbers: 0.10, 0.65, 0.91.... • Station C draws numbers: 0.83, 0.41, 0.25 .... The numbers must be used in the sequence they are provided and each random number must be used only once. You can decide to use these random numbers to make randomize decisions as you like, as long as you state your rule. A commonly used rule is the following: given a random number r 2 [0; 1], if you want to choose among N points, the point chosen is the kth point (1 ≤ k ≤ N) where k = drNe. (Example 1: if you want to flip a fair coin you can use the random numbers as follows: r ≤ 0:5 means Heads, r > 0:5 means tails. Example 2: if you try to pick one slot randomly out of two slots total: same, as before. Example 3: if you try to pick one slot randomly out of four slots total, you can do the following: 0 ≤ r < 0:25, 0:25 ≤ r < 0:5, 0:5 ≤ r < 0:75, 0:75 ≤ r < 1 can correspond to the first, second, third or fourth timeslot.) You can use the same random numbers for both questions (a) and (b). (a) (9 Points) Consider that nodes run a Slotted Aloha protocol, where the time slot equals the fixed duration of each frame =14 time units; i.e., slots start at time 0; 14; 28; ::: etc. Show all transmissions that take place according to the Slotted Aloha Protocol, until all three frames are successful. Answer: B and C start transmitting in the next slide they arrive. This will result in a collision in the second slot. C flips a coin for transmitting in the next slide and succeeds. B on the other hand fails in the first try and succeeds in the second try. Therefore it will transmit in 2 slots after collision. (b) (9 Points) Consider a CSMA/CD protocol with negligible propagation delay. This means that all stations can detect very quickly whether there is a collision, let’s say 3 [Show More]

Last updated: 2 years ago

Preview 1 out of 5 pages

Buy Now

Instant download

We Accept:

We Accept
document-preview

Buy this document to get the full access instantly

Instant Download Access after purchase

Buy Now

Instant download

We Accept:

We Accept

Reviews( 0 )

$11.00

Buy Now

We Accept:

We Accept

Instant download

Can't find what you want? Try our AI powered Search

79
0

Document information


Connected school, study & course


About the document


Uploaded On

Jun 08, 2021

Number of pages

5

Written in

Seller


seller-icon
d.occ

Member since 4 years

232 Documents Sold

Reviews Received
30
8
4
1
7
Additional information

This document has been written for:

Uploaded

Jun 08, 2021

Downloads

 0

Views

 79

Document Keyword Tags


$11.00
What is Scholarfriends

In Scholarfriends, a student can earn by offering help to other student. Students can help other students with materials by upploading their notes and earn money.

We are here to help

We're available through e-mail, Twitter, Facebook, and live chat.
 FAQ
 Questions? Leave a message!

Follow us on
 Twitter

Copyright © Scholarfriends · High quality services·