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 7 of 24
Question #121
What is the function of a VPN in the context of web browsing?
A. To provide a secure, encrypted tunnel for internet traffic
B. To block all ads
C. To cache web pages
D. To speed up browsing

Correct Answer: Option A


Explanation:
A VPN (Virtual Private Network) creates a secure, encrypted connection over the internet, protecting privacy and data from interception.

This question belongs to: Computer Internet and Web Technologies
Question #122
Which of the following is a common protocol for streaming media?
A. RTP
B. All of the above
C. RTMP
D. RTSP

Correct Answer: Option B


Explanation:
RTSP, RTP, and RTMP are all protocols used for streaming media, each serving different aspects of real-time data delivery.

This question belongs to: Computer Internet and Web Technologies
Question #123
What is the main purpose of a website's sitemap?
A. To store site backups
B. To track user behavior
C. To help search engines navigate and index the site
D. To display a list of all pages to users

Correct Answer: Option C


Explanation:
A sitemap is an XML file that lists a website's important pages, helping search engines to discover and crawl them more efficiently.

This question belongs to: Computer Internet and Web Technologies
Question #124
Which of the following is an example of a web-based collaborative platform?
A. Google Docs
B. Dropbox
C. All of the above
D. OneDrive

Correct Answer: Option C


Explanation:
Google Docs, Dropbox, and OneDrive all offer web-based collaboration and file sharing, allowing multiple users to work together.

This question belongs to: Computer Internet and Web Technologies
Question #125
What is a common use of the 'telnet' protocol?
A. Remote terminal connection
B. Email retrieval
C. File transfer
D. Web browsing

Correct Answer: Option A


Explanation:
Telnet is a network protocol used to provide a bidirectional interactive text-oriented communication facility using a virtual terminal connection.

This question belongs to: Computer Internet and Web Technologies
Question #126
Which of the following is a service that allows users to register domain names and host websites?
A. Search engine
B. Both a and b
C. Domain registrar
D. Web hosting provider

Correct Answer: Option B


Explanation:
Many companies offer both domain registration and web hosting services, so 'Both a and b' is correct.

This question belongs to: Computer Internet and Web Technologies
Question #127
What is the purpose of the 'Expires' header in HTTP?
A. To specify the maximum age of the resource
B. To control the cache
C. To indicate when the response is no longer valid
D. To set the expiration time of a cookie

Correct Answer: Option C


Explanation:
The Expires header gives the date/time after which the response is considered stale, used for caching control.

This question belongs to: Computer Internet and Web Technologies
Question #128
Which of the following is a technology used for server-side scripting?
A. PHP
B. CSS
C. HTML
D. JavaScript (client-side)

Correct Answer: Option A


Explanation:
PHP is a widely-used server-side scripting language for web development, while JavaScript is typically client-side, and CSS/HTML are for presentation and structure.

This question belongs to: Computer Internet and Web Technologies
Question #129
What is the role of a cookie in maintaining sessions?
A. To authenticate the user directly
B. To store user data on the server
C. To store a session identifier on the client
D. To encrypt session data

Correct Answer: Option C


Explanation:
Cookies often contain a session ID that is sent to the server with each request, allowing the server to associate the request with a specific user session.

This question belongs to: Computer Internet and Web Technologies
Question #130
Which of the following is a method for securing web applications against Cross-Site Request Forgery (CSRF)?
A. Output encoding
B. Using anti-CSRF tokens
C. Using HTTPS
D. Input validation

Correct Answer: Option B


Explanation:
Anti-CSRF tokens are a common defense, where a unique token is included in forms and validated on the server to ensure the request originates from the legitimate user.

This question belongs to: Computer Internet and Web Technologies
Question #131
What is the purpose of the 'link' tag in HTML?
A. To import a script
B. To embed a hyperlink
C. To include a style sheet
D. To define a relationship between the document and an external resource

Correct Answer: Option D


Explanation:
The tag is used to define relationships with external resources, such as stylesheets, icons, or preconnect, among others.

This question belongs to: Computer Internet and Web Technologies
Question #132
Which of the following is a popular open-source web server software?
A. Nginx
B. Tomcat
C. Apache HTTP Server
D. IIS

Correct Answer: Option C


Explanation:
Apache HTTP Server is one of the most widely used open-source web servers. Nginx is also open-source, but Apache is more traditionally associated with the open-source label.

This question belongs to: Computer Internet and Web Technologies
Question #133
What is the function of a web-based email client?
A. To manage calendar events
B. To store emails locally
C. To send and receive email through a web browser
D. To filter spam

Correct Answer: Option C


Explanation:
A web-based email client (e.g., Gmail, Outlook.com) allows users to access their email accounts through a browser without needing a dedicated email software.

This question belongs to: Computer Internet and Web Technologies
Question #134
Which of the following is a protocol for synchronizing email across multiple devices?
A. SMTP
B. POP3
C. IMAP
D. MIME

Correct Answer: Option C


Explanation:
IMAP synchronizes email folders and messages across devices, ensuring that actions on one device reflect on others, unlike POP3 which is typically download-and-delete.

This question belongs to: Computer Internet and Web Technologies
Question #135
What does the 'src' attribute define in an HTML img tag?
A. The source URL of the image
B. The alternative text
C. The image width
D. The image height

Correct Answer: Option A


Explanation:
The 'src' (source) attribute specifies the URL of the image file to be displayed.

This question belongs to: Computer Internet and Web Technologies
Question #136
Which of the following is a secure method to transfer files?
A. FTP
B. SFTP
C. HTTP
D. TFTP

Correct Answer: Option B


Explanation:
SFTP (SSH File Transfer Protocol) provides secure file transfer over SSH, encrypting both commands and data, unlike plain FTP and TFTP.

This question belongs to: Computer Internet and Web Technologies
Question #137
What is the purpose of a web browser's developer tools?
A. To block ads
B. To manage downloads
C. To change browser settings
D. To inspect, debug, and analyze web pages

Correct Answer: Option D


Explanation:
Developer tools allow web developers to inspect HTML/CSS, debug JavaScript, analyze network requests, and profile performance.

This question belongs to: Computer Internet and Web Technologies
Question #138
Which of the following is a widely used web framework for building RESTful APIs?
A. Django
B. Express.js
C. Ruby on Rails
D. All of the above

Correct Answer: Option D


Explanation:
Express.js (Node.js), Django (Python), and Ruby on Rails are all popular frameworks capable of building RESTful APIs.

This question belongs to: Computer Internet and Web Technologies
Question #139
What does the acronym JSON stand for?
A. JavaScript Oriented Notation
B. JavaScript Object Notation
C. Java Object Notation
D. Java Serialized Object Notation

Correct Answer: Option B


Explanation:
JSON stands for JavaScript Object Notation, a lightweight data-interchange format.

This question belongs to: Computer Internet and Web Technologies
Question #140
Which HTTP method is idempotent?
A. Both PUT and DELETE
B. POST
C. DELETE
D. PUT

Correct Answer: Option A


Explanation:
PUT and DELETE are idempotent: multiple identical requests have the same effect as a single request. POST is not idempotent.

This question belongs to: Computer Internet and Web Technologies