Transport Layer Flashcards
What is the primary function of the transport layer in the OSI model?
To provide end-to-end communication services for applications.
True or False: The transport layer is responsible for routing packets across the network.
False
What are the two main transport layer protocols?
TCP (Transmission Control Protocol) and UDP (User Datagram Protocol).
Fill in the blank: TCP is a __________ protocol, while UDP is a __________ protocol.
connection-oriented; connectionless
What does TCP stand for?
Transmission Control Protocol
True or False: UDP guarantees the delivery of packets.
False
What feature does TCP provide to ensure reliable communication?
Error checking and retransmission of lost packets.
Which transport layer protocol is commonly used for streaming audio and video?
UDP (User Datagram Protocol)
What is the maximum segment size (MSS) in TCP?
The largest segment of data that the TCP layer is willing to receive.
Multiple Choice: Which of the following is a characteristic of UDP? A) Connection-oriented B) Low latency C) Guaranteed delivery
B) Low latency
What does the TCP three-way handshake consist of?
SYN, SYN-ACK, ACK
Fill in the blank: The transport layer is responsible for __________ management.
flow and congestion
True or False: TCP uses sequence numbers to order segments.
True
What is the purpose of port numbers in transport layer protocols?
To identify specific applications or services on a host.
Which protocol is more suitable for real-time applications: TCP or UDP?
UDP
What is the role of a checksum in TCP and UDP?
To detect errors in transmitted segments.
Multiple Choice: What type of connection does TCP establish? A) One-to-many B) Many-to-many C) One-to-one
C) One-to-one
Fill in the blank: __________ is a method used by TCP to control congestion.
Congestion control algorithms
What is the default port number for HTTP?
80
True or False: UDP is suitable for applications that require high reliability.
False
What is the function of the ‘FIN’ flag in TCP?
To indicate that the sender has finished sending data.
What does the term ‘throughput’ refer to in the context of the transport layer?
The rate at which data is successfully transmitted over a network.
Multiple Choice: Which of the following is NOT a feature of TCP? A) Flow control B) Packet ordering C) Connectionless communication
C) Connectionless communication
What is the purpose of the ‘SYN’ flag in TCP?
To initiate a connection.
Fill in the blank: The __________ layer is responsible for segmenting and reassembling data.
transport
True or False: Both TCP and UDP use ports to facilitate communication.
True
What happens during the TCP connection termination process?
A four-way handshake occurs to close the connection.