Computer Science 825 Quiz E Name _______________________ 1. In Socket level TCP/IP programming the selection of the UDP or TCP transport protocol is made in which of the following function calls: a. socket() b. bind() c. connect() d. listen() 2. For each of the following functions indicate S if the function is used in constructing a TCP/IP server such as the one we studied, C if it is used in the client, and B if it is used in both the client and server. ____ a. accept() ____ b. connect() ____ c. bind() ____ d. socket() ____ e. listen() 3. In the client / server model that we studied, the accept() function call returns: a. The same handle passed to b. A handle to a different socket accept as a parameter. that is bound to the same port as the original handle. c. A handle to a different socket that is bound to a different port from the original handle. 4. A significant disadvantage to the flow control method proposed by Belsnes is: a. It leads to excessive waits b. Its use of unbounded window for pacing responses and sizes can exacerbate congestion causes low throughput. problems. c. It forces all connections to use the same window size regardless of the length of the connection. 5. When the senders and receivers have roughly equivalent power the transport window sizes should be: a. 1 packet b. Independent of the number of hops between specific senders and receivers. c. Larger for very distant d. Smaller for very distant senders and receivers than senders and receivers than for very close senders and for very close senders and receivers. receivers. 6. Suppose a receiver in a stop and wait file transfer protocol uses an ack then write policy and the sender uses a policy of always retransmitting after a crash. Identify whether each of the following sequence of events will result in correct behavior (OK) a lost packet (LOST) or a duplicate (DUP). AWC AC(W) C(AW) 7. The ISO's counterpart to the SNA "bracket" is the a. dialog b. activity c. synchonization point. d. session level connect 6.