1/44
Looks like no tags are added yet.
Before sending a packet into a datagram network, the source must determine all links the packet will traverse. True or False?
False
Layers 4 and 5 of the Internet protocol stack are implemented in end systems but not in routers in the network core. True or False?
True
Twisted-pair copper wire is no longer present in computer networks. True or False?
False
HTTP was invented at Netscape in the early 1990s. True or False?
False
The Internet provides applications two types of services, a TDM service and an FDM service. True or False?
False
With ADSL, each subscriber gets more downstream bandwidth than upstream bandwidth. True or False?
True
Two links in a path, 100 Mbps and 10 Mbps, only the source sends traffic. Throughput for a large file transfer?
10 Mbps (the bottleneck link)
10 connections share a 1 Gbps link and client access links are 5 Mbps each. Max throughput per connection is 100 Mbps. True or False?
False (limited by the 5 Mbps access link)
30 Mbit file, all links 10 Mbps, one link, sent as one packet. Transmission delay?
3 seconds (30 Mbit / 10 Mbps)
30 Mbit file, 10 Mbps link, propagation speed 2x10^8 m/s, distance 10,000 km, one packet. End-to-end delay?
3.05 seconds (3 s transmission + 0.05 s propagation)
5 users share a 10 Mbps channel, each averages 2 Mbps and sends at 2 Mbps when transmitting. Circuit or packet switching?
Circuit switching
5 users share a 10 Mbps channel, each averages 2.1 Mbps and sends at 15 Mbps when transmitting. Circuit or packet switching?
Neither works well (overload, average total 10.5 Mbps exceeds 10 Mbps)
5 users share a 10 Mbps channel, each averages 0.21 Mbps and sends at 15 Mbps when transmitting. Circuit or packet switching?
Packet switching
What are the five Internet protocol layers from top to bottom?
Application, transport, network, link, physical
Processing delay is
Time to check integrity, look up packet info in a local table, and move the packet from input link to output link in a router
Propagation delay is
Time for bits to physically travel through the medium from one end of a link to the other
Queueing delay is
Time spent waiting in packet buffers for link transmission
Transmission delay is
Time spent pushing the packet's bits onto the link (L/R)
Routing vs forwarding
Forwarding is the local action of moving a packet from a router's input link to the right output link. Routing is the global action of determining source-to-destination paths
In a virtual-circuit packet-switched network, a packet switch maintains state information for each connection passing through it. True or False?
True
3 links, each 1 Mbps with 1 ms propagation delay, packet is 1000 bits, store-and-forward. End-to-end delay?
6 ms (3 x 1 ms transmission + 3 x 1 ms propagation)
Ethernet is a popular residential Internet access technology. True or False?
False
SMTP is used to
Transfer messages from one mail server to another
Packets of length L arrive every 1/a seconds to a queue before a link of rate R. Queueing delay is small and bounded as long as aL < R. True or False?
True
BitTorrent: which is true? (A) A may upload to B even if B sends nothing to A. (B) A peer with 50 TCP connections sends to fewer than 10 peers at a time. (C) A peer requests the rarest chunks first.
All of the above
A browser generates header lines as a function of
All of the above (browser type and version, user configuration, and whether it has a cached copy of the object)
DNS resource record with Type=MX means
Value is the hostname of the mail server that has the alias hostname Name
Client sends HTTP request with If-modified-since and the object has not changed. Status code in the response?
304 Not Modified
P2P distribution: server upload 10 Mbps, 100 peers each uploading 1 Mbps and downloading 10 Mbps, file is 100 million bits. Minimum distribution time?
Approximately 100 seconds (NF/(u_s + sum of u_i) is about 91 s)
Local DNS name servers
Cache resource records but discard them after a period on the order of a few days
Cache hit rate 0.5, cache response 10 ms, origin server response 1.2 s. Average delay (per Moodle answer key)?
Between 1.0 and 1.1 seconds (per Moodle key, check this one)
With SMTP, it is possible to send multiple mail messages over the same TCP connection. True or False?
True
In this textbook API stands for Advanced Performance Internet. True or False?
False (it is Application Programming Interface)
Sender to router link is 1.5 Mbps and router to receiver link is 10 Mbps. Max throughput?
1.5 Mbps (the bottleneck link)
Packet is 1500 bytes and the link is 1 Gbps. Transmission delay?
0.000012 seconds (12000 bits / 10^9 bps)
UDP segments from different clients sent to the same destination port at a host always go to the same socket. True or False?
True (UDP demultiplexing uses only the destination port)
Host A sends a large file to B over TCP and B has no data to send. B will not send ACKs because it cannot piggyback them. True or False?
False (B sends ACK-only segments)
Can two TCP segments with source port 80 be sent by a host to different clients?
True (TCP demultiplexing uses the 4-tuple of source/destination IPs and ports)
HTTP server with persistent connections spawns a process per client. Each process has a different server port number. True or False?
False (they all use the same server port, e.g. 80)
Where is transport-layer functionality primarily implemented?
At the hosts at the edge of the network
The transport layer provides host-to-host delivery service. True or False (per Moodle key)?
True (per Moodle key, though the textbook usually says transport is process-to-process)
Can two UDP segments from the same socket with source port 5723 at a server go to two different clients?
True (the app specifies destination IP and port on each send)
Transport-layer demultiplexing means
Receiving a segment from the network layer, extracting the payload, and delivering the data to the correct socket
TCP applies fast retransmit to a segment when
It receives three ACKs for an earlier segment (triple duplicate ACK)
A sends two TCP segments, B ACKs both, first ACK is lost, second ACK arrives before the first segment's timer expires. What does A retransmit?
Neither segment (cumulative ACK covers both)