Computer Networks Questions & Answers – Ports
1. Multiple object can be sent over
a TCP connection between client and server in
a) Persistent HTTP
b) Ponpersistent HTTP
c) Both Persistent HTTP and Ponpersistent HTTP
d) None of the mentioned
a) Persistent HTTP
b) Ponpersistent HTTP
c) Both Persistent HTTP and Ponpersistent HTTP
d) None of the mentioned
Answer: a
Explanation: hypertext transfer protocol is used for sending multiple objects over TCP connection.
Explanation: hypertext transfer protocol is used for sending multiple objects over TCP connection.
2. HTTP is ________ protocol.
a) Application layer
b) Transport layer
c) Network layer
d) None of the mentioned
a) Application layer
b) Transport layer
c) Network layer
d) None of the mentioned
Answer: a
Explanation: HTTP works on application layer.
Explanation: HTTP works on application layer.
3. In the network HTTP resources are
located by
a) Uniform resource identifier
b) Unique resource locator
c) Unique resource identifier
d) None of the mentioned
a) Uniform resource identifier
b) Unique resource locator
c) Unique resource identifier
d) None of the mentioned
Answer: a
Explanation: HTTP resources are located by uniform resource identifier.
Explanation: HTTP resources are located by uniform resource identifier.
4. HTTP client requests by
establishing a __________ connection to a particular port on the server.
a) User datagram protocol
b) Transmission control protocol
c) Broader gateway protocol
d) None of the mentioned
a) User datagram protocol
b) Transmission control protocol
c) Broader gateway protocol
d) None of the mentioned
Answer: b
Explanation:HTTP client requests by establishing TCP connection to a particular port on the server.
Explanation:HTTP client requests by establishing TCP connection to a particular port on the server.
5. In HTTP pipelining
a) Multiple HTTP requests are sent on a single TCP connection without waiting for the corresponding responses
b) Multiple HTTP requests cannot be sent on a single TCP connection
c) Multiple HTTP requests are sent in a queue on a single TCP connection
d) None of the mentioned
a) Multiple HTTP requests are sent on a single TCP connection without waiting for the corresponding responses
b) Multiple HTTP requests cannot be sent on a single TCP connection
c) Multiple HTTP requests are sent in a queue on a single TCP connection
d) None of the mentioned
Answer: a
Explanation: Multiple HTTP requests are sent on a single TCP connection without waiting for the corresponding responses in HTTP pipelining.
Explanation: Multiple HTTP requests are sent on a single TCP connection without waiting for the corresponding responses in HTTP pipelining.
6. FTP server listens for connection
on port number
a) 20
b) 21
c) 22
d) 23
a) 20
b) 21
c) 22
d) 23
Answer: b
Explanation: 21 is the port number of FTP.
Explanation: 21 is the port number of FTP.
7. In FTP protocol, client contacts
server using _________ as the transport protocol.
a) Transmission control protocol
b) User datagram protocol
c) Datagram congestion control protocol
d) Stream control transmission protocol
a) Transmission control protocol
b) User datagram protocol
c) Datagram congestion control protocol
d) Stream control transmission protocol
Answer: a
Explanation: Client contacts server using TCP as the transport protocol.
Explanation: Client contacts server using TCP as the transport protocol.
8. In which mode FTP, the client
initiates both the control and data connections.
a) Active mode
b) Passive mode
c) Both Active mode and Passive mode
d) None of the mentioned
a) Active mode
b) Passive mode
c) Both Active mode and Passive mode
d) None of the mentioned
Answer: b
Explanation: In passive mode the client initiates both the control and data connections.
Explanation: In passive mode the client initiates both the control and data connections.
9. The file transfer protocol is
built on
a) Data centric architecture
b) Service oriented architecture
c) Client server architecture
d) None of the mentioned
a) Data centric architecture
b) Service oriented architecture
c) Client server architecture
d) None of the mentioned
Answer: c
Explanation: FTP is built on client server architecture.
Explanation: FTP is built on client server architecture.
10. In file transfer protocol, data
transfer can be done in
a) Stream mode
b) Block mode
c) Compressed mode
d) All of the mentioned
a) Stream mode
b) Block mode
c) Compressed mode
d) All of the mentioned
Answer: d
Explanation: Data transfer can be done in stream, block and compressed modes.
Explanation: Data transfer can be done in stream, block and compressed modes.
ليست هناك تعليقات:
إرسال تعليق