Computer Networks Questions & Answers – Transport Layer
This set of Computer Networks Multiple Choice Questions & Answers (MCQs) focuses on “Transport Layer”.
1. Socket-style API for windows is called ____________
Explanation: Winsock is a programming interface for internet applications in Windows OS that handles with input and output requests. It specifies how network services should be accessed by Windows network software.
2. Which one of the following is a version of UDP with congestion control?
a) datagram congestion control protocol
b) stream control transmission protocol
c) structured stream transport
d) user congestion control protocol
Explanation: The datagram congestion control protocol deals with dependable connection establishment, teardown, congestion control, explicit congestion notification, and feature negotiation at the transport layer. It is employed in modern systems where there is a significant likelihood of traffic congestion. In the year 2008, the protocol was last revised.
3. A _____ is a TCP name for a transport service access point.
Explanation: The network port identifies the programme or service operating on the computer in the same way that the IP address does. A port number is made up of 16 bits. The socket address is the combination of the IP address and the port number.
4. Transport layer protocols deals with ____________
a) application to application communication
b) process to process communication
c) node to node communication
d) man to man communication
Explanation: In the TCP/IP and OSI reference models, the transport layer is the fourth layer. It is concerned with the logical exchange of information between processes. It is in charge of sending messages between network hosts.
5. Which of the following is a transport layer protocol?
a) stream control transmission protocol
b) internet control message protocol
c) neighbor discovery protocol
d) dynamic host configuration protocol
Explanation: The Stream Control Transmission Protocol (SCTP) is a transport layer protocol for networking systems that need continuous data transmission between two connected network nodes. Some of the other transport layer protocols are RDP, RUDP, TCP, DCCP, UDP etc.
6. Transport layer aggregates data from different applications into a single stream before passing it to ____________
a) network layer
b) data link layer
c) application layer
d) physical layer
Explanation: The flow of data in the OSI model flows in following manner Application -> Presentation -> Session -> Transport -> Network -> Data Link -> Physical. Each and every layer has its own set of functions and protocols to ensure efficient network performance.
7. Which of the following are transport layer protocols used in networking?
a) TCP and FTP
b) UDP and HTTP
c) TCP and UDP
d) HTTP and FTP
Explanation: In networking, TCP and UDP are both transport layer protocols. Transmission Control Protocol is abbreviated as TCP, whereas User Datagram Protocol is abbreviated as UDP. TCP is a connection-oriented protocol, whereas UDP is not.
8. User datagram protocol is called connectionless because _____________
a) all UDP packets are treated independently by transport layer
b) it sends data as a stream of related packets
c) it is received in the same order as sent order
d) it sends data very quickly
Explanation: UDP is a protocol that replaces TCP and is used in situations where speed is critical but data loss is not a concern. TCP is connection oriented, whereas UDP is connectionless.
9. Transmission control protocol ___________
a) is a connection-oriented protocol
b) uses a three way handshake to establish a connection
c) receives data from application as a single stream
d) all of the mentioned
Explanation: TCP ensures that a stream of bytes is delivered in a reliable and orderly manner between hosts connected by an IP network. TCP is used by major internet applications such as www, email, and file transmission. TCP is a connection-oriented protocol that promotes quality over time in transmission.
10. An endpoint of an inter-process communication flow across a computer network is called __________
Explanation: A socket is one end of a network’s two-way communication link. By using the port number that is linked to the socket, the TCP layer may identify the application to which data is going to be transferred.
In the tiered architecture of protocols in the network stack in the Internet protocol suite and the OSI model, the transport layer is a conceptual separation of techniques. This layer’s protocols provide applications with host-to-host communication services. Connection-oriented communication, reliability, flow control, and multiplexing are some of the services it offers. The transport layer of the Internet protocol suite, which is the Internet’s foundation, and the OSI model of general networking have differing implementation and semantics. TCP/IP gave birth to all of the protocols that are used today in this layer of the Internet.