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 block all ads
B. To provide a secure, encrypted tunnel for internet traffic
C. To speed up browsing
D. To cache web pages

Correct Answer: Option B


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. RTSP
B. RTP
C. RTMP
D. All of the above

Correct Answer: Option D


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 display a list of all pages to users
B. To help search engines navigate and index the site
C. To store site backups
D. To track user behavior

Correct Answer: Option B


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. Dropbox
B. All of the above
C. Google Docs
D. OneDrive

Correct Answer: Option B


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. Email retrieval
B. Web browsing
C. File transfer
D. Remote terminal connection

Correct Answer: Option D


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. Web hosting provider
B. Search engine
C. Both a and b
D. Domain registrar

Correct Answer: Option C


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 set the expiration time of a cookie
B. To control the cache
C. To specify the maximum age of the resource
D. To indicate when the response is no longer valid

Correct Answer: Option D


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. CSS
B. JavaScript (client-side)
C. HTML
D. PHP

Correct Answer: Option D


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 encrypt session data
B. To store a session identifier on the client
C. To authenticate the user directly
D. To store user data on the server

Correct Answer: Option B


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. Using HTTPS
B. Input validation
C. Output encoding
D. Using anti-CSRF tokens

Correct Answer: Option D


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 include a style sheet
C. To define a relationship between the document and an external resource
D. To embed a hyperlink

Correct Answer: Option C


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. Apache HTTP Server
B. Nginx
C. Tomcat
D. IIS

Correct Answer: Option A


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 send and receive email through a web browser
B. To manage calendar events
C. To filter spam
D. To store emails locally

Correct Answer: Option A


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. MIME
B. SMTP
C. IMAP
D. POP3

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 alternative text
B. The image height
C. The source URL of the image
D. The image width

Correct Answer: Option C


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. HTTP
B. TFTP
C. FTP
D. SFTP

Correct Answer: Option D


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 change browser settings
B. To manage downloads
C. To inspect, debug, and analyze web pages
D. To block ads

Correct Answer: Option C


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. All of the above
B. Django
C. Express.js
D. Ruby on Rails

Correct Answer: Option A


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. Java Object Notation
C. Java Serialized Object Notation
D. JavaScript Object Notation

Correct Answer: Option D


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. PUT
B. POST
C. DELETE
D. Both PUT and DELETE

Correct Answer: Option D


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