Download as pdf or txt
Download as pdf or txt
You are on page 1of 1

ConcepTest 2 – UDP and Stop-and-Wait protocol

Q1. What does UDP do when it detects an error on a received segment?


A) It uses the control information in the header to correct and recover from the
error.
B) It discards the segment and does not do anything about it.
C) It discards the segment and sends a reply segment to the sender to request for
correction.
D) It discards the segment and reports to upper application (via the socket).
E) Don't know.
Q2. Find the Internet Checksum for the following bit sequence 1001 0011 1001 0011, 1001
1000 0100 1101.
A) 1101 0100 0001 1111
B) 1101 0100 0001 1110
C) 0010 1011 1110 0000
D) 1001 0101 1111 0000
E) None of the above
Q3. This question is related to rdt2.2 - Channel can corrupt bits but without packet loss and
reorder.
After transmitted a packet with seq# 1, the sender received an ACK with seq# 0. This is
triggered by:
A) a delay ACK from previous transmission.
B) the receiver received a packet with seq# 0.
C) the receiver received a packet with seq# 1.
D) the receiver received a corrupted packet with seq# 1.
E) None of the above.
Q4. This question is related to rdt3.0 - Channel can corrupt bits and/or lose packets.
The sender sent out a packet with seq# 1, but could not receive the ACK before the
timeout timer expired. It retransmitted current packet and received an ACK (with seq#
1) afterwards. Is this ACK triggered by:
A) the receiver received the 1st packet with seq# 1.
B) the receiver received the retransmitted packet.
C) the receiver received both packets.
D) Don't know.
Q5. (2007/08 Exam) Consider the Stop-and-wait protocol (rdt3.0). A channel has a bit rate of
256 Kb/s and propagation delay of 50 ms. To achieve an efficiency of at least 50 percent,
what is the size of the data packet? Assume the size of the ACK packet is very small.
A) Don’t know
B) 51.2×103 bits
C) 25.6×103 bits
D) 12.8×103 bits

You might also like