|
1 | | TCP is a __________protocol. |
| | A) | stream-oriented |
| | B) | message-oriented |
| | C) | block-oriented |
| | D) | none of the above |
|
|
2 | | TCP allows the sending process to deliver data as a _______of bytes and allows the receiving process to obtain data as a _________ of bytes.. |
| | A) | message; message |
| | B) | stream; stream |
| | C) | block; block |
| | D) | none of the above |
|
|
3 | | Because the sending and the receiving processes may not write or read data at the same speed, TCP ________. |
| | A) | speeds up the slower process |
| | B) | slows down the faster process |
| | C) | uses buffers |
| | D) | none of the above |
|
|
4 | | TCP groups a number of bytes together into a packet called a ___________. |
| | A) | user datagram |
| | B) | segment |
| | C) | datagram |
| | D) | none of the above |
|
|
5 | | TCP is a ___________ protocol.. |
| | A) | connection-oriented |
| | B) | connectionless |
| | C) | both a and b |
| | D) | none of the above |
|
|
6 | | TCP is a(n) _______ transport protocol. |
| | A) | unreliable |
| | B) | best-effort delivery |
| | C) | reliable |
| | D) | none of the above |
|
|
7 | | TCP uses _________________ to check the safe and sound arrival of data. |
| | A) | an acknowledgment mechanism |
| | B) | out-of-band signalling |
| | C) | the services of another protocol |
| | D) | none of the above |
|
|
8 | | The bytes of data being transferred in each connection are numbered by TCP. The numbering starts with a __________________. |
| | A) | 0 |
| | B) | 1 |
| | C) | randomly generated number |
| | D) | none of the above |
|
|
9 | | TCP assigns a sequence number to each segment that is being sent. The sequence number for each segment is the number of the _______ byte carried in that segment. |
| | A) | first |
| | B) | last |
| | C) | middle |
| | D) | none of the above |
|
|
10 | | Communication in TCP is ___________. |
| | A) | simplex |
| | B) | half-duplex |
| | C) | full-duplex |
| | D) | none of the above |
|
|
11 | | The value of the acknowledgment field in a segment defines the number of the ______byte a party expects to receive. |
| | A) | first |
| | B) | last |
| | C) | next |
| | D) | none of the above |
|
|
12 | | The acknowledgment number is ________. |
| | A) | independent |
| | B) | randomly generated |
| | C) | cumulative |
| | D) | none of the above |
|
|
13 | | The value of window size is determined by _________. |
| | A) | the sender |
| | B) | the receiver |
| | C) | both the sender and receiver |
| | D) | none of the above |
|
|
14 | | The inclusion of the checksum in the TCP segment is ________. |
| | A) | optional |
| | B) | mandatory |
| | C) | at the discretion of the application program |
| | D) | none of the above |
|
|
15 | | A TCP segment is encapsulated in __________. |
| | A) | an IP datagram |
| | B) | an Ethernet frame |
| | C) | a UDP user datagram |
| | D) | none of the above |
|
|
16 | | Connection establishment in TCP is called __________ handshaking. |
| | A) | two-way |
| | B) | four-way |
| | C) | one-way |
| | D) | none of the above |
|
|
17 | | A SYN segment cannot carry data; it consumes _____ sequence number(s). |
| | A) | no |
| | B) | one |
| | C) | two |
| | D) | none of the above |
|
|
18 | | A SYN + ACK segment cannot carry data; it consumes _____ sequence numbers. |
| | A) | no |
| | B) | three |
| | C) | two |
| | D) | none of the above |
|
|
19 | | An ACK segment, if carrying no data, consumes ______ sequence number(s). |
| | A) | no |
| | B) | one |
| | C) | two |
| | D) | none of the above |
|
|
20 | | The connection establishment procedure in TCP is susceptible to a serious security problem called the _________ attack. |
| | A) | ACK flooding |
| | B) | FIN flooding |
| | C) | SYN flooding |
| | D) | none of the above |
|
|
21 | | The SYN flooding attack belongs to a group of security attacks known as a _____ attack. |
| | A) | denial of service |
| | B) | replay |
| | C) | man-in-the middle |
| | D) | none of the above |
|
|
22 | | The FIN segment consumes ____ sequence numbers if it does not carry data. |
| | A) | two |
| | B) | three |
| | C) | no |
| | D) | none of the above |
|
|
23 | | The FIN + ACK segment consumes _____ sequence number(s) if it does not carry data. |
| | A) | two |
| | B) | three |
| | C) | one |
| | D) | none of the above |
|
|
24 | | In TCP, one end can stop sending data while still receiving data. This is called a ______ . |
| | A) | half-close |
| | B) | half-open |
| | C) | one-way termination |
| | D) | none of the above |
|
|
25 | | A(n) _________ machine is a machine that goes through a limited number of states. |
| | A) | infinite state |
| | B) | finite state |
| | C) | both a and b |
| | D) | none of the above |
|
|
26 | | A common value for MSL is between___ seconds and ___ minute(s). |
| | A) | 30: 2 |
| | B) | 30; 1 |
| | C) | 50; 1 |
| | D) | none of the above |
|
|
27 | | __________ control regulates the amount of data a source can send before receiving an acknowledgment from the destination.. |
| | A) | Error |
| | B) | Flow |
| | C) | Congestion |
| | D) | none of the above |
|
|
28 | | To accomplish flow control, TCP uses a ___________ window protocol. |
| | A) | limited-size |
| | B) | sliding |
| | C) | fixed-size |
| | D) | none of the above |
|
|
29 | | TCP sliding windows are __________ oriented. |
| | A) | packet |
| | B) | segment |
| | C) | byte |
| | D) | none of the above |
|
|
30 | | In TCP, the size of the window is the ________ of rwnd and cwnd. |
| | A) | maximum |
| | B) | sum of |
| | C) | minimum |
| | D) | none of the above |
|
|
31 | | In TCP, the window should not be _________. |
| | A) | opened |
| | B) | closed |
| | C) | shrunk |
| | D) | none of the above |
|
|
32 | | In TCP, the receiver can temporarily shut down the window; the sender, however, can always send a segment of _____ byte(s) after the window is shut down. |
| | A) | ten |
| | B) | zero |
| | C) | one |
| | D) | none of the above |
|
|
33 | | A serious problem can arise in the sliding window operation when either the sending application program creates data slowly or the receiving application program consumes data slowly, or both. This problem is called the ______. |
| | A) | silly window syndrome |
| | B) | unexpected syndrome |
| | C) | window bug |
| | D) | none of the above |
|
|
34 | | Nagle's algorithm can solve the silly window syndrome created by the _________. |
| | A) | sender |
| | B) | receiver |
| | C) | both sender and receiver |
| | D) | none of the above |
|
|
35 | | Clark's solution can solve the silly window syndrome created by the _________. |
| | A) | sender |
| | B) | receiver |
| | C) | both sender and receiver |
| | D) | none of the above |
|
|
36 | | Delayed acknowledgment can solve the silly window syndrome created by the _________. |
| | A) | sender |
| | B) | receiver |
| | C) | both sender and receiver |
| | D) | none of the above |
|
|
37 | | ACK segments consume _______ sequence number(s) and _______ acknowledged. |
| | A) | no; are not |
| | B) | one; are not |
| | C) | no; are |
| | D) | none of the above |
|
|
38 | | In modern implementations of TCP, a retransmission occurs if the retransmission timer expires or ________ duplicate ACK segments have arrived. |
| | A) | one |
| | B) | two |
| | C) | three |
| | D) | none of the above |
|
|
39 | | In TCP, ________ retransmission timer is set for an ACK segment. |
| | A) | one |
| | B) | a previous |
| | C) | no |
| | D) | none of the above |
|
|
40 | | TCP delivers _______ out-of-order segments to the process. |
| | A) | all |
| | B) | no |
| | C) | some |
| | D) | none of the above |
|
|
41 | | Lost acknowledgments may create a _______ if they are not handled properly. |
| | A) | livelock |
| | B) | deadlock |
| | C) | retransmission |
| | D) | none of the above |
|
|
42 | | In the ________ algorithm the size of the congestion window increases exponentially until it reaches a threshold. |
| | A) | congestion avoidance |
| | B) | congestion detection |
| | C) | slow start |
| | D) | none of the above |
|
|
43 | | In the __________ algorithm the size of the congestion window increases additively until congestion is detected. |
| | A) | congestion avoidance |
| | B) | congestion detection |
| | C) | slow start |
| | D) | none of the above |
|
|
44 | | In the congestion detection algorithm, if detection is by a time-out, a new _______ phase starts. |
| | A) | slow start |
| | B) | congestion avoidance |
| | C) | congestion detection |
| | D) | none of the above |
|
|
45 | | In the congestion detection algorithm, if detection is by three ACKs, a new _______ phase starts. |
| | A) | slow start |
| | B) | congestion avoidance |
| | C) | congestion detection |
| | D) | none of the above |
|
|
46 | | In TCP, there can be ______ RTT measurement(s) in progress at any time. |
| | A) | two |
| | B) | only one |
| | C) | several |
| | D) | none of the above |
|
|
47 | | The value of the window scale factor can be determined during __________. |
| | A) | data transmission |
| | B) | connection establishment |
| | C) | connection termination |
| | D) | none of the above |
|
|
48 | | IP is responsible for _______ communication while TCP is responsible for _______ communication. |
| | A) | host-to-host; process-to-process |
| | B) | process-to-process; host-to-host |
| | C) | process-to-process; network-to-network |
| | D) | none of the above |
|
|
49 | | If a segment carries data along with an acknowledgment, this is called _______. |
| | A) | backpacking |
| | B) | piggybacking |
| | C) | piggypacking |
| | D) | none of the above |
|
|
50 | | Multiply the header length field by _______ to find the total number of bytes in the TCP header. |
| | A) | 2 |
| | B) | 4 |
| | C) | 6 |
| | D) | none of the above |
|
|
51 | | Urgent data requires the urgent pointer field as well as the URG bit in the _______ field. |
| | A) | control |
| | B) | offset |
| | C) | sequence number |
| | D) | none of the above |
|
|
52 | | Which of the following is not a valid acknowledgment number? |
| | A) | 0 |
| | B) | 1 |
| | C) | 232 |
| | D) | none of the above |
|
|
53 | | The options field of the TCP header ranges from 0 to _______ bytes. |
| | A) | 10 |
| | B) | 20 |
| | C) | 40 |
| | D) | none of the above |
|
|
54 | | Which option defines the maximum number of bytes in a TCP segment? |
| | A) | maximum segment size |
| | B) | window scale factor |
| | C) | timestamp |
| | D) | none of the above |
|
|
55 | | If the ACK value is 200, then byte _______ has been received successfully. |
| | A) | 199 |
| | B) | 200 |
| | C) | 201 |
| | D) | none of the above |
|
|
56 | | The _______ timer prevents a long idle connection between two TCPs. |
| | A) | retransmission |
| | B) | persistence |
| | C) | keepalive |
| | D) | none of the above |
|
|
57 | | The _______ timer is needed to handle the zero window-size advertisement. |
| | A) | retransmission |
| | B) | persistence |
| | C) | keepalive |
| | D) | none of the above |
|
|
58 | | Karn's algorithm is used in calculations by the _______ timer. |
| | A) | retransmission |
| | B) | persistence |
| | C) | keepalive |
| | D) | none of the above |
|
|
59 | | In the _______ state, the client TCP has closed its connection to the server. |
| | A) | CLOSED |
| | B) | FIN-WAIT-1 |
| | C) | FIN-WAIT-2 |
| | D) | none of the above |
|
|
60 | | A special segment called a probe is sent by a sending TCP when the _______ timer goes off. |
| | A) | transmission |
| | B) | persistence |
| | C) | keepalive |
| | D) | none of the above |
|