Computer Science 826 Quiz 5 - Name ________________________ 1. We discussed reasons why constructing an efficient and reliable transport protocols above IP is more difficult than constructing an efficient and reliable point-to-point datalink protocol. Identify two of them: 1 - 2 - 2. The TCP protocol is a transport protocol that is a. Connection-less and b. Connection-less and reliable. unreliable. c. Connection-oriented and d. Connection-oriented and reliable. unreliable. 3. Functions that TCP must perform include a. Detect and discard b. Reorder data that is received duplicated data out of order c. Both of the above. d. Neither of the above. Suppose a 3 way handshake is being used to establish a connection. Let SYN1 represent a packet that carries SYN and no ack. Let SYN2 represent a packet that carries both SYN and ACK that is sent in response to a SYN1 4. A delayed duplicate SYN1 received in the CLOSED / LISTEN state is a. detected because of wrong b. Detected because of wrong ACK SEQ number. number. c. Undetected and responded d. Responded to with a SYN 1. to with a SYN2. 5. A delayed duplicate SYN1 received the SYN sent state is: a. Detected because the b. Detected because SYN1 is SEQ number is wrong. unexpected in the SYN sent state c. Detected because the d. Undetected and responded to ACK number is wrong. with an SYN2 6. A delayed duplicate SYN2 received the SYN sent state is: a. Detected because the b. Detected because SYN1 is SEQ number is wrong. unexpected in the SYN sent state c. Detected because the d. Undetected and responded to ACK number is wrong. with an SYN2 7. A delayed duplicate SYN1 received in the ESTABLISHED state is: a. Responded to with RESET. b. Responded to with a data packet specifying current ACK and SEQ. c. Responded to with SYN2 d. Responded to with SYN1. 8. The sequence of states through which a client passes when a client initiates a close is: a. Close-wait, last-ack, b. Fin-Wait-1, Closing, Time-Wait Closed Closed c. Fin-Wait-1, Fin-wait-2 d. Close-Wait, Last-Ack, Closed Time-wait, Closed 9. The sending of a packet with the "FIN" bit set indicates that a. No more data will be b. No more data will be sent received c. both a. and b. 10. Which is the state that is passed through only when both ends of the connection are simulaneously closed a. Close-wait b. Last-ack c. Closed d. Closing 11. For each of the following states answer "T" if the state is Transient (normally lasts only about a round trip transmission time) or "P" if the state is "Persistent" (can last an arbitrarily long time). ____ a. Fin-Wait-1 ____ b. Closing ____ c. Last-Ack