Docsity

Layered Protocol Stack - Quiz #1 - Computer Networks | CS 164, Quizzes of Computer Science

Toggle sidebar
bg1
QUIZ 1 - CS 164 – The glorious spring of 2007 by M. Faloutsos
There are 13 questions in 2 pages.
Answer all questions, read statements carefully. Don’t waste too much time on one question.
You HAVE to use the appropriate bubble sheets. If you don’t have it, raise your hand.
If several choices are correct, select the most inclusive answer ("all of the above").
Grading: 1 point for correct, 0 for wrong.
1. In the layered protocol stack,
a. the overall communication always works even if one layer does not work well
b. the layers work always together to resolve the problem that appears in one
c. the problems in one layer are hidden from the higher layers if they can be resolved there
d. if a problem appears in one layer, it is immediately communicated to the higher layers
through appropriate interfaces
2. The advantage of a layered protocol stack is that
a. if you need to change something, the change will be possibly contained in one layer
b. a higher layer protocol can use many different protocols from the layers below
c. the interaction between protocols at different layers is most of the times performed
through a clearly defined interface
d. all of the above
3. You unplug a cable between routers. Which layer becomes aware of and which will be
able to resolve the problem?
a. the data link and the network layer become aware, and the transport layer will resolve the
problem
b. the data link layer becomes aware, and the network layer will resolve the problem
c. the data link layer becomes aware and will resolve the problem
d. none of the above
4. The delay of a packet through a router can be decomposed in several different types of
delay. Which statement is correct:
a. The queueing delay of a packet is a function of the packet length
b. Transmission delay is a function of the physical distance between the sending and the
receiving node
c. Propagation delay depends on the packet length
d. None of the above
5. The IP prefix 128.11.0.0/24 represents the addresses
a. 128.0.0.0 to 128.255.255.255
b. 128.11.0.0 to 128.11.255.255
c. 128.11.0.0 to 128.11.0.255
d. none of the above
6. We can use Shannon's theorem to calculate
a. the physical length of the channel
b. how strong the signal must be with respect to the noise in order to achieve a certain
capacity for a given channel
c. the optimal encoding method to maximize the capacity of the link
d. none of the above
pf2

Partial preview of the text

Download Layered Protocol Stack - Quiz #1 - Computer Networks | CS 164 and more Quizzes Computer Science in PDF only on Docsity!

QUIZ 1 - CS 164 – The glorious spring of 2007 by M. Faloutsos

There are 13 questions in 2 pages. Answer all questions, read statements carefully. Don’t waste too much time on one question. You HAVE to use the appropriate bubble sheets. If you don’t have it, raise your hand. If several choices are correct, select the most inclusive answer ("all of the above"). Grading: 1 point for correct, 0 for wrong.

  1. In the layered protocol stack, a. the overall communication always works even if one layer does not work well b. the layers work always together to resolve the problem that appears in one c. the problems in one layer are hidden from the higher layers if they can be resolved there d. if a problem appears in one layer, it is immediately communicated to the higher layers through appropriate interfaces
  2. The advantage of a layered protocol stack is that a. if you need to change something, the change will be possibly contained in one layer b. a higher layer protocol can use many different protocols from the layers below c. the interaction between protocols at different layers is most of the times performed through a clearly defined interface d. all of the above
  3. You unplug a cable between routers. Which layer becomes aware of and which will be able to resolve the problem? a. the data link and the network layer become aware, and the transport layer will resolve the problem b. the data link layer becomes aware, and the network layer will resolve the problem c. the data link layer becomes aware and will resolve the problem d. none of the above
  4. The delay of a packet through a router can be decomposed in several different types of delay. Which statement is correct: a. The queueing delay of a packet is a function of the packet length b. Transmission delay is a function of the physical distance between the sending and the receiving node c. Propagation delay depends on the packet length d. None of the above
  5. The IP prefix 128.11.0.0/24 represents the addresses a. 128.0.0.0 to 128.255.255. b. 128.11.0.0 to 128.11.255. c. 128.11.0.0 to 128.11.0. d. none of the above
  6. We can use Shannon's theorem to calculate a. the physical length of the channel b. how strong the signal must be with respect to the noise in order to achieve a certain capacity for a given channel c. the optimal encoding method to maximize the capacity of the link d. none of the above
  1. If the delay bandwidth product of a link is high, I can confidently say that: a. I can transmit only a few bits at a time b. The transmission delay is very high c. The link delay is proportional to the link bandwidth d. I can transmit many bits before any of them reaches the destination
  2. In the Ethernet protocol, when the link layer gets a new packet from the network layer, a. if the channel is busy, it will wait for a random amount of time and then check again b. it will try to send the packet immediately c. it will try to send the packet immediately, if the channel is free d. it will try to send the packet immediately only if it is guaranteed that no collision will happen
  3. In the Ethernet protocol, when a collision happens for packets from two nodes, a. it is detected by both senders b. both senders continue to send for a bit to let everyone know of the collision c. senders back-off, and the sender who has many consecutive collisions will have to wait longer on average d. all of the above
  4. In the Ethernet back-off algorithm, the sender that experienced a collision will a. wait for a deterministically fixed amount of time before trying to retransmit b. wait until the channel is free and then try to retransmit right after c. wait on the average double the amount of time it waited in the last collision d. none of the above
  5. The Internet can scale to millions of users, because of the following properties a. the IP addresses are hierarchically allocated and thus they can be aggregated b. the routers do not keep state per connection c. the operation of the network is distributed and decentralized d. all of the above
  6. The meaning of "memoryless" in an M/M/1 system (of customer arrivals) means that: a. the expected time of the next arrival does not depend on when was the last arrival b. we do not know what was the state of the system before the latest arrival c. what happened in the past has no effect on my current state d. none of the above
  7. Your doctor sees 60 people in 2 hours on average in the steady state. You spent 20 min waiting in the lobby, and when you see your doctor, she tells you that you waited roughly the average time that someone waits in the lobby. What is the most likely number of people that where in the lobby when you entered? (You can assume that it is an M/M/1) a. 30 people b. 20 people c. 15 people d. 10 people