Chapter 12_StudyGuide
Chapter 12_StudyGuide
Quiz
1. Explain the relationship between the internet and the World Wide Web. How
are they different, and how does the web rely on the internet?
3. What is a URL, and what are its main components? Briefly describe the
function of the scheme, authority, path, and query parts of a URL.
4. Explain the purpose of HTTP and HTTPS. What is the key difference between
them, and why is HTTPS important for secure communication on the web?
5. Describe the function of three common HTTP methods (verbs) and two
common HTTP status codes. Provide a brief explanation of what each
indicates.
6. What are the three fundamental languages that web browsers understand
and use to construct websites? Briefly explain the primary role of each
language.
8. What is CSS, and how is it used to style web pages? Describe two ways CSS
rules can be applied to an HTML document.
10. What are XML and JSON, and what is their primary purpose in the context of
the web? Briefly describe one key difference between these two data
formats.
1. The internet is the underlying global network infrastructure that uses a suite
of protocols to connect computers. The World Wide Web is a system built on
top of the internet, specifically using HTTP to deliver resources. While the
internet is the transport mechanism, the web is the content and
applications accessed through it.
7. HTML tags are sets of characters enclosed in angle brackets (< >) that define
parts of an HTML document. An HTML element consists of a start tag, an end
tag (usually, indicated by a slash in the start tag, e.g., </p>), and the content
in between. For example, <p>This is text.</p> is a paragraph element, with
<p> as the start tag and </p> as the end tag, and "This is text." as the content.
10. XML (Extensible Markup Language) and JSON (JavaScript Object Notation)
are text-based data formats used for structuring and exchanging data on the
web, particularly for web services. A key difference is that XML uses markup
tags to describe data, making it more verbose, while JSON uses a key-value
pair structure similar to JavaScript objects, resulting in a more compact
format.
1. Discuss the evolution of the World Wide Web, highlighting key architectural
principles and the significance of its distributed and linked nature. How have
these attributes contributed to its widespread adoption and impact?
2. Compare and contrast HTTP and HTTPS, detailing the mechanisms behind
secure communication on the web. Explain the importance of HTTPS in
today's digital landscape and the factors driving its increasing adoption.
4. Evaluate the shift from primarily static websites to dynamic websites and
the recent trend back towards static site generation. Discuss the advantages
and disadvantages of each approach from both a development and
performance perspective.
5. Examine the impact of web browsers and web servers on the functionality
and accessibility of the World Wide Web. How have the evolution of browser
technologies and server-side capabilities shaped the user experience and
the development of web applications?
• HTTP (HyperText Transfer Protocol): The application layer protocol used for
transmitting web resources over the internet.
• Web Browser: A software application used to access, view, and interact with
content on the World Wide Web.
• CSS (Cascading Style Sheets): A style sheet language used to describe the
presentation and formatting of a document written in HTML or XML.
• Static Website: A website where the content (HTML, CSS, JavaScript files) is
stored on the server as is and served to the browser without server-side
processing for each request.
• Dynamic Website: A website where the server processes requests and
generates HTML (or other content) on the fly, often interacting with
databases.
• User Agent: A software application (like a web browser) that acts on behalf of
a user and makes requests to servers. The user agent string identifies the
browser and its environment.