2013 Final Exam Solution



Download 339.16 Kb.
View original pdf
Page5/6
Date13.12.2022
Size339.16 Kb.
#60116
1   2   3   4   5   6
ECE 374 Spring 2013 Final Exam Solutions
ECE374: Final 8

d. (3 Points) Consider a video streaming systems for which there are N video versions (at N different rates and qualities) and N audio versions (at N different rates and versions. Suppose we want to allow the player to choose at anytime any of the N video versions and any of the N audio versions.
a. If we create files so that the audio is mixed in with the video, so the server sends only one media stream at a given time, how many files will the server need to store (each been accessed via a different URL
Answer: N*N = N
2

b. If the server instead sends the audio and video stream separately and has the client synchronize the streams, how many files will the server need to store
Answer: N+N = Ni ie. (3 Points) Suppose we send into the Internet two IP datagrams, each carrying a different UDP segment. The first datagram has source IP address A, destination IP address B, source port P, and destination port T. The second datagram has source IP address A, destination IP address B, source port P, and destination port T. Suppose A and A are different and that Pis different from P. Assuming that both datagrams reach their final destination, will the two UDP datagrams be received by the same socket Why or why not?
Answer: As discussed in Chapter 2, UDP sockets are identified by the two-­‐tuple
consisting of destination IP address and destination port number. So the two
packets will indeed pass through the same socket.


ECE374: Final
9
Problem 4: LAN Potpourri (24 Points, 20 minutes)
In this problem we are looking in the day in the life of a web request scenario. Please refer to Figure 3 for this problem. a) (8 Points) For the initial step we assume that the connecting laptop needs to get its own IP address, the address of the first hop router, and the address of the DNSserver. Describe in detail, how this is achieved by using the DHCP protocol. b) (8 Points) Before the client can send out an HTTP request to www.google.com it has to obtain the IP address for that hostname via DNS. Describe in detail, how the DNS request is performed. Keep in mind the client does not yet no the MAC address of the first hop router interface c) (8 Points) After the client has retrieved the IP address, it can finally send out the HTTP request. First describe how the TCP connection is setup and then describe how the HTTP request is being performed.

Download 339.16 Kb.

Share with your friends:
1   2   3   4   5   6




The database is protected by copyright ©ininet.org 2024
send message

    Main page