In this section of Data Communication and Networking – WWW and HTTP MCQ (Multiple Choice) Based Questions and Answers,it cover the below lists of topics.All the Multiple Choice Questions and Answers (MCQs) have been compiled from the book of Data Communication and Networking by The well known author behrouz forouzan.

This Section covers below lists of topics.

  1. Hypertext Transfer Protocol (HTTP) MCQs.
  2. Hypertext Markup Language (HTML) MCQs.
  3. Common Gateway Interface (CGI) MCQs.

PRACTICE IT NOW TO SHARPEN YOUR CONCEPT AND KNOWLEDGE

view hide answers

1. ________ is a repository of information linked together from points all over the world.

  • The WWW
  • HTTP
  • HTML
  • none of the above

2. The WWW today is a _______ client-server service, in which a client using a browser can access a service using a server.

  • limited
  • vast
  • distributed
  • none of the above

3. The _________ is a standard for specifying any kind of information on the Internet

  • URL
  • ULR
  • RLU
  • none of the above

4. In a URL, the _______ is the client-server program used to retrieve the document.

  • protocol
  • path
  • host
  • none of the above

5. In a URL, the ______ is the computer on which the information is located.

  • path
  • protocol
  • host
  • none of the above

6. In a URL, an optional ________ can be inserted between the host and the path, and it is separated from the host by a colon.

  • path
  • protocol
  • host
  • none of the above

7. In a URL, the _______ is the full name of the file where the information is located.

  • path
  • protocol
  • host
  • none of the above
  • client; client
  • client; server
  • server; server
  • none of the above

9. The documents in the WWW can be grouped into ______ broad categories

  • two
  • three
  • four
  • none of the above

10. A _______ document is a fixed-content document that is created and stored in a server. The client can get a copy of the document only.

  • static
  • dynamic
  • active
  • none of the above

11. _____________ is a language for creating Web pages.

  • HTTP
  • HTML
  • FTTP
  • none of the above

12. A _______ document is created by a Web server whenever a browser requests the document

  • static
  • dynamic
  • active
  • none of the above

13. ___________ is a technology that creates and handles dynamic documents

  • GIC
  • CGI
  • GCI
  • none of the above

14. Dynamic documents are sometimes referred to as _________ dynamic documents

  • client-site
  • server-site
  • both a and b
  • none of the above

15. For many applications, we need a program or a script to be run at the client site. These are called _______________ documents

  • static
  • dynamic
  • active
  • none of the above

16. One way to create an active document is to use __________

  • CGI
  • Java stand-alone programs
  • Java applets
  • none of the above

17. Active documents are sometimes referred to as _________ dynamic documents

  • client-site
  • server-site
  • both a and b
  • none of the above

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

  • UDP
  • IP
  • TCP
  • none of the above

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

  • request; response
  • response; request
  • response; status
  • none of the above

20. In a ___________ connection, one TCP connection is made for each request/response

  • persistent
  • nonpersistent
  • both a and b
  • none of the above

21. In a ___________connection, the server leaves the connection open for more requests after sending a response.

  • persistent
  • nonpersistent
  • both a and b
  • none of the above

22. HTTP version 1.1 specifies a _________connection by default.

  • persistent
  • nonpersistent
  • both a and b
  • none of the above

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

  • regular
  • proxy
  • both a and b
  • none of the above

24. An HTTP request message always contains _______

  • a header and a body
  • a request line and a header
  • a status line, a header, and a body
  • none of the above

25. Which of the following is present in both an HTTP request line and a status line?

  • HTTP version number
  • URL
  • status code
  • none of the above

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

  • GET
  • POST
  • COPY
  • none of the above

27. A user needs to send the server some information. The request line method is _______

  • OPTION
  • PATCH
  • POST
  • none of the above

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

  • HEAD
  • POST
  • COPY
  • none of the above

29. A response message always contains _______

  • a header and a body
  • a request line and a header
  • a status line and a header
  • none of the above

30. An applet is _______ document application program.

  • a static
  • an active
  • a passive
  • a dynamic
Share with : Share on Linkedin Share on Twitter Share on WhatsApp Share on Facebook