Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

True or False. (1) FTP is stateful protocol, e.g., FTP need maintain the status

ID: 3673122 • Letter: T

Question

True or False.

(1) FTP is stateful protocol, e.g., FTP need maintain the status for the current FTP connection, while HTTP is stateless protocol.

(2) A process on host 1 has been assigned port x, and a process on host 2 has been assigned port y. It is possible for there to be two or more TCP connections between these two ports.

(3) Consider a reliable data transfer protocol that uses only negative acknowledgements. Suppose the sender sends data only infrequently, NAK-only protocol would be preferable to ACK-only protocol.

(4) Imagine that a two-way handshake rather than a three-way handshake were used to setup TCP connections. In other words, if the third message was not required, then deadlock or half-open is possible.

(5) In the TCP congestion control algorithm, the number of packets on-the-fly may grow to infinity, as long as time out never happens.

Explanation / Answer

(1) FTP is stateful protocol, e.g., FTP need maintain the status for the current FTP connection, while HTTP is stateless protocol. TRUE because its maintain the state of current session.

(2) A process on host 1 has been assigned port x, and a process on host 2 has been assigned port y. It is possible for there to be two or more TCP connections between these two ports. FALSE because a pair of port can have one tcp connection

(3) Consider a reliable data transfer protocol that uses only negative acknowledgements. Suppose the sender sends data only infrequently, NAK-only protocol would be preferable to ACK-only protocol. FALSE, NAK- only protocol wil not be preferrable because in NAK, the information of lost packet will get only when receiver receive the correct packet. In case of infrequent data, its not desirable

(4) Imagine that a two-way handshake rather than a three-way handshake were used to setup TCP connections. In other words, if the third message was not required, then deadlock or half-open is possible. TRUE, deadlock is very much possible

(5) In the TCP congestion control algorithm, the number of packets on-the-fly may grow to infinity, as long as time out never happens. TURE statement

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote