HTTP and FTP - Computer Networks Questions and Answers

1.

FTP server listens for connection on port number

   A.) 20
   B.) 21
   C.) 22
   D.) 24

Answer: Option 'B'

21

2.

In HTTP pipelining

   A.) multiple HTTP requests can not be sent on a single TCP connection
   B.) multiple HTTP requests are sent on a single TCP connection without waiting for the corresponding responses
   C.) multiple HTTP requests are sent in a queue on a single TCP connection
   D.) none of these

Answer: Option 'B'

multiple HTTP requests are sent on a single TCP connection without waiting for the corresponding responses

3.

The file transfer protocol is built on

   A.) data centric architecture
   B.) service oriented architecture
   C.) client server architecture
   D.) none of these

Answer: Option 'C'

client server architecture

4.

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

Answer: Option 'A'

transmission control protocol

5.

Multiple object can be sent over a TCP connection between client and server in

   A.) persistent HTTP
   B.) nonpersistent HTTP
   C.) both (a) and (b)
   D.) none of these

Answer: Option 'A'

persistent HTTP

6.

In file transfer protocol, data transfer can be done in

   A.) stream mode
   B.) block mode
   C.) compressed mode
   D.) all of these

Answer: Option 'D'

all of these

7.

HTTP is ________ protocol.

   A.) application layer
   B.) transport layer
   C.) network layer
   D.) none of these

Answer: Option 'A'

application layer

8.

In the network HTTP resources are located by

   A.) uniform resource identifier
   B.) unique resource locator
   C.) unique resource identifier
   D.) none of these

Answer: Option 'A'

uniform resource identifier

9.

In which mode FTP, the client initiates both the control and data connections.

   A.) active mode
   B.) passive mode
   C.) both (a) and (b)
   D.) none of these

Answer: Option 'B'

passive mode

10.

HTTP client requests by establishing a __________ connection to a particular port on the server.

   A.) broader gateway protocol
   B.) user datagram protocol
   C.) transmission control protocol
   D.) none of these

Answer: Option 'C'

transmission control protocol


HTTP and FTP Download Pdf

Recent Posts