Internet and Web Technologies MCQs

Computer

Internet and Web Technologies MCQs

Practice Internet MCQs covering WWW, browsers, search engines, URL, HTTP, HTTPS, email and web technologies with answers and explanations.

461
Total Questions

Practice Questions

Page 10 of 24
Question #181
What is the purpose of the 'rel' attribute in an HTML tag?
A. To provide an alternate URL
B. To define the relationship between the current document and the linked resource
C. To specify the MIME type
D. To set the media type

Correct Answer: Option B


Explanation:
The rel attribute specifies the relationship (e.g., stylesheet, icon, preconnect) between the current page and the linked resource.

This question belongs to: Computer Internet and Web Technologies
Question #182
Which of the following is a popular web browser for mobile devices?
A. Chrome for Android
B. Safari for iOS
C. All of the above
D. Firefox for Android

Correct Answer: Option C


Explanation:
All three are popular mobile web browsers for their respective platforms.

This question belongs to: Computer Internet and Web Technologies
Question #183
What is the role of a cache in a web browser?
A. To run JavaScript
B. To store passwords
C. To manage bookmarks
D. To store copies of web resources to reduce load times

Correct Answer: Option D


Explanation:
Browser cache stores static resources (images, CSS, JS) locally so that subsequent visits to the same page load faster.

This question belongs to: Computer Internet and Web Technologies
Question #184
Which of the following is an example of a web-based productivity suite?
A. Zoho Office
B. All of the above
C. Microsoft Office Online
D. Google Workspace

Correct Answer: Option B


Explanation:
Google Workspace, Microsoft Office Online, and Zoho Office are all web-based productivity suites.

This question belongs to: Computer Internet and Web Technologies
Question #185
What is the purpose of the 'Host' header in an HTTP/1.1 request?
A. To set the connection type
B. To indicate the client's hostname
C. To define the content encoding
D. To enable virtual hosting by specifying the domain name

Correct Answer: Option D


Explanation:
The Host header is mandatory in HTTP/1.1 to differentiate between websites hosted on the same IP address.

This question belongs to: Computer Internet and Web Technologies
Question #186
Which of the following is a security feature that prevents a web page from being loaded in an iframe on a different domain?
A. CORS
B. Content-Security-Policy
C. Same-origin policy
D. X-Frame-Options

Correct Answer: Option D


Explanation:
X-Frame-Options specifically controls whether a page can be embedded in frames, preventing clickjacking.

This question belongs to: Computer Internet and Web Technologies
Question #187
What is the function of a reverse proxy?
A. To receive client requests and forward them to appropriate servers
B. To perform load balancing
C. To encrypt traffic
D. To cache static content

Correct Answer: Option A


Explanation:
A reverse proxy sits between clients and backend servers, forwarding requests, and can provide load balancing, caching, and security.

This question belongs to: Computer Internet and Web Technologies
Question #188
Which of the following is a protocol used for network time synchronization?
A. Both
B. DNS
C. NTP
D. SNTP

Correct Answer: Option A


Explanation:
NTP (Network Time Protocol) and its simplified version SNTP are used to synchronize computer clocks over a network.

This question belongs to: Computer Internet and Web Technologies
Question #189
What is the purpose of the 'data-' prefix in HTML5 custom attributes?
A. To define styles
B. To specify accessibility information
C. To store private data for use in scripts
D. To link to external resources

Correct Answer: Option C


Explanation:
Custom data attributes (data-*) allow developers to store extra information on HTML elements that can be used by JavaScript.

This question belongs to: Computer Internet and Web Technologies
Question #190
Which of the following is a web browser developed by the Mozilla Foundation?
A. Firefox
B. All of the above
C. Thunderbird
D. Seamonkey

Correct Answer: Option A


Explanation:
Firefox is a web browser by Mozilla; Thunderbird is an email client, and SeaMonkey is an internet suite.

This question belongs to: Computer Internet and Web Technologies
Question #191
What is the role of a web analytics tool?
A. To manage domain names
B. To track and report website traffic and user behavior
C. To design web pages
D. To host websites

Correct Answer: Option B


Explanation:
Web analytics tools (e.g., Google Analytics) collect data on visitor activity, providing insights for optimization.

This question belongs to: Computer Internet and Web Technologies
Question #192
Which of the following is a type of web cache that stores content closer to the user to reduce latency?
A. Browser cache
B. Proxy cache
C. CDN
D. Both CDN and Proxy cache

Correct Answer: Option D


Explanation:
CDNs and proxy caches both store copies of content in distributed locations to reduce latency and bandwidth.

This question belongs to: Computer Internet and Web Technologies
Question #193
What is the purpose of the 'Alt' attribute in an image tag for accessibility?
A. To display a tooltip
B. To style the image
C. To provide a textual description for screen readers
D. To define image dimensions

Correct Answer: Option C


Explanation:
Alt text is essential for accessibility, providing a description of the image for users who cannot see it.

This question belongs to: Computer Internet and Web Technologies
Question #194
Which of the following is a method of web authentication that uses a combination of username and password?
A. Both Basic and Digest
B. Digest authentication
C. Basic authentication
D. Bearer token

Correct Answer: Option A


Explanation:
Both Basic and Digest authentication are HTTP authentication schemes that rely on username/password, though they differ in security.

This question belongs to: Computer Internet and Web Technologies
Question #195
What is the function of the 'Mailto' link in HTML?
A. To open the user's default email client with a pre-addressed message
B. To send an email directly from the server
C. To display a contact form
D. To create a hyperlink to an email address

Correct Answer: Option A


Explanation:
A mailto link (e.g., ) opens the default email client with the recipient's address.

This question belongs to: Computer Internet and Web Technologies
Question #196
Which of the following is a modern web browser based on Chromium?
A. Brave
B. All of the above
C. Chrome
D. Edge

Correct Answer: Option B


Explanation:
Chrome, Edge, and Brave are all Chromium-based browsers, sharing the same underlying engine.

This question belongs to: Computer Internet and Web Technologies
Question #197
What is the purpose of the 'Session' in web applications?
A. To store static files
B. To maintain state across multiple requests from the same user
C. To manage database connections
D. To handle form submissions

Correct Answer: Option B


Explanation:
A session is a server-side storage that persists user-specific data (like login status) across requests, using cookies or URL rewriting.

This question belongs to: Computer Internet and Web Technologies
Question #198
Which of the following is an example of a web-based version control system?
A. All of the above
B. Bitbucket
C. GitLab
D. GitHub

Correct Answer: Option A


Explanation:
GitHub, GitLab, and Bitbucket are all web-based platforms for hosting and managing Git repositories.

This question belongs to: Computer Internet and Web Technologies
Question #199
What does the acronym FTP stand for?
A. Full Transfer Protocol
B. Fast Transfer Protocol
C. File Transfer Protocol
D. File Transmission Protocol

Correct Answer: Option C


Explanation:
FTP stands for File Transfer Protocol, a standard network protocol for transferring files between hosts.

This question belongs to: Computer Internet and Web Technologies
Question #200
Which of the following is a method to improve the security of a website by preventing attacks like XSS?
A. Output encoding
B. All of the above
C. Input validation
D. Content Security Policy (CSP)

Correct Answer: Option B


Explanation:
Output encoding, input validation, and CSP are all effective defenses against XSS attacks.

This question belongs to: Computer Internet and Web Technologies