Notice: Due to an ongoing migration of our storage and publishing system, material requested since last month will not be uploaded for the time being, and new requests are paused. All existing notes remain available.
You're offline
Unit 11 MCQsInternet
DECAP145 ·
60 questions. Pick an option to check it.
A URL is a web address such as https://www.example.com used to locate resources on the Internet.
Question 8 of 60 · Hypertext · Easy
Hypertext allows users to:
Not quite. Try another option.
Answer: Jump to other documents by clicking links
Hypertext contains links that let users move from one document or page to another by clicking.
Question 9 of 60 · ISP · Easy
What does ISP stand for?
Not quite. Try another option.
Answer: Internet Service Provider
ISP stands for Internet Service Provider, a company that provides Internet access to users.
Question 10 of 60 · ISP · Easy
Which service does an ISP mainly provide?
Not quite. Try another option.
Answer: Access to the Internet
An ISP (Internet Service Provider) primarily provides customers with a connection to the Internet.
Question 11 of 60 · Web Server · Easy
What is the main role of a web server?
Not quite. Try another option.
Answer: To store and deliver web pages to users
A web server stores website files and delivers web pages to browsers when they are requested.
Question 12 of 60 · HTML · Easy
What does HTML stand for?
Not quite. Try another option.
Answer: HyperText Markup Language
HTML stands for HyperText Markup Language, the standard language used to create web pages.
Question 13 of 60 · HTML · Easy
HTML is mainly used to:
Not quite. Try another option.
Answer: Structure the content of web pages
HTML is a markup language used to define the structure and content of web pages.
Question 14 of 60 · DHTML · Easy
What does the D in DHTML stand for?
Not quite. Try another option.
Answer: Dynamic
DHTML stands for Dynamic HTML, which is used to create interactive and animated web pages.
Question 15 of 60 · XML · Easy
What does XML stand for?
Not quite. Try another option.
Answer: eXtensible Markup Language
XML stands for eXtensible Markup Language, used to store and transport data in a structured way.
Question 16 of 60 · Introduction to client side and server side scripting · Easy
Where does client-side scripting run?
Not quite. Try another option.
Answer: On the user's web browser
Client-side scripts run on the user's browser, while server-side scripts run on the web server.
Question 17 of 60 · Applications: WWW · Easy
What does WWW stand for?
Not quite. Try another option.
Answer: World Wide Web
WWW stands for World Wide Web, a system of linked web pages accessed over the Internet.
Question 18 of 60 · Applications: e-mail · Easy
E-mail is mainly used to:
Not quite. Try another option.
Answer: Send and receive messages electronically
E-mail (electronic mail) is a service used to send and receive messages over the Internet.
Question 19 of 60 · Applications: Instant Messaging · Easy
Instant Messaging allows users to:
Not quite. Try another option.
Answer: Exchange text messages in real time
Instant Messaging lets users send and receive text messages instantly in real time.
Question 20 of 60 · Applications: Video conferencing · Easy
Video conferencing mainly allows people to:
Not quite. Try another option.
Answer: Communicate with live audio and video
Video conferencing enables people in different locations to talk and see each other using live audio and video.
Question 21 of 60 · URL · Medium
In the URL https://shop.example.com:8080/products/item.html, which part represents the protocol?
Not quite. Try another option.
Answer: https
The portion before :// specifies the protocol. Here https is the protocol, shop.example.com is the domain, 8080 is the port, and /products/item.html is the path.
Question 22 of 60 · Homepage · Medium
A user types only www.college.edu (without any file name) and the site's main introductory page loads automatically. What is this page best called?
Not quite. Try another option.
Answer: The homepage
When no specific page is requested, the server returns the default main page of the site, known as the homepage. It acts as the entry point to the website.
Question 23 of 60 · Website vs Web Page · Medium
A student says, "Each recipe on the cooking site opens as a separate document." Each separate document is a and the whole collection is a .
Not quite. Try another option.
Answer: web page; website
A single document is a web page. A group of related web pages under one domain forms a website.
Question 24 of 60 · Hypertext · Medium
What core feature of hypertext lets a reader jump directly from one document to a related document instead of reading in a fixed order?
Not quite. Try another option.
Answer: Hyperlinks
Hypertext uses hyperlinks to connect documents non-sequentially, allowing users to navigate directly to related content rather than following a linear order.
Question 25 of 60 · ISP · Medium
A new user cannot access any website even though the browser and computer work fine. Which service provider is most directly responsible for granting Internet access?
Not quite. Try another option.
Answer: ISP
An Internet Service Provider (ISP) supplies the actual connection to the Internet. Without an ISP link, no external websites can be reached even if all local software works.
Question 26 of 60 · Web Server · Medium
When a browser requests a page, which component stores the site's files and sends them back in response to the request?
Not quite. Try another option.
Answer: The web server
A web server hosts website files and responds to client requests by delivering the requested resources over HTTP/HTTPS.
Question 27 of 60 · HTML · Medium
Which HTML element pairing would correctly create a clickable link to page2.html?
Not quite. Try another option.
Answer: <a href="page2.html">Go</a>
The anchor tag <a> with the href attribute defines a hyperlink in HTML. The other tag names and attribute forms are not valid link syntax.
Question 28 of 60 · DHTML · Medium
A menu expands when the mouse hovers over it, without reloading the page. Which combination of technologies typically produces this DHTML behavior?
Not quite. Try another option.
Answer: HTML + CSS + JavaScript
DHTML (Dynamic HTML) is not a single language; it combines HTML, CSS, and client-side JavaScript to change page content and style dynamically without reloading.
Question 29 of 60 · XML · Medium
Why is XML preferred over HTML for exchanging structured data between different applications?
Not quite. Try another option.
Answer: It lets you define custom tags to describe data
XML focuses on describing and structuring data using user-defined tags, making it ideal for data exchange. HTML tags are fixed and focus on displaying content.
Question 30 of 60 · Client side and server side scripting · Medium
A form validates that an email field is not empty before sending anything to the server. Where does this validation run?
Not quite. Try another option.
Answer: On the client side
Validation that happens in the browser before submission is client-side scripting (e.g., JavaScript). It reduces unnecessary requests, though server-side checks are still needed for security.
Question 31 of 60 · Client side and server side scripting · Medium
Which task must be handled by server-side scripting rather than client-side scripting?
Not quite. Try another option.
Answer: Querying a database for stored user records
Accessing a database resides on the server, so it requires server-side scripting. The other examples are visual/interactive changes handled by the browser (client side).
Question 32 of 60 · WWW · Medium
Which statement correctly distinguishes the WWW from the Internet?
Not quite. Try another option.
Answer: WWW is a service running on top of the Internet
The Internet is the global network infrastructure. The World Wide Web is one service (interlinked web pages via HTTP) that operates over that infrastructure.
Question 33 of 60 · e-mail · Medium
In an email address student@university.edu, what does the part after the @ symbol identify?
Not quite. Try another option.
Answer: The mail server domain
In an email address, the text before @ is the username and the text after @ identifies the domain of the mail server handling that account.
Question 34 of 60 · e-mail · Medium
You want a colleague to receive a copy of an email without other recipients seeing that they were included. Which field should you use?
Not quite. Try another option.
Answer: Bcc
Bcc (Blind Carbon Copy) sends a copy while hiding that address from all other recipients. Cc recipients are visible to everyone.
Question 35 of 60 · Instant Messaging · Medium
Which feature most clearly distinguishes Instant Messaging from traditional email?
Not quite. Try another option.
Answer: Real-time delivery with presence status
Instant Messaging delivers messages in real time and typically shows presence (online/offline/typing). Email is store-and-forward and not inherently real-time.
Question 36 of 60 · Internet Telephony · Medium
Internet Telephony (VoIP) lowers long-distance call costs mainly because it:
Not quite. Try another option.
Answer: Transmits voice as data packets over the Internet
VoIP converts voice into digital packets sent over the existing Internet connection, avoiding traditional per-minute telephone circuit charges.
Question 37 of 60 · Video conferencing · Medium
During a video conference the audio is clear but the video freezes repeatedly. Which factor is the most likely cause?
Not quite. Try another option.
Answer: Insufficient network bandwidth
Video streams need far more bandwidth than audio, so limited or unstable bandwidth causes video to freeze while lighter audio continues to play.
Question 38 of 60 · Browser · Medium
What is the primary job of a web browser?
Not quite. Try another option.
Answer: Request web resources and render HTML for display
A browser sends requests to web servers and interprets the returned HTML, CSS, and scripts to display pages. Hosting and address assignment are done by servers and DNS.
Question 39 of 60 · Web Browser & its environment · Medium
In a browser, which feature lets you save a page's address so you can revisit it quickly later?
Not quite. Try another option.
Answer: Bookmark
Bookmarks (favorites) store a page's URL for quick future access. The reload button refreshes the page and the status bar shows loading/link information.
Question 40 of 60 · URL · Medium
A page loads correctly through https://site.com but fails through http://site.com. What does this most likely indicate?
Not quite. Try another option.
Answer: The site is served only over the secure protocol
The difference is the protocol: https is secure (encrypted). If only https works, the server is configured to serve content over the secure protocol and rejects plain http.
Question 41 of 60 · URL · Hard
Consider the URL https://shop.example.com:8443/items?id=42#reviews. Which decomposition correctly maps the components to scheme, authority, path, query, and fragment?
The authority includes host and port (shop.example.com:8443). The path is /items, the query string follows ? (id=42), and the fragment follows # (reviews). Delimiters ://, ?, and # are separators, not part of the values.
Question 42 of 60 · Introduction to client side and server side scripting · Hard
A developer needs to validate a form's format instantly as the user types, then process the submission and store it in a database. Which allocation of scripting is most appropriate?
Not quite. Try another option.
Answer: Client-side scripting for instant format checks; server-side scripting for database processing
Client-side scripts run in the browser and give immediate feedback without a round trip. Database access and authoritative processing must occur on the server. Client-side validation alone is never trusted since it can be bypassed.
Question 43 of 60 · HTML · Hard
Why is client-side HTML/JavaScript validation considered insufficient for security even when correctly implemented?
Not quite. Try another option.
Answer: A user can disable or modify scripts and send crafted requests directly to the server
Client-side code executes in an environment the user controls, so it can be disabled or altered, and requests can be forged with tools. Server-side validation is the authoritative check that cannot be bypassed by the client.
Question 44 of 60 · XML · Hard
Which statement best captures the fundamental design difference between XML and HTML?
Not quite. Try another option.
Answer: XML is designed to carry and structure data with self-defined tags, while HTML is designed to display data with predefined tags
HTML has a fixed set of tags focused on presentation. XML has no predefined tags; authors define their own to describe and transport structured data, making it a data-carrying format rather than a display format.
Question 45 of 60 · DHTML · Hard
DHTML is best described as which of the following?
Not quite. Try another option.
Answer: A combination of HTML, CSS, and a client-side scripting language with the DOM to create dynamic pages
DHTML is not a language itself. It is a technique combining static HTML, CSS for styling, a scripting language such as JavaScript, and the Document Object Model to change content and style dynamically in the browser.
Question 46 of 60 · Web Server · Hard
A single physical web server hosts three sites: a.com, b.com, and c.com, all on the same IP address and port 80. What mechanism allows the server to serve the correct site for each request?
Not quite. Try another option.
Answer: The Host header in the HTTP request identifies the intended site (virtual hosting)
With name-based virtual hosting, multiple domains share one IP and port. The client sends the requested domain in the HTTP Host header, and the server uses it to route the request to the correct site's content.
Question 47 of 60 · Website · Hard
Which distinction between a web page and a website is technically accurate?
Not quite. Try another option.
Answer: A web page is a single document; a website is a collection of related web pages under one domain
A web page is one document accessible via a URL. A website is a set of interlinked web pages, typically sharing a domain and navigation, of which the homepage is the entry point.
Question 48 of 60 · Hypertext · Hard
What key property distinguishes hypertext from ordinary linear text?
Not quite. Try another option.
Answer: It contains links allowing non-sequential navigation to other text or documents
Hypertext embeds hyperlinks that let the reader jump directly to related content in any order, breaking the linear reading model. This non-sequential linking is the defining feature the Web is built upon.
Question 49 of 60 · ISP · Hard
A user can reach a website by its IP address 93.184.216.34 but not by its domain name. Which ISP-provided service is most likely failing?
Not quite. Try another option.
Answer: The DNS resolution service
If the raw IP works but the domain name does not, connectivity is fine but name-to-IP translation is broken. DNS, commonly provided by the ISP, resolves domain names into IP addresses, so a DNS failure produces exactly this symptom.
Question 50 of 60 · Browser · Hard
In a web browser's architecture, what is the primary role of the rendering engine?
Not quite. Try another option.
Answer: To parse HTML and CSS and paint the visual layout of the page
The rendering engine (e.g., Blink, Gecko) interprets HTML and CSS, builds the DOM and render tree, and draws the page on screen. Networking, DNS, and storage are handled by other browser components.
Question 51 of 60 · Internet Telephony · Hard
Internet telephony (VoIP) typically uses UDP rather than TCP for the media stream. Why is this trade-off usually preferred?
Not quite. Try another option.
Answer: Low latency matters more than perfect delivery, and UDP avoids retransmission delays
Real-time voice tolerates occasional lost packets but not delay. TCP's retransmission and ordering add latency that harms live conversation. UDP sends packets without such overhead, keeping the call responsive.
Question 52 of 60 · e-mail · Hard
In the standard email flow, which protocols are used for sending versus retrieving messages?
Not quite. Try another option.
Answer: SMTP is used to send mail; POP3 or IMAP is used to retrieve it
SMTP handles the transfer of outgoing mail between servers and from client to server. Clients retrieve messages from their mailbox using POP3 (download) or IMAP (server-synced access).
Question 53 of 60 · WWW · Hard
Which statement correctly describes the relationship between the Internet and the World Wide Web?
Not quite. Try another option.
Answer: The WWW is one service running on the Internet, which is the underlying global network
The Internet is the physical and logical network of interconnected computers. The WWW is one application layered on it, using HTTP to link documents. Email and VoIP are other services that also use the Internet.
Question 54 of 60 · Homepage · Hard
Within a single website, what precisely distinguishes the homepage from other pages?
Not quite. Try another option.
Answer: It is the default entry page served at the site's root and the main navigation hub
The homepage is the primary landing page returned when the site's root URL is requested. It typically serves as the starting point and links out to the rest of the site's content.
Question 55 of 60 · Instant Messaging · Hard
Why does a modern instant messaging service often keep a persistent connection or use push technology rather than having the client repeatedly poll the server?
Not quite. Try another option.
Answer: To deliver messages in near real time while reducing needless network requests
Frequent polling wastes bandwidth and adds delay between checks. A persistent connection or server push lets the server deliver new messages the instant they arrive, improving responsiveness and efficiency.
Question 56 of 60 · Video conferencing · Hard
Video conferencing systems commonly use codecs that discard some visual detail. What is the primary purpose of this lossy compression?
Not quite. Try another option.
Answer: To reduce bandwidth so video streams smoothly over limited connections
Raw video is far too large for typical links. Lossy codecs remove detail the eye is less likely to notice, shrinking the data rate enough to transmit live video within available bandwidth.
Question 57 of 60 · Web Browser & its environment · Hard
A page from bank.com uses JavaScript that tries to read data from a page loaded from evil.com. The browser blocks it. Which security model is responsible?
Not quite. Try another option.
Answer: The same-origin policy
The same-origin policy restricts scripts from one origin (scheme, host, port) from accessing content of a different origin. It prevents a malicious site from reading data belonging to another site loaded in the browser.
Question 58 of 60 · URL · Hard
A URL contains the space and special characters and & inside a query value. How must they be represented so the URL is valid?
Not quite. Try another option.
Answer: Percent-encoded, e.g. space as %20 and & as %26
Reserved and unsafe characters in URLs must be percent-encoded to avoid ambiguity. A space becomes %20 and an ampersand %26, since a literal & would otherwise be read as a query-parameter separator.
Question 59 of 60 · Web Server · Hard
A browser requests a page and receives HTTP status 304 Not Modified. What has effectively happened?
Not quite. Try another option.
Answer: The server confirmed the cached copy is still valid, so the browser reuses it
A 304 response, sent after a conditional request, tells the browser its cached version is unchanged. No body is transferred, saving bandwidth while the browser serves the resource from cache.
Question 60 of 60 · HTML · Hard
Which comparison between HTML and XML rules is correct?
Not quite. Try another option.
Answer: XML is strict and requires every tag to be closed and properly nested, while HTML is more forgiving of errors
XML is well-formedness strict: all elements must be closed and correctly nested, and it is case sensitive. HTML parsers are lenient and often render pages despite missing closing tags or minor errors.
That's unit 11
Answer a few questions and your score shows up here.
Nearly through. Did unit 11 of DECAP145 save you a night before the exam?
LPU Notes is free. A student pays for the servers.
Did unit 11 of DECAP145 save you a night before the exam?
Then you can help keep it free for the next batch. Ads cover part of the server bill;
the rest comes out of a student's own pocket: the domain, the storage, and keeping
the site up through the weeks everyone needs it at once.
The payment button didn't load. An ad blocker or a filtered network is the usual reason.
to try again.