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 set the media type
C. To define the relationship between the current document and the linked resource
D. To specify the MIME type

Correct Answer: Option C


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. Safari for iOS
B. All of the above
C. Chrome for Android
D. Firefox for Android

Correct Answer: Option B


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 store copies of web resources to reduce load times
D. To manage bookmarks

Correct Answer: Option C


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. All of the above
B. Google Workspace
C. Microsoft Office Online
D. Zoho Office

Correct Answer: Option A


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 enable virtual hosting by specifying the domain name
C. To define the content encoding
D. To indicate the client's hostname

Correct Answer: Option B


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. X-Frame-Options
C. Same-origin policy
D. Content-Security-Policy

Correct Answer: Option B


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 perform load balancing
B. To receive client requests and forward them to appropriate servers
C. To cache static content
D. To encrypt traffic

Correct Answer: Option B


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. NTP
B. DNS
C. SNTP
D. Both

Correct Answer: Option D


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 specify accessibility information
B. To link to external resources
C. To store private data for use in scripts
D. To define styles

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. All of the above
B. Seamonkey
C. Thunderbird
D. Firefox

Correct Answer: Option D


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 host websites
D. To design web pages

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. Proxy cache
B. Browser 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 provide a textual description for screen readers
C. To define image dimensions
D. To style the image

Correct Answer: Option B


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. Basic authentication
C. Bearer token
D. Digest authentication

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 create a hyperlink to an email address
B. To send an email directly from the server
C. To display a contact form
D. To open the user's default email client with a pre-addressed message

Correct Answer: Option D


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. Edge
B. Chrome
C. All of the above
D. Brave

Correct Answer: Option C


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 maintain state across multiple requests from the same user
B. To store static files
C. To manage database connections
D. To handle form submissions

Correct Answer: Option A


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. GitLab
B. GitHub
C. Bitbucket
D. All of the above

Correct Answer: Option D


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. Fast Transfer Protocol
B. Full Transfer Protocol
C. File Transmission Protocol
D. File Transfer Protocol

Correct Answer: Option D


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. All of the above
B. Input validation
C. Content Security Policy (CSP)
D. Output encoding

Correct Answer: Option A


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

This question belongs to: Computer Internet and Web Technologies