Computer Networks Questions & Answers – Transport
Layer
1. 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
a) network layer
b) data link layer
c) application layer
d) physical layer
Answer: a
Explanation: The flow of data in the OSI model flows in following manner Application -> Presentation -> Session -> Transport -> Network -> Data Link -> Physical.
Explanation: The flow of data in the OSI model flows in following manner Application -> Presentation -> Session -> Transport -> Network -> Data Link -> Physical.
2. Which one of the following is a
transport layer protocol used in networking?
a) TCP
b) UDP
c) Both TCP and UDP
d) None of the mentioned
a) TCP
b) UDP
c) Both TCP and UDP
d) None of the mentioned
Answer: c
Explanation: Both TCP and UDP are transport layer protocol in networking. TCP is an abbreviation for Transmission Control Protocol and UDP is an abbreviation for User Datagram Protocol. TCP is connection oriented whereas UDP is connectionless.
Explanation: Both TCP and UDP are transport layer protocol in networking. TCP is an abbreviation for Transmission Control Protocol and UDP is an abbreviation for User Datagram Protocol. TCP is connection oriented whereas UDP is connectionless.
3. 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) none of the mentioned
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) none of the mentioned
Answer: a
Explanation: UDP is an alternative for TCP and it is used for those purposes where speed matters most whereas loss of data is not a problem. UDP is connectionless whereas TCP is connection oriented.
Explanation: UDP is an alternative for TCP and it is used for those purposes where speed matters most whereas loss of data is not a problem. UDP is connectionless whereas TCP is connection oriented.
4. Transmission control protocol is
a) connection oriented protocol
b) uses a three way handshake to establish a connection
c) recievs data from application as a single stream
d) all of the mentioned
a) connection oriented protocol
b) uses a three way handshake to establish a connection
c) recievs data from application as a single stream
d) all of the mentioned
Answer: d
Explanation: Major internet applications like www, email, file transfer etc rely on tcp. TCP is connection oriented and it is optimized for accurate delivery rather than timely delivery.
It can incur long delays.
Explanation: Major internet applications like www, email, file transfer etc rely on tcp. TCP is connection oriented and it is optimized for accurate delivery rather than timely delivery.
It can incur long delays.
5. An endpoint of an inter-process
communication flow across a computer network is called
a) socket
b) pipe
c) port
d) none of the mentioned
a) socket
b) pipe
c) port
d) none of the mentioned
Answer: a
Explanation: Socket is one end point in a two way communication link in the network. TCP layer can identify the application that data is destined to be sent by using the port number that is bound to socket.
Explanation: Socket is one end point in a two way communication link in the network. TCP layer can identify the application that data is destined to be sent by using the port number that is bound to socket.
6. Socket-style API for windows is
called
a) wsock
b) winsock
c) wins
d) none of the mentioned
a) wsock
b) winsock
c) wins
d) none of the mentioned
Answer: b
Explanation: Winsock is a programming interface which deals with input output requests for internet applications in windows OS. It defines how windows network software should access network services.
Explanation: Winsock is a programming interface which deals with input output requests for internet applications in windows OS. It defines how windows network software should access network services.
7. 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) none of the mentioned
a) datagram congestion control protocol
b) stream control transmission protocol
c) structured stream transport
d) none of the mentioned
Answer: a
Explanation: The datagram congestion control is a transport layer protocol which deals with reliable connection setup, teardown, congestion control, explicit congestion notification, feature negotiation.
Explanation: The datagram congestion control is a transport layer protocol which deals with reliable connection setup, teardown, congestion control, explicit congestion notification, feature negotiation.
8. A _____ is a TCP name for a
transport service access point.
a) port
b) pipe
c) node
d) none of the mentioned
a) port
b) pipe
c) node
d) none of the mentioned
Answer: a
Explanation: Just as the IP address identifies the computer, the network port identifies the application or service running on the computer. A port number is 16 bits.
Explanation: Just as the IP address identifies the computer, the network port identifies the application or service running on the computer. A port number is 16 bits.
9. Transport layer protocols deals
with
a) application to application communication
b) process to process communication
c) node to node communication
d) none of the mentioned
a) application to application communication
b) process to process communication
c) node to node communication
d) none of the mentioned
Answer: b
Explanation: Transport layer is 4th layer in TCP/IP model and OSI reference model. It deals with logical communication between process. It is responsible for delivering a message between network host.
Explanation: Transport layer is 4th layer in TCP/IP model and OSI reference model. It deals with logical communication between process. It is responsible for delivering a message between network host.
10. Which one 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
a) stream control transmission protocol
b) internet control message protocol
c) neighbor discovery protocol
d) dynamic host configuration protocol
Answer: a
Explanation: There are many protocols in transport layer. The most prominent are TCP and UDP. Some of the other protocols are RDP, RUDP, SCTP, DCCP etc.
Explanation: There are many protocols in transport layer. The most prominent are TCP and UDP. Some of the other protocols are RDP, RUDP, SCTP, DCCP etc.
ليست هناك تعليقات:
إرسال تعليق