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

Computer Networks MCQ Lecture 06

The document provides a series of questions and answers related to the World Wide Web, HTTP, cookies, web caching, and proxy servers. Key topics include the origin of the World Wide Web, the function of web servers and browsers, and the evolution of HTTP protocols. It also covers the roles of cookies and proxy servers in web functionality.

Uploaded by

sisomiimo
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
6 views4 pages

Computer Networks MCQ Lecture 06

The document provides a series of questions and answers related to the World Wide Web, HTTP, cookies, web caching, and proxy servers. Key topics include the origin of the World Wide Web, the function of web servers and browsers, and the evolution of HTTP protocols. It also covers the roles of cookies and proxy servers in web functionality.

Uploaded by

sisomiimo
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 4

World Wide Web (WWW)

1. Who proposed the idea of the World Wide Web, and when?
a) Vint Cerf in 1983
b) Tim Berners-Lee in 1989
c) Bob Kahn in 1990
d) Marc Andreessen in 1992

Answer: b) Tim Berners-Lee in 1989

1. What is a composite web page?


a) A page containing only text
b) A page with only links
c) A page with multiple elements like text and images
d) A page stored in a single location

Answer: c) A page with multiple elements like text and images

1. Which component of a browser is responsible for displaying a web page?


a) Controller
b) Client protocols
c) Interpreters
d) Cache

Answer: c) Interpreters

1. What is the function of a web server's cache?


a) To store user credentials
b) To improve efficiency by storing frequently requested files in memory
c) To generate HTML code dynamically
d) To enhance web security

Answer: b) To improve efficiency by storing frequently requested files in memory

HyperText Transfer Protocol (HTTP)

1. Which protocol does HTTP rely on for reliable communication?


a) UDP
b) FTP
c) TCP
d) SMTP

Answer: c) TCP
1. What is the default port used by HTTP?
a) 25
b) 53
c) 80
d) 443

Answer: c) 80

1. In nonpersistent HTTP connections, how many TCP connections are required to retrieve
5 objects?
a) 1
b) 5
c) 6
d) 7

Answer: c) 6

1. Which version of HTTP introduced persistent connections by default?


a) HTTP/1.0
b) HTTP/1.1
c) HTTP/2
d) HTTP/3

Answer: b) HTTP/1.1

1. Which HTTP method is used to debug by echoing the request back from the server?
a) GET
b) TRACE
c) POST
d) OPTIONS

Answer: b) TRACE

1. What does the HTTP status code range 500–599 indicate?


a) Informational messages
b) Client errors
c) Successful responses
d) Server errors

Answer: d) Server errors

Cookies
1. What is the primary purpose of cookies?
a) To store passwords securely
b) To simplify shopping cart functionality and session tracking
c) To encrypt web traffic
d) To act as a proxy for users

Answer: b) To simplify shopping cart functionality and session tracking

1. Where are cookies stored after they are sent by the server?
a) In the operating system's registry
b) In the browser’s cookie directory
c) On the server’s database
d) In the RAM of the client machine

Answer: b) In the browser’s cookie directory

1. Which of the following is NOT a common use case for cookies?


a) Authorization
b) Shopping carts
c) Network layer packet routing
d) Session state tracking

Answer: c) Network layer packet routing

Web Caching and Proxy Servers

1. What is the role of a proxy server?


a) To provide direct communication between clients
b) To manage DNS resolutions
c) To cache responses and reduce server load
d) To encrypt web traffic

Answer: c) To cache responses and reduce server load

1. Where are proxy servers typically installed?


a) On individual client computers only
b) At the ISP, corporate LAN, or client side
c) In the browser cache
d) As part of the web server infrastructure

Answer: b) At the ISP, corporate LAN, or client side


1. Which HTTP header allows a proxy server to verify the freshness of cached content?
a) Cache-Control
b) Connection
c) Accept-Encoding
d) Authorization

Answer: a) Cache-Control

HTTP Evolution

1. What does HTTP/3 use instead of TCP?


a) FTP
b) UDP
c) IP
d) SMTP

Answer: b) UDP

1. What additional features does HTTPS provide over HTTP?


a) Improved caching and lower latency
b) Client authentication, confidentiality, and data integrity
c) Reduced bandwidth consumption
d) Support for nonpersistent connections

Answer: b) Client authentication, confidentiality, and data integrity

1. Which HTTP version introduced client-specified object priorities?


a) HTTP/1.0
b) HTTP/1.1
c) HTTP/2
d) HTTP/3

Answer: c) HTTP/2

You might also like