2.1 TCP Vs. UDP Flashcards
What does TCP stand for?
Transmission Control Protocol.
What does UDP stand for?
User Datagram Protocol.
What type of connection does TCP use?
Connection-oriented (establishes a reliable connection before transmitting data).
What type of connection does UDP use?
Connectionless (transmits data without establishing a connection).
How does TCP ensure reliable delivery of data?
Uses a three-way handshake (SYN, SYN-ACK, ACK) and retransmits lost packets.
Does UDP retransmit lost packets?
No, UDP does not guarantee packet delivery or retransmission.
What is the main advantage of TCP?
Reliable and ordered delivery of data.
What is the main advantage of UDP?
Faster, lower overhead, and efficient for real-time applications.
Which protocol is better for online banking and secure transactions?
TCP, because it ensures reliable data transmission.
Which protocol is better for video streaming and gaming?
UDP, because it minimizes latency and overhead.
Does TCP guarantee the order of packet delivery?
Yes, TCP ensures data packets arrive in sequence.
Does UDP guarantee the order of packet delivery?
No, UDP packets may arrive out of order.
What are some common applications that use TCP?
HTTPS, SSH, FTP, SMTP, IMAP.
What are some common applications that use UDP?
VoIP, DNS, DHCP, online gaming, video streaming.
Which protocol does DNS primarily use?
UDP (Port 53), but TCP is used for large queries.