CL-HTTP/HTTP MCQ Sample Test,Sample questions

Question:
	
In HTTP, a _______ server is a computer that keeps copies of responses to recent requests.

1.regular

2.proxy

3.both (a) and (b)

4.None of the above


Question:
	
In HTTP, the first line in a request message is called a _______ line; the first line in the response message is called the ________ line.

1.request; response

2. response; request

3.response; status

4. none of the above


Question:
	
The HTTP request line contains a _______ method to request a document from the server.

1.GET

2.POST

3.COPY

4.None of these


Question:
	
The HTTP response message leaves out the requested object when _____ method is used.

1.GET

2.POST

3.HEAD

4.PUT


Question:
	
The values GET, POST, HEAD etc are specified in ____ of HTTP message.

1.Request line

2.Header line

3.Status line

4.Entity body


Question:
A response message always contains _______.

1.a header and a body

2.a request line and a header

3.a status line and a header

4.None of the above


Question:
An HTTP request message always contains _______.

1.a header and a body

2.a request line and a header

3.a status line, a header, and a body

4.None of these


Question:
Find the oddly matched HTTP status codes.

1.200 - OK

2.400 - Bad Request

3.301 - Moved permanently

4.304 - Not Found


Question:
HTTP is called stateless protocol because

1.It has very basic architecture.

2.The server and client are aware of each other only during a current request.

3.Of long time duration between client and server response time.

4.None of the above


Question:
HTTP uses the services of _________ on well-known port 80.

1.UDP

2.IP

3.TCP

4.None of the above


Question:
HTTP version 1.1 specifies a _________connection by default.

1.persistent

2.nonpersistent

3.both (a) and (b)

4.none of the above


Question:
In Computer Networking, HTTP is referred to as a stateless protocol as servers do not maintain any information about past client requests. HTTP is an acronym for

1.Hyper Text Translation Protocol

2.Hyper Text Transfer Protocol

3.High TeraByte Transfer Protocol

4.Hypervisor Test Translation Protocol


Question:
In Hyper Text Transfer Protocol (HTTP), a client can directly connect to a server using

1.Web

2.Domain

3.TELNET

4.HTTP


Question:
In Hypertext Transaction, formats of request and response messages are

1.Same

2.Similar

3.Changed

4.Active


Question:
In Hypertext Transaction, formats of request and response messages are

1.Same

2.Similar

3.Changed

4.Active


Question:
In Hypertext Transaction, term CONNECT is used for

1.Connection

2.Reserved Connection

3.Post Connection

4.Active Connection


Question:
The domain name that ends with a period?

1.completed

2.incomplete

3.absolute

4.universal


Question:
The HTTP request line contains a _______ method to get information about a document without retrieving the document itself.

1.HEAD

2.POST

3.COPY

4.None of these


Question:
The Hypertext Transfer Protocol (HTTP) is an

1.physical layer level protocol

2.data layer level protocol

3.network layer level protocol

4.application layer level protocol


Question:
The Hypertext Transfer Protocol (HTTP) is an

1.physical layer level protocol

2.data layer level protocol

3.network layer level protocol

4.application layer level protocol


Question:
The second part of a URL specifies the

1.Protocol

2.Resource id

3.Client name

4.Server name


Question:
To use proxy server, client must be configured to access proxy instead of the

1.Proxy Server

2.Target Server

3.Post Server

4.Original Server


More MCQS

  1. HTTP MCQ
Search
R4R Team
R4Rin Top Tutorials are Core Java,Hibernate ,Spring,Sturts.The content on R4R.in website is done by expert team not only with the help of books but along with the strong professional knowledge in all context like coding,designing, marketing,etc!