CS 352 Exam 1

Spring 2013

    Part I – 12 Points

  1. 4 points
    A circuit switched network does not need to use store and forward delivery when going through routers. Assume that processing delays are negligible and queuing delays nonexistent. The propagation time per link is P. The transmission rate is R bits per second and the average packet size is L bits. What is the end-to-end delay of a circuit-switched communication link where the packet has to pass through N network links?
  2. 4 points
    Can packet loss occur on a packet-switched network where every single link ensures reliable data transmission? Explain.
  3. 4 points
    What information does a root DNS name server provide?
  4. PART II – 78 points – 3 points each

    For each statement, select the most appropriate answer.

  5. A unicast message is a message that
    (a) Must be acknowledged upon receipt.
    (b) Is delivered to multiple destinations.
    (c) Is delivered reliably with no retransmissions.
    (d) Is delivered to a single destination.
  6. One design for a reliable, in-order packet delivery system is to ensure that a sender does not transmit the next packet until it receives an acknowledgement that the previous packet has been received at the destination. Assume the sender transmits lots of small packets and that an acknowledgement message is approximately the same size as a data packet. Also assume a packet-based network with packets flowing through three routers. This technique will make communications slower by approximately a factor of:
    (a) 2
    (b) 3
    (c) 6
    (d) 8
  7. Which of the following is not a core design principle of the Internet?
    (a) Support the interconnection of multiple networks.
    (b) Design the system with the assumption that the network is not reliable.
    (c) Routers can be stateless; they should not have to retain information on the flow of previous packets.
    (d) The entire network should be centrally administered for full end-to-end control.
  8. A peering agreement among two Internet Service Providers (ISPs) means
    (a) One ISP can take over for another ISP in case of failure.
    (b) The ISPs share the same set of customers.
    (c) One ISP routes all its data through the other ISP.
    (d) The ISPs route data between their networks without charging each other.
  9. Frequency Division Multiplexing (FDM) means that a communication channel
    (a) Is assigned one specific frequency band.
    (b) Shares a frequency band with other channels and takes turns using it.
    (c) Hops between multiple frequency bands during the course of communication.
    (d) Has full use of the total bandwidth available in the communication medium.
  10. Circuit switching is more efficient than packet switching because
    (a) All participating routers figure out the route just once at the start of a communication session.
    (b) It uses the bandwidth of the network more efficiently.
    (c) It is done in hardware instead of software.
    (d) It is a data link versus a network layer protocol.
  11. Packet switching is more efficient than circuit switching because
    (a) All participating routers figure out the route just once at the start of a communication session.
    (b) It uses the bandwidth of the network more efficiently.
    (c) It is done in hardware instead of software.
    (d) It uses store-and-forward packet delivery through routers.
  12. Packet switching shares the network by having each transmitter
    (a) Take turns and use variable-size time slots.
    (b) Take turns and use fixed-size time slots.
    (c) Transmit on a specific frequency.
    (d) Split its transmission onto a range of frequencies.
  13. Assume that a satellite in geostationary orbit is approximately 40,000 km away. A signal travels at 3×108 m/s. The latency of a packet that has to be routed through a geostationary satellite is approximately
    (a) 133 ms
    (b) 267 ms
    (c) 133 µs
    (d) 267 µs
  14. Propagation delay is
    (a) The time it takes to transmit a packet out onto the communication link.
    (b) The time it takes a signal to flow from one end of the communication link to the other.
    (c) The delay that is incurred when a packet has to wait for the communication link to be available.
    (d) The delay of moving a packet from the input port of a router to the outbound link.
  15. A sustained traffic intensity greater than 1 means
    (a) Some packets may need to be queued for transmission.
    (b) The queue on a router will grow without bound and packet loss will occur.
    (c) Packets are capable of going out faster than they are coming in.
    (d) Transmission delay will dominate over queuing delay when measuring overall latency.
  16. An IP router operates at the
    (a) Transport layer.
    (b) Network layer.
    (c) Physical layer.
    (d) Data Link layer.
  17. Which protocol layer is not implemented in the IP protocol stack and must be handled at the application layer?
    (a) Transport.
    (b) Session.
    (c) Data link.
    (d) Network.
  18. A peer-to-peer application architecture is one that
    (a) Does not use a central server.
    (b) Allows multiple clients to connect to a server at the same time.
    (c) Supports loss-tolerant applications.
    (d) Relies on computers instead of routers to relay messages.
  19. A TCP connection means that
    (a) The application sees a bidirectional communication channel.
    (b) Routers commit to bandwidth guarantees for the connection.
    (c) All packets take the same route to their destination.
    (d) The network will ensure that all data flowing on the connection has a constant latency.
  20. Which system call waits for an incoming TCP connection?
    (a) accept
    (b) listen
    (c) bind
    (d) wait
  21. Which of the following is not an advantage of a multithreaded program?
    (a) Threads have their own protected memory but can send messages to each other.
    (b) Threads take advantage of multicore processors.
    (c) Threads process multiple requests concurrently.
    (d) Threads make data sharing easy.
  22. A race condition occurs when
    (a) The outcome of a program is based on the exact order in which concurrent events execute.
    (b) One tread is blocked by another thread.
    (c) One thread is always scheduled at a higher priority than another thread.
    (d) Two or more threads compete for exclusive access to the same data.
  23. A Regional Internet Registry (RIR)
    (a) Keeps track of the database of domain names for a geographic region.
    (b) Allocates IP addresses within a geographic region.
    (c) Provides Internet service to ISPs within a geographic region.
    (d) Is a database of all ISPs in a geographic region.
  24. Iterative name resolution means that a name server will
    (a) Contact a top-level name server, which will then contact a lower-level name server; that one will then query one further down the tree.
    (b) Contact a top-level name server, get a referral to a lower-level name server, query that one, get a referral for an even lower-level name server, and continue the process.
    (c) Iterate through a known list of name servers until it finds one that can resolve the name.
    (d) Start at the bottom of the domain tree and work its way up instead of starting at the top.
  25. Which protocol does not use a line-oriented, text-based protocol?
    (a) DNS
    (b) FTP
    (c) HTTP
    (d) SMTP
  26. How does a DNS resolver decide how long to cache the result of a DNS query?
    (a) The query returns an expiration time, from which the current time is subtracted to get the remaining time to cache.
    (b) The query returns a time to live value, which is the amount of time that the result can be cached.
    (c) The configuration of the DNS resolver defines cache sizes and duration.
    (d) The DNS resolver will never cache the result of a DNS query.
  27. An HTTP persistent connection is useful for
    (a) Not having to authenticate a user each time a new page is visited.
    (b) Downloading a page that has other content associated with it that needs to be downloaded.
    (c) Enabling access to cached copies of a page.
    (d) Allowing cookies to persist from page to page.
  28. Which of the following is a push protocol?
    (a) HTTP
    (b) SMTP
    (c) IMAP
    (d) POP3
  29. Which protocol sends commands and data over two separate communication channels?
    (a) IMAP
    (b) FTP
    (c) SMTP
    (d) HTTP
  30. Which operation is not supported in IMAP?
    (a) List messages.
    (b) Send a message.
    (c) Download a message.
    (d) Move a message to a folder.
  31. PART III – 10 points – 2 points each

    For each statement, specify whether it is true or false by circling the correct choice.
  32. To send an IP packet on an Ethernet link, the IP message has to be encapsulated in an Ethernet packet.
    [True] [False]
  33. A generic top-level domain (gTLD) is beneath a country code top-level domain (ccTLD) in the DNS hierarchy.
    [True] [False]
  34. When you register a .com domain name with GoDaddy, it has to first check with every other other .com domain registrar to see if the domain name is already registered.
    [True] [False]
  35. A DNS resolver has to be able to accept a recursive query request from a client
    [True] [False]
  36. Passive mode FTP avoids the problem of a server having to connect to the client.
    [True] [False]