Uploaded by cinth htnic

HTTP and WWW Multiple Choice Questions

advertisement
HTTP and the World Wide Web: 20 Multiple Choice Questions
1. What is the primary protocol used by the World Wide Web for communication?
A. HTTP is a database protocol used in WWW.
B. HTTP is the foundation protocol for data communication on the WWW.
C. HTTP is unrelated to WWW.
D. HTTP is a programming language for building web pages.
Answer: B
2. What is the role of a browser in the World Wide Web?
A. HTTP is a database protocol used in WWW.
B. HTTP is the foundation protocol for data communication on the WWW.
C. HTTP is unrelated to WWW.
D. HTTP is a programming language for building web pages.
Answer: B
3. How is HTTP similar to SMTP?
A. Both use the FTP protocol for communication.
B. Both are responsible for delivering emails.
C. Both are application-layer protocols that rely on request-response mechanisms.
D. Both require user authentication to function.
Answer: C
4. How is HTTP related to WWW?
A. HTTP is a database protocol used in WWW.
B. HTTP is the foundation protocol for data communication on the WWW.
C. HTTP is unrelated to WWW.
D. HTTP is a programming language for building web pages.
Answer: B
5. How is HTTP similar to FTP?
A. Both are used to transfer data between client and server.
B. Both are secure protocols by default.
C. Both use the SMTP protocol.
D. Both operate exclusively on port 21.
Answer: A
6. What is a URL, and what are its components?
A. A URL is a web page's title and includes domain names only.
B. A URL is a unique identifier for locating resources on the internet and consists of protocol,
domain, and path.
C. A URL is a username required for logging into websites.
D. A URL is an identifier used only for local file paths.
Answer: B
7. Which component of a URL specifies the server or domain name?
A. Protocol
B. Host
C. Path
D. Port
Answer: B
8. What does CGI stand for, and what is its function?
A. Computer Graphic Interface; Creates visual content on websites.
B. Common Gateway Interface; Allows interaction between web servers and external programs.
C. Code Generated Input; Handles user input on forms.
D. Content Gateway Interaction; Transfers HTML files between servers.
Answer: B
9. What is a proxy server, and how is it related to HTTP?
A. A proxy server is a router device used in HTTP.
B. A proxy server is an intermediary server that handles HTTP requests and responses.
C. A proxy server is used for encrypting all HTTP data.
D. A proxy server is a backup server for HTTP communications.
Answer: B
10. Which term refers to a proxy server storing copies of frequently requested resources?
A. Filtering
B. Caching
C. Routing
D. Encoding
Answer: B
11. What are the three types of web documents?
A. Static, Dynamic, Active
B. Passive, Static, Responsive
C. Dynamic, Multimedia, HTML
D. XML, JSON, HTML
Answer: A
12. What does HTML stand for, and what is its function?
A. Hyperlink Markup Language; Creates static images for the web.
B. HyperText Markup Language; Structures and formats content on the web.
C. High Transfer Module Language; Transfers documents between web servers.
D. HyperText Module Language; Generates styles for web pages.
Answer: B
13. What is the difference between an active document and a dynamic document?
A. Active documents can run scripts; dynamic documents are fixed content.
B. Active documents interact with users; dynamic documents are updated by the server.
C. Active documents change automatically; dynamic documents require a user click.
D. Active documents are for databases only; dynamic documents are for emails.
Answer: B
14. Name the common three components of a browser.
A. Engine, Search, Server
B. Controller, Interpreter, Display Engine
C. User Interface, Rendering Engine, Network Layer
D. Processor, Hard Drive, Cache
Answer: C
15. Which HTTP method is used to retrieve data from a server?
A. POST
B. GET
C. DELETE
D. PUT
Answer: B
16. Which HTTP status code indicates success?
A. 200
B. 404
C. 500
D. 401
Answer: A
17. What is the main function of HTTP headers in a transaction?
A. Authenticate users
B. Provide metadata about the request or response
C. Encrypt data automatically
D. Store server logs
Answer: B
18. What is the purpose of HTTPS in web communication?
A. To establish a secure encrypted connection
B. To increase download speeds
C. To convert web pages into dynamic documents
D. To bypass the need for a proxy server
Answer: A
19. Which HTTP method is used to update resources on a server?
A. GET
B. POST
C. PUT
D. DELETE
Answer: C
20. Which HTTP version introduced multiplexing to improve performance?
A. HTTP/1.0
B. HTTP/1.1
C. HTTP/2
D. HTTP/3
Answer: C
Download