0% found this document useful (0 votes)
40 views4 pages

MCQ - 27

This document provides 30 multiple choice questions about the World Wide Web (WWW) and Hypertext Transfer Protocol (HTTP). The questions cover topics such as URL components, static vs. dynamic documents, HTTP request and response methods, cookies, proxies, and more. Sample questions ask about the request line method used to send server information, what protocol is used on port 80, and components found in both HTTP requests and status lines.

Uploaded by

John Philippe M
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
Download as pdf or txt
0% found this document useful (0 votes)
40 views4 pages

MCQ - 27

This document provides 30 multiple choice questions about the World Wide Web (WWW) and Hypertext Transfer Protocol (HTTP). The questions cover topics such as URL components, static vs. dynamic documents, HTTP request and response methods, cookies, proxies, and more. Sample questions ask about the request line method used to send server information, what protocol is used on port 80, and components found in both HTTP requests and status lines.

Uploaded by

John Philippe M
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
Download as pdf or txt
Download as pdf or txt
You are on page 1/ 4

A Complete Chapter Quiz

WWW and HTTP

Compilation of all the quizzes (MCQs) for each and every chapters in the book of Data
Communications and Networking 4th Edition by Behrouz A. Forouzan.

1|P age
MCQs in WWW and HTTP
www.PinoyBIX.com
1. A user needs to send the server some B) dynamic
information. The request line method is C) active
_______. D) none of the above
A) OPTION 7. The _________ is a standard for
B) PATCH specifying any kind of information on the
C) POST Internet.
D) none of the above A) URL
2. In a URL, the _______ is the client- B) ULR
server program used to retrieve the C) RLU
document. D) none of the above
A) path 8. _________ is a repository of
B) protocol information linked together from points all
C) host over the world.
D) none of the above A) The WWW
3. A _______ document is created by a B) HTTP
Web server whenever a browser C) HTML
requests the document. D) none of the above
A) static 9. Which of the following is present in
B) dynamic both an HTTP request line and a status
C) active line?
D) none of the above A) HTTP version number
4. One way to create an active document B) URL
is to use __________. C) status code
A) CGI D) none of the above
B) Java stand-alone programs 10. Active documents are sometimes
C) Java applets referred to as _________ dynamic
D) none of the above documents.
5. A cookie is made by the ________ and A) client-site
eaten by the _________. B) server-site
A) client; client C) both a and b
B) client; server D) none of the above
C) server; server 11. HTTP uses the services of
D) none of the above _________ on well-known port 80.
6. A _______ document is a fixed- A) UDP
content document that is created and B) IP
stored in a server. The client can get a C) TCP
copy of the document only. D) none of the above
A) static

2|P age
MCQs in WWW and HTTP
www.PinoyBIX.com
12. Dynamic documents are sometimes path, and it is separated from the host by
referred to as _________ dynamic a colon.
documents. A) path
A) client-site B) protocol
B) server-site C) host
C) both a and b D) none of the above
D) none of the above 18. An applet is _______ document
13. For many applications, we need a application program.
program or a script to be run at the client A) a static
site. These are called _______________ B) an active
documents. C) a passive
A) static D) a dynamic
B) dynamic 19. The documents in the WWW can be
C) active grouped into ______ broad categories.
D) none of the above A) two
14. In HTTP, a _______ server is a B) three
computer that keeps copies of responses C) four
to recent requests. D) none of the above
A) regular 20. _____________ is a language for
B) proxy creating Web pages.
C) both a and b A) HTTP
D) none of the above B) HTML
15. The HTTP request line contains a C) FTTP
_______ method to get information about D) none of the above
a document without retrieving the 21. ___________ is a technology that
document itself. creates and handles dynamic
A) HEAD documents.
B) POST A) GIC
C) COPY B) CGI
D) none of the above C) GCI
16. A response message always D) none of the above
contains _______. 22. The HTTP request line contains a
A) a header and a body _______ method to request a document
B) a request line and a header from the server.
C) a status line and a header A) GET
D) none of the above B) POST
17. In a URL, an optional ________ can C) COPY
be inserted between the host and the D) none of the above

3|P age
MCQs in WWW and HTTP
www.PinoyBIX.com
23. In a ___________connection, the C) both a and b
server leaves the connection open for D) none of the above
more requests after sending a response. 29. In HTTP, the first line in a request
A) persistent message is called a _______ line; the
B) nonpersistent first line in the response message is
C) both a and b called the ________ line.
D) none of the above A) request; response
24. An HTTP request message always B) response; request
contains _______. C) response; status
A) a header and a body D) none of the above
B) a request line and a header 30. The WWW today is a _______ client-
C) a status line, a header, and a server service, in which a client using a
body browser can access a service using a
D) none of the above server.
25. In a ___________ connection, one A) limited
TCP connection is made for each B) vast
request/response. C) distributed
A) persistent D) none of the above
B) nonpersistent
C) both a and b
D) none of the above
26. In a URL, the _______ is the full
name of the file where the information is
located.
A) path
B) protocol
C) host
D) none of the above
27. In a URL, the ______ is the computer
on which the information is located.
A) path
B) protocol
C) host
D) none of the above
28. HTTP version 1.1 specifies a
_________connection by default.
A) persistent
B) nonpersistent

4|P age
MCQs in WWW and HTTP
www.PinoyBIX.com

You might also like