Powered By Blogger

Senin, 31 Oktober 2011

jarkom

a) What are the basics tasks of a communications system?
0.25 each and round-up (2 pts total)
Message formatting, error detection and recovery, addressing, routing, flow control, system management,
security, and QoS

b) What are the fundamental challenges to improve communications systems (hint: think about the fundamental
measures of a communications system)?
0.25 each and round-up (2 pts total)
Greater throughput, less delay, less loss, lower cost, more mobility, greater robustness, and better secrecy

c) Think about the OSI reference model and the 5-layer Internet reference model we are using in this class.
Identify what is different between these two models (be more specific than just saying “two layers”!).
1 each layer noted (2 pts total)
The key difference is that the 5-layer Internet model does not have the presentation and session layers found in the OSI model. Otherwise the models are essentially the same.

d) In the 5-layer Internet reference model which layers handle point-to-point functions and which layers handle
end-to-end functions?
0.5 each and round-up (2 pts total) Note: Will accept layer 3 as point-to-point
Layers 1 and 2 are point-to-point and layers 3 and 4 are end-to-end.

e) Is sockets a protocol or interface? Carefully explain why.
1 each for key point (2 pts total)
An interface is a complete set of rules for information exchange between adjacent layers in a single site – and this
is the function that sockets provides as an applications programming interface (API) where the underlying protocol
is TCP or UDP. So, sockets is an interface.

f) What problems do Information Theory and Coding Theory address? In what department are these areas
typically studied.
1 each (2 pts total)
Information theory deals with the channel itself to determine the maximum capacity of the channel. Coding theory
is the study of coding techniques for the channel (to achieve high data rate approaching the maximum capacity).
Information Theory and Coding Theory are usually studied in Electrical Engineering.

Problem #2
Answer the following general questions, each question requiring some simple calculation:
a) Consider a 100 meter 100 Mb/s Ethernet link transporting 1500 byte frames. What is the transmission delay
for a frame? What is the approximate propagation delay of this link? Which delay dominates for this link?
2 for each delay (4 pts total)
A meter is roughly 3 feet. Signal propagates about 1 foot in 1 nanosecond, so the propagation delay is about 300
nanoseconds. The transmission delay is 12000 bits per frame divided by 10 million bits per second, which is 120
microseconds per frame. The transmission delay is about 3 orders of magnitude greater than the propagation
delay.

b) Consider a buffer with 100 packets queued, each packet is 1500 bytes in length. The buffer is for an
intermediate node with a 100 Mb/s egress (output) link with no throttling. How long will it take for all
packets to be transmitted (that is, for the buffer to empty out)?
2 for each calculation (4 pts total)
The transmission delay is 12000 bits per frame divided by 10 million bits per second, which is 120 microseconds
per frame. The last frame in the queue must wait for 100 transmissions, so 100 x 120 microseconds is 12
milliseconds.

c) It is about 2500 miles to Seattle from here. Is the round-trip-time from here to Seattle and back (assuming
no queueing delays) greater or less than the human perception threshold?
2 for each calculation (4 pts total)
Signal propagates about 1 foot in 1 nanosecond, there are 5280 feet in a mile, so roughly 5 microseconds delay
per mile. Thus, 5000 miles (2500 miles there and back) is about 25 milliseconds, this is less than the human delay
threshold of about 100 milliseconds (so, the RTT from here to Seattle will appear “instantaneous”).

Problem #3
Answer the following questions regarding the Application Layer.

a) An application layer protocol typically defines four things. What are these four things?
1 pt each (4 pts total)
Types of messages, syntax of messages, semantics of messages, and timing (when and how).

b) What are ping and traceroute used for? Describe the output from each program.
2 each (4 pts total)
Ping is used to determine the presence (liveliness) of a remote host and the RTT to this host. The output is “host
not found” (if the host is not there) or a list of RTTs for each ping packet sent. Traceroute is used to determine the
hops (by IP address) from a source to a destination. For each hop listed, three sample RTTs are reported

c) 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?
2 pt each subquestion (4 pts total)
A web cache may be used to reduce response time as experienced by a user, reduce load on a link, and/or
reduce load on a web server. A web cache may be placed in the user client (e.g., within the browser application),
at “my” network edge (we call this a proxy server), and/or at the edge of the network containing the server (we call
this a transparent cache).

d) What is DNS and what is it used for? If all DNS servers could be “crashed” (taken offline), what would
happen to the Internet (be precise).
2 pts each for DNS use and for “what would happen” (4 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. 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.

Tidak ada komentar:

Posting Komentar