On this page

IWT CAT-1: Scenario-Based MCQ Bank (300 Questions)

Internet & Web Technologies · Unit 1

IWT CAT-1 Scenario-Based MCQ Bank

Course: Introduction to Web Technologies (IWT) — 26CSE0106
Basis: User-provided CAT-1 syllabus and four supplied faculty PPTs
Format: Interactive 4-option MCQs with instant feedback, practice mode scoring, verified answers, and detailed explanations.
Total: 300 MCQs — 120 Easy, 120 Medium, and 60 Hard.

Instructions: Select an option to check your answer immediately. Use the Practice Mode bar to track your score, toggle solutions, or reset your answers.


Contents


Easy MCQs

Section Overview: 120 scenario-based questions (Q1–Q120) testing core understanding of easy syllabus topics.

Q1 [E001]. A college portal uses HTML to arrange headings and tables, CSS to style them, and JavaScript to respond to button clicks. Which technology primarily defines the page structure?

  • A. DNS
  • B. CSS
  • C. HTML
  • D. JavaScript

Answer: C
Explanation: HTML marks up the structure and meaning of webpage content.


Q2 [E002]. A student opens a webpage on a phone and laptop without installing a separate app. Which web characteristic most directly supports this cross-device access?

  • A. A requirement for one operating system
  • B. Use of a single hardware brand
  • C. Dependence on a desktop-only program
  • D. Platform independence through browser standards

Answer: D
Explanation: Standard web technologies run across many operating systems and device types when supported by the browser.


Q3 [E003]. A student says the Internet and WWW are exactly the same because both let people access information. Which correction is most accurate?

  • A. The Internet is a collection of webpages inside the WWW
  • B. The WWW transports every kind of network traffic
  • C. The WWW is one service that operates over the Internet
  • D. The Internet only exists inside browsers

Answer: C
Explanation: The Internet is the underlying network of networks; the Web is an information system that uses it.


Q4 [E004]. A history exhibit asks which network is widely recognised as an important precursor to the modern Internet. Which item belongs in the exhibit?

  • A. ARPANET
  • B. HTML5
  • C. CSSOM
  • D. HTTPS

Answer: A
Explanation: ARPANET was an early packet-switched network and an important precursor to the Internet.


Q5 [E005]. A museum timeline asks who proposed the World Wide Web at CERN in 1989. Which name should be shown?

  • A. Vint Cerf
  • B. Tim Berners-Lee
  • C. Bill Gates
  • D. Linus Torvalds

Answer: B
Explanation: Tim Berners-Lee proposed the Web while working at CERN in 1989.


Q6 [E006]. A developer wants a protocol suite that lets unlike networks communicate using common rules. Which suite is the foundation of Internet communication?

  • A. HTML/CSS
  • B. SQL/JSON
  • C. TCP/IP
  • D. PNG/JPEG

Answer: C
Explanation: TCP/IP provides the networking protocols and addressing/routing framework used across the Internet.


Q7 [E007]. A browser needs the address of a server from a name such as example.com. Which service helps resolve the name?

  • A. HTML
  • B. CSS
  • C. DNS
  • D. SMTP

Answer: C
Explanation: DNS stores and serves records used to resolve domain names, including records that provide IP addresses.


Q8 [E008]. A user sends a web request and expects data to come back from another system. Which architecture best describes this interaction?

  • A. Peerless rendering
  • B. Table-based layout
  • C. Static-only publishing
  • D. Client–server

Answer: D
Explanation: A client requests resources or services and a server supplies them.


Q9 [E009]. A web project uses HTML, CSS and JavaScript for everything visible and interactive in the browser. Which side is this mainly describing?

  • A. Frontend
  • B. Web hosting billing
  • C. Backend
  • D. DNS hierarchy

Answer: A
Explanation: Frontend code forms the user-facing interface and browser-side behaviour.


Q10 [E010]. A shopping site checks inventory and calculates an order total on the server. Which side usually performs this work?

  • A. HTML heading layer
  • B. Backend
  • C. DNS root zone
  • D. Browser address bar

Answer: B
Explanation: Backend logic processes application rules and data, often on a server.


Q11 [E011]. A small information site sends prebuilt HTML files to all visitors without per-user server-side page generation. What type best describes it?

  • A. Static website
  • B. Mail server
  • C. Database server
  • D. Dynamic website

Answer: A
Explanation: A static site normally serves prebuilt resources without generating page content per request on the server.


Q12 [E012]. A student dashboard displays different marks after retrieving each student's result from application logic. What type of website behaviour is this?

  • A. An absolute URL
  • B. A TLD lookup
  • C. A fixed image file only
  • D. Dynamic content

Answer: D
Explanation: The response is generated or populated based on user-specific data and application logic.


Q13 [E013]. A project team writes requirements before choosing the layout or coding. Which lifecycle stage are they performing?

  • A. Maintenance
  • B. Planning
  • C. Deployment
  • D. Monitoring

Answer: B
Explanation: Planning defines goals, requirements, resources and timelines before implementation.


Q14 [E014]. A designer produces wireframes and maps how students will navigate a college portal. Which lifecycle stage is this?

  • A. Testing
  • B. Design
  • C. Deployment
  • D. Monitoring

Answer: B
Explanation: Design plans the user interface, user experience and application structure.


Q15 [E015]. A developer writes the HTML, JavaScript and server-side program for a site. Which lifecycle stage is this?

  • A. Planning
  • B. Maintenance only
  • C. Monitoring
  • D. Development

Answer: D
Explanation: Development implements the application by writing and integrating code.


Q16 [E016]. A team checks links and login behaviour before releasing its website. Which lifecycle stage is this?

  • A. Testing
  • B. Feedback
  • C. Design
  • D. Deployment

Answer: A
Explanation: Testing verifies functionality and looks for defects before release.


Q17 [E017]. A finished website is moved to its live hosting environment for users. Which stage is occurring?

  • A. Design
  • B. Deployment
  • C. Requirements gathering
  • D. Planning

Answer: B
Explanation: Deployment makes the completed application available in its target environment.


Q18 [E018]. After launch, a team fixes bugs and updates dependencies. Which lifecycle stage describes this continuing work?

  • A. Maintenance
  • B. Initial planning
  • C. First-time development only
  • D. Wireframing

Answer: A
Explanation: Maintenance continues after launch through updates, bug fixes and improvements.


Q19 [E019]. A person types a website address and the software retrieves and displays the page. What software is acting as the web browser?

  • A. Google Chrome
  • B. An Ethernet switch
  • C. A DNS root server
  • D. A domain registrar

Answer: A
Explanation: A browser retrieves web resources and renders them for the user.


Q20 [E020]. A developer wants to inspect an element's HTML and test a different CSS colour temporarily. Which tool is most suitable?

  • A. A physical router console
  • B. A domain registrar dashboard
  • C. Browser Elements or Inspector panel
  • D. The website's DNS TLD registry

Answer: C
Explanation: The Elements/Inspector panel lets developers inspect DOM elements and experiment with CSS in the current page.


Q21 [E021]. A JavaScript error appears while a webpage runs. Which Developer Tools panel is the most direct place to start investigating it?

  • A. Application storage only
  • B. Address bar
  • C. Network
  • D. Console

Answer: D
Explanation: The Console displays JavaScript errors, warnings and logged messages.


Q22 [E022]. A site owner wants to see the request URL, response status and headers for a failed image. Which DevTools panel should be used?

  • A. Elements
  • B. Network
  • C. Responsive design ruler
  • D. Console only

Answer: B
Explanation: The Network panel records resource requests and exposes their status, headers and timing.


Q23 [E023]. A browser receives HTML from a server and turns it into a structured document representation. What does it build from the HTML?

  • A. DNS cache
  • B. DOM
  • C. TCP segment
  • D. TLD table

Answer: B
Explanation: The browser parses HTML to construct the Document Object Model, or DOM.


Q24 [E024]. A browser parses CSS rules into a representation used for styling. What is this representation called?

  • A. IP route table
  • B. HTTP body
  • C. DOM
  • D. CSSOM

Answer: D
Explanation: The CSS Object Model represents the parsed CSS rules.


Q25 [E025]. A browser needs to know the web address of the requested resource. Which component is the complete address identifier?

  • A. URL
  • B. Status code
  • C. CSS selector
  • D. HTML attribute name

Answer: A
Explanation: A URL specifies a resource location and commonly includes scheme and host, among other parts.


Q26 [E026]. A request to a server asks it to return a webpage without intentionally changing server state. Which HTTP method is most appropriate?

  • A. GET
  • B. DELETE
  • C. POST
  • D. PUT only

Answer: A
Explanation: GET is intended to retrieve a representation of a resource.


Q27 [E027]. A registration form submits newly entered details for processing. Which HTTP method is commonly used for this purpose?

  • A. GET only
  • B. TRACE
  • C. POST
  • D. DELETE

Answer: C
Explanation: POST submits content for processing and is commonly used with form submissions.


Q28 [E028]. An API client needs to replace the current representation of a resource at a known URL. Which method fits this intent?

  • A. HEAD only
  • B. OPTIONS only
  • C. PUT
  • D. GET

Answer: C
Explanation: PUT creates or replaces the state of the target resource at a specified URI.


Q29 [E029]. A user asks an API to remove a saved bookmark resource. Which HTTP method expresses that request?

  • A. GET
  • B. POST only
  • C. CONNECT
  • D. DELETE

Answer: D
Explanation: DELETE requests removal of the target resource.


Q30 [E030]. A request succeeds and the server returns the requested page normally. Which status code is the familiar generic success response?

  • A. 500 Internal Server Error
  • B. 200 OK
  • C. 404 Not Found
  • D. 301 Moved Permanently

Answer: B
Explanation: 200 indicates that the request succeeded.


Q31 [E031]. An API successfully creates a new account resource. Which status code most specifically signals creation?

  • A. 204 No Content
  • B. 403 Forbidden
  • C. 302 Found
  • D. 201 Created

Answer: D
Explanation: 201 is the standard success response indicating that a resource has been created.


Q32 [E032]. A request succeeds but the server intentionally returns no response body. Which status code is appropriate?

  • A. 404 Not Found
  • B. 200 OK with required HTML
  • C. 204 No Content
  • D. 502 Bad Gateway

Answer: C
Explanation: 204 indicates success with no response content.


Q33 [E033]. A page has moved permanently to a new address and the server redirects users. Which code commonly indicates this?

  • A. 200 OK
  • B. 503 Service Unavailable
  • C. 301 Moved Permanently
  • D. 400 Bad Request

Answer: C
Explanation: 301 represents permanent redirection.


Q34 [E034]. A browser asks for a page that does not exist at the requested path. Which code is the usual response?

  • A. 304 Not Modified
  • B. 404 Not Found
  • C. 500 Internal Server Error
  • D. 201 Created

Answer: B
Explanation: 404 indicates that the server cannot find the requested resource.


Q35 [E035]. A server encounters an unexpected internal failure while processing a valid request. Which status class applies?

  • A. 5xx
  • B. 1xx
  • C. 3xx
  • D. 2xx

Answer: A
Explanation: The 5xx class represents server errors.


Q36 [E036]. A browser sends a malformed request that the server cannot interpret. Which code is a typical response?

  • A. 200 OK
  • B. 503 Service Unavailable
  • C. 301 Moved Permanently
  • D. 400 Bad Request

Answer: D
Explanation: 400 indicates that the request has a client-side syntax or validity problem.


Q37 [E037]. A user has not authenticated, and the protected endpoint requests authentication. Which status is commonly associated with this condition?

  • A. 404 Not Found
  • B. 403 Forbidden
  • C. 401 Unauthorized
  • D. 204 No Content

Answer: C
Explanation: 401 means the request lacks valid authentication credentials or authentication is required.


Q38 [E038]. A logged-in user tries to access a resource but the server refuses permission. Which code most closely fits?

  • A. 304 Not Modified
  • B. 201 Created
  • C. 401 Unauthorized
  • D. 403 Forbidden

Answer: D
Explanation: 403 indicates that the server understands the request but refuses to fulfil it.


Q39 [E039]. A website applies a temporary redirect to a new location. Which code often represents a temporary redirect?

  • A. 302 Found
  • B. 301 Moved Permanently
  • C. 500 Internal Server Error
  • D. 404 Not Found

Answer: A
Explanation: 302 is commonly used for temporary redirection.


Q40 [E040]. A browser asks whether a cached copy is still current, and the server says it has not changed. Which code may be returned?

  • A. 304 Not Modified
  • B. 401 Unauthorized
  • C. 502 Bad Gateway
  • D. 201 Created

Answer: A
Explanation: 304 lets a client reuse its cached representation when it remains valid.


Q41 [E041]. A website is overloaded and cannot currently handle requests. Which status is commonly used?

  • A. 200 OK
  • B. 503 Service Unavailable
  • C. 400 Bad Request
  • D. 301 Moved Permanently

Answer: B
Explanation: 503 indicates temporary service unavailability, often due to overload or maintenance.


Q42 [E042]. A client sends too many requests within a rate limit window. Which status code is designed for this situation?

  • A. 201 Created
  • B. 404 Not Found
  • C. 429 Too Many Requests
  • D. 304 Not Modified

Answer: C
Explanation: 429 indicates rate limiting.


Q43 [E043]. A browser communicates with a site using TLS to protect data in transit. Which scheme normally appears in its URL?

  • A. ftp
  • B. http
  • C. file
  • D. https

Answer: D
Explanation: HTTPS is HTTP protected by TLS; HTTPS URLs use the https scheme.


Q44 [E044]. A simple HTTP website uses the standard default port when no port is written in its URL. Which port is it?

  • A. 80
  • B. 21
  • C. 443
  • D. 25

Answer: A
Explanation: The default port for HTTP is 80.


Q45 [E045]. A normal HTTPS site omits its port from the URL. Which default port is implied?

  • A. 21
  • B. 80
  • C. 443
  • D. 53

Answer: C
Explanation: The default port for HTTPS is 443.


Q46 [E046]. An HTTP request contains a method, target and HTTP version before its headers. What is this initial part called?

  • A. DNS answer section
  • B. Request line
  • C. Response body
  • D. HTML head

Answer: B
Explanation: The HTTP/1.x request line contains the method, request target and HTTP version.


Q47 [E047]. A server's HTTP response begins with its protocol version and status code. What is that first line called in HTTP/1.x?

  • A. Status line
  • B. Request line
  • C. Render tree
  • D. Query string

Answer: A
Explanation: The response status line communicates the HTTP version and status code.


Q48 [E048]. A response includes Content-Type: text/html. What does this header describe?

  • A. The media type of the response content
  • B. The CSS layout algorithm
  • C. The user's domain registrar
  • D. The HTTP port number

Answer: A
Explanation: Content-Type identifies the media type of the representation in the message body.


Q49 [E049]. A web application returns JSON and needs to tell the client what format is in the body. Which header is most relevant?

  • A. Host only
  • B. Accept-Encoding only
  • C. Referer only
  • D. Content-Type

Answer: D
Explanation: Content-Type describes the type of content being sent, such as application/json.


Q50 [E050]. A visitor types study.example.in into the address bar. Which system helps find DNS records for this domain name?

  • A. HTML parser
  • B. DNS
  • C. Web hosting invoice
  • D. CSSOM

Answer: B
Explanation: DNS resolves domain names using the distributed DNS namespace and its records.


Q51 [E051]. A site uses example.com, and the suffix .com appears after the final dot. What is .com called?

  • A. Top-Level Domain
  • B. Path
  • C. Query parameter
  • D. Fragment

Answer: A
Explanation: The rightmost label of a domain name is its top-level domain.


Q52 [E052]. A student website uses a domain ending in .in. Which country-code TLD does it use?

  • A. Australia
  • B. France
  • C. Japan
  • D. India

Answer: D
Explanation: .in is the country-code top-level domain for India.


Q53 [E053]. A university uses a domain ending in .edu. Which category is this extension commonly associated with, especially in the United States?

  • A. Educational institutions
  • B. Military only
  • C. Transport protocol
  • D. Image file type

Answer: A
Explanation: .edu is commonly associated with educational institutions, especially in the United States.


Q54 [E054]. A user requests https://example.com/products?id=12. What is id in this URL?

  • A. Scheme
  • B. TLD
  • C. Query parameter name
  • D. Port

Answer: C
Explanation: In ?id=12, id is the query parameter name and 12 is its value.


Q55 [E055]. A search URL ends with ?q=html. What does the question mark introduce?

  • A. The fragment
  • B. The HTTPS handshake
  • C. The domain name
  • D. The query string

Answer: D
Explanation: The question mark begins the query component of a URL.


Q56 [E056]. A URL contains ?category=books&sort=title. Which character separates the two query parameters?

  • A. Slash /
  • B. Ampersand &
  • C. Colon :
  • D. Hash #

Answer: B
Explanation: An ampersand is commonly used to separate query parameters in a query string.


Q57 [E057]. A page links to https://example.com/about.html. What kind of URL is this?

  • A. Query-only URL
  • B. Fragment-only URL
  • C. Absolute URL
  • D. Relative URL

Answer: C
Explanation: The URL includes a scheme and domain, providing a complete address.


Q58 [E058]. A page links to about.html, located relative to the current document. What kind of URL is it?

  • A. Relative URL
  • B. Absolute URL
  • C. TLD
  • D. DNS record

Answer: A
Explanation: A relative URL is resolved against a base URL rather than spelling out the full address.


Q59 [E059]. A website owner buys example.com but has not yet arranged a service to serve the website files. What is still needed for a conventional hosted site?

  • A. A different HTML doctype
  • B. Web hosting or a service that serves the site
  • C. A new TLD for every page
  • D. A browser extension

Answer: B
Explanation: The domain is the address; hosting or another serving platform must provide the site resources.


Q60 [E060]. Several small websites share resources on one physical server and hosting account. Which hosting type is this?

  • A. Shared hosting
  • B. Local browser storage
  • C. Dedicated hosting
  • D. Domain registration only

Answer: A
Explanation: Shared hosting places multiple sites on shared server resources.


Q61 [E061]. A business rents an entire physical server for its own use. Which hosting type describes this arrangement?

  • A. Dedicated hosting
  • B. Relative hosting
  • C. Query hosting
  • D. Shared hosting

Answer: A
Explanation: Dedicated hosting allocates a physical server to one customer.


Q62 [E062]. A developer receives a virtual machine with allocated resources and administrative control. Which hosting type does this resemble?

  • A. Shared email inbox
  • B. Browser-only hosting
  • C. VPS hosting
  • D. TLD hosting

Answer: C
Explanation: VPS hosting provides a virtual private server with allocated resources on physical infrastructure.


Q63 [E063]. A site is served from resources that can scale across cloud infrastructure. Which hosting category best matches?

  • A. Dedicated local HTML file only
  • B. POP3 hosting
  • C. Cloud hosting
  • D. CSS hosting

Answer: C
Explanation: Cloud hosting uses cloud infrastructure and can draw on distributed or scalable resources.


Q64 [E064]. A browser opens a file called index.html as the site's entry page. What is the common role of this filename?

  • A. Default or home page file
  • B. DNS root-server file
  • C. A query parameter
  • D. HTTP status file

Answer: A
Explanation: index.html is commonly configured as the default page of a website.


Q65 [E065]. A teacher adds <h1>Introduction</h1> to a document. What will the tag create?

  • A. A table cell
  • B. A paragraph
  • C. A level-one heading
  • D. A hyperlink

Answer: C
Explanation: h1 is the highest-level HTML heading element.


Q66 [E066]. A writer places a sentence inside <p>...</p>. Which element is being created?

  • A. Table row
  • B. Navigation region
  • C. Paragraph
  • D. Image

Answer: C
Explanation: The p element represents a paragraph.


Q67 [E067]. An HTML author writes <!-- draft note --> in a document. How should the browser treat it?

  • A. As a table header
  • B. As an HTML comment, not normal page text
  • C. As a hyperlink
  • D. As a level-one heading

Answer: B
Explanation: HTML comments are source annotations and are not rendered as normal page content.


Q68 [E068]. A webpage must link to a second page. Which HTML element is intended for hyperlinks?

  • A. <tr>
  • B. <img>
  • C. <a>
  • D. <meta>

Answer: C
Explanation: The anchor element creates hyperlinks, with href specifying the destination.


Q69 [E069]. An image appears broken, and the markup is <img src="logo.png" alt="College logo">. Which attribute names the image resource path?

  • A. href
  • B. src
  • C. alt
  • D. lang

Answer: B
Explanation: The src attribute provides the URL of an embedded image resource.


Q70 [E070]. A screen reader needs meaningful text for a university logo. Which image attribute provides alternative text?

  • A. charset
  • B. colspan
  • C. alt
  • D. src

Answer: C
Explanation: Alternative text is provided through the alt attribute.


Q71 [E071]. A page shows column titles such as Name and Marks in the first row of a table. Which cells are most semantically appropriate for those titles?

  • A. <td>
  • B. <caption>
  • C. <th>
  • D. <tr>

Answer: C
Explanation: th represents a header cell, while td represents a data cell.


Q72 [E072]. An HTML author creates a new row in a table. Which element should wrap that row's cells?

  • A. <tbody> only
  • B. <th>
  • C. <td>
  • D. <tr>

Answer: D
Explanation: The tr element represents a table row.


Q73 [E073]. A table cell must span two columns in a timetable. Which attribute should be used?

  • A. src="2"
  • B. rowspan="2"
  • C. colspan="2"
  • D. href="2"

Answer: C
Explanation: colspan specifies how many columns a cell spans.


Q74 [E074]. A table cell must cover three rows in a schedule. Which attribute is appropriate?

  • A. rowspan="3"
  • B. lang="3"
  • C. alt="3"
  • D. colspan="3"

Answer: A
Explanation: rowspan specifies how many rows a table cell spans.


Q75 [E075]. A developer wants a page to declare English as its primary language for assistive technology. Which markup is appropriate?

  • A. <html lang="en">
  • B. <p lang="html">
  • C. <body language="English">
  • D. <head href="en">

Answer: A
Explanation: The lang attribute on the root html element declares the document language.


Q76 [E076]. A page needs UTF-8 character encoding metadata in its head. Which element is suitable?

  • A. <img charset="UTF-8">
  • B. <tr charset="UTF-8">
  • C. <p charset="UTF-8">
  • D. <meta charset="UTF-8">

Answer: D
Explanation: The meta element can declare the document's character encoding.


Q77 [E077]. A browser tab displays the words “My Portal.” Which HTML element normally provides that text?

  • A. <title>
  • B. <footer>
  • C. <caption> only
  • D. <h1> only

Answer: A
Explanation: The title element supplies the document title shown in the browser tab or window title.


Q78 [E078]. A developer places stylesheet metadata and the document title in the top portion of an HTML document. Which section should contain these elements?

  • A. <head>
  • B. <footer>
  • C. <main>
  • D. <body>

Answer: A
Explanation: The head contains document metadata and references to resources such as stylesheets.


Q79 [E079]. A page's visible paragraphs, links and images must be placed in the main document content. Which element contains them?

  • A. <head>
  • B. <body>
  • C. <title>
  • D. <!DOCTYPE>

Answer: B
Explanation: The body contains the document's visible webpage content.


Q80 [E080]. A page needs a central landmark for its primary unique content. Which semantic element is most appropriate?

  • A. <main>
  • B. <figcaption>
  • C. <aside>
  • D. <footer>

Answer: A
Explanation: main identifies the document's dominant content, excluding repeated site-wide content such as navigation in typical structures.


Q81 [E081]. A college webpage groups its primary navigation links into one region. Which semantic element fits best?

  • A. <nav>
  • B. <mark>
  • C. <summary>
  • D. <time>

Answer: A
Explanation: nav groups navigation links.


Q82 [E082]. A page groups related material under the theme “Admission Process.” Which semantic element is a good fit?

  • A. <title>
  • B. <img>
  • C. <tr>
  • D. <section>

Answer: D
Explanation: section groups thematically related content, typically with a heading.


Q83 [E083]. A blog post should make sense independently if syndicated or reused elsewhere. Which semantic element is designed for self-contained content?

  • A. <head>
  • B. <aside>
  • C. <article>
  • D. <nav>

Answer: C
Explanation: article represents self-contained content such as a blog post or news item.


Q84 [E084]. A college website places a short related-information sidebar beside an article. Which element most directly suits that complementary content?

  • A. <th>
  • B. <main>
  • C. <aside>
  • D. <title>

Answer: C
Explanation: aside represents content indirectly related to its surrounding content, such as a sidebar.


Q85 [E085]. A developer adds a logo and introductory heading to the start of a page section. Which semantic element may hold them?

  • A. <header>
  • B. <mark>
  • C. <tbody>
  • D. <footer>

Answer: A
Explanation: A header can contain introductory content, headings, logos and navigation-related content.


Q86 [E086]. A webpage ends with copyright information and contact details. Which semantic element is most suitable?

  • A. <nav>
  • B. <footer>
  • C. <header>
  • D. <figure>

Answer: B
Explanation: A footer commonly contains copyright, author or contact information.


Q87 [E087]. A report presents a diagram as a self-contained item and needs a caption for it. Which element contains the caption?

  • A. <figcaption>
  • B. <section>
  • C. <summary>
  • D. <figure>

Answer: A
Explanation: figcaption provides a caption for content inside a figure element.


Q88 [E088]. A page highlights the phrase “Important deadline” in the style of a highlighter. Which element is intended for highlighted text?

  • A. <nav>
  • B. <small>
  • C. <mark>
  • D. <sub>

Answer: C
Explanation: mark represents text highlighted for reference or relevance.


Q89 [E089]. A chemistry page displays H₂O with the 2 lowered. Which HTML element is appropriate for the lowered character?

  • A. <sub>
  • B. <sup>
  • C. <strong>
  • D. <mark>

Answer: A
Explanation: sub displays subscript text.


Q90 [E090]. A mathematics page displays x² with the 2 raised. Which HTML element fits the raised character?

  • A. <small>
  • B. <sub>
  • C. <sup>
  • D. <aside>

Answer: C
Explanation: sup displays superscript text.


Q91 [E091]. An author wants text to carry strong importance, not merely bold visual styling. Which element is best?

  • A. <strong>
  • B. <b>
  • C. <small>
  • D. <i>

Answer: A
Explanation: strong conveys strong importance; b draws attention without the same semantic emphasis.


Q92 [E092]. An author wants to stress a word so that the sentence's meaning receives emphasis. Which element is appropriate?

  • A. <i>
  • B. <em>
  • C. <code>
  • D. <u>

Answer: B
Explanation: em represents stress emphasis in the text.


Q93 [E093]. A page contains a date that should be identified in machine-readable markup where appropriate. Which HTML element may be used?

  • A. <tr>
  • B. <time>
  • C. <aside>
  • D. <mark>

Answer: B
Explanation: time represents a date or time and can include a machine-readable datetime attribute.


Q94 [E094]. A developer needs a collapsible disclosure widget with a visible summary line. Which elements work together for this basic pattern?

  • A. <details> and <summary>
  • B. <figure> and <figcaption>
  • C. <table> and <caption>
  • D. <header> and <footer>

Answer: A
Explanation: details creates a disclosure widget and summary provides its summary or clickable label.


Q95 [E095]. An HTML5 page should embed audio without relying on a proprietary external plugin. Which element is designed for this?

  • A. <meta>
  • B. <section> only
  • C. <table>
  • D. <audio>

Answer: D
Explanation: The audio element embeds audio content directly in the page.


Q96 [E096]. A webpage should embed a video with optional captions. Which pair is relevant?

  • A. <nav> and <aside>
  • B. <video> and <track>
  • C. <img> and <th>
  • D. <title> and <meta>

Answer: B
Explanation: video embeds video, while track can provide timed text such as captions or subtitles.


Q97 [E097]. A browser needs to know the document's expected viewport width for a responsive mobile layout. Which metadata is commonly used?

  • A. <meta name="TLD" content="mobile">
  • B. <screen width="mobile">
  • C. <viewport>
  • D. <meta name="viewport" content="width=device-width, initial-scale=1.0">

Answer: D
Explanation: The viewport meta element helps mobile browsers establish the layout viewport and initial scale.


Q98 [E098]. A website must keep site-wide navigation separate from the central page content for semantic clarity. Which combination is most appropriate?

  • A. <title> for navigation and <tr> for primary content
  • B. <img> for navigation and <meta> for primary content
  • C. <nav> for navigation and <main> for primary content
  • D. <footer> for all content

Answer: C
Explanation: nav marks navigation links, while main marks the document's main content.


Q99 [E099]. A developer writes <a href="about.html">About</a>. Which attribute contains the destination URL?

  • A. alt
  • B. src
  • C. colspan
  • D. href

Answer: D
Explanation: The anchor's href attribute specifies the hyperlink destination.


Q100 [E100]. A developer writes <img src="campus.jpg" alt="Main campus">. What is the role of alt?

  • A. Changes the image into a hyperlink automatically
  • B. Specifies the image URL
  • C. Creates a table row
  • D. Provides text alternative for the image

Answer: D
Explanation: alt gives text that can replace or describe the image when it cannot be seen or loaded.


Q101 [E101]. A page includes <div>Related Links</div>, but its role is clearly a navigation region. Which semantic replacement most directly conveys that role?

  • A. <mark>Related Links</mark>
  • B. <td>Related Links</td>
  • C. <nav>Related Links</nav>
  • D. <time>Related Links</time>

Answer: C
Explanation: nav conveys the semantic purpose of a navigation block, unlike a generic div.


Q102 [E102]. A web designer wants a list of three items to appear as numbered steps. Which element type should be chosen for the list container?

  • A. <figure>
  • B. <ol>
  • C. <ul>
  • D. <nav>

Answer: B
Explanation: An ordered list uses ol and commonly displays numbered items; this is supplemental faculty-PPT content.


Q103 [E103]. A page needs a simple bullet list of materials without a sequence. Which container should be used?

  • A. <ul>
  • B. <caption>
  • C. <tr>
  • D. <ol>

Answer: A
Explanation: An unordered list uses ul; the list's order is not intended to convey sequence.


Q104 [E104]. A list item such as “HTTP” must be placed within an HTML list. Which element represents each item?

  • A. <li>
  • B. <td>
  • C. <figcaption>
  • D. <th>

Answer: A
Explanation: li represents an item in an ordered or unordered list.


Q105 [E105]. A page needs a caption or title associated with an HTML table. Which element is designed for that purpose?

  • A. <summary>
  • B. <title>
  • C. <label>
  • D. <caption>

Answer: D
Explanation: caption provides a caption for a table.


Q106 [E106]. A table groups rows containing the main dataset. Which element typically wraps those rows?

  • A. <head>
  • B. <tfoot>
  • C. <thead>
  • D. <tbody>

Answer: D
Explanation: tbody groups the main body rows of a table.


Q107 [E107]. A data table groups header rows separately from its data rows. Which table section can wrap the header rows?

  • A. <body>
  • B. <tbody>
  • C. <thead>
  • D. <tfoot>

Answer: C
Explanation: thead groups the table's header rows.


Q108 [E108]. A site must display a task completion indicator with a value of 70 out of 100. Which HTML element is designed for progress indication?

  • A. <mark value="70">
  • B. <time value="70">
  • C. <td value="70">
  • D. <progress value="70" max="100">

Answer: D
Explanation: progress represents the completion progress of a task; it appears in the faculty PPT as supplementary HTML5 content.


Q109 [E109]. A client-side page draws graphics dynamically using JavaScript in a defined drawing area. Which element is associated with this task?

  • A. <caption>
  • B. <meta>
  • C. <canvas>
  • D. <footer>

Answer: C
Explanation: canvas exposes a drawing surface that scripts can use for graphics.


Q110 [E110]. A web team wants users to post videos and comments rather than only read publisher-written pages. Which Web generation is most commonly associated with this participatory pattern?

  • A. Web 1.0
  • B. Web 2.0
  • C. HTTP/1.1
  • D. HTML 2.0

Answer: B
Explanation: Web 2.0 is associated with user-generated content, participation, sharing and collaboration.


Q111 [E111]. A developer wants a page to work without a plugin for basic embedded video. Which HTML era is associated with native audio and video support?

  • A. CSSOM
  • B. HTML 2.0
  • C. HTML5
  • D. ARPANET

Answer: C
Explanation: HTML5 added native multimedia capabilities including audio and video elements.


Q112 [E112]. A site sends files but does not generate personalised page content. Which benefit is commonly associated with this static approach?

  • A. Lower serving complexity and often fast delivery
  • B. Mandatory database use
  • C. More server-side page generation for every user
  • D. Automatic user authentication

Answer: A
Explanation: Static sites often serve prebuilt assets and can be simple and fast to host.


Q113 [E113]. An online document editor lets many users collaborate in a browser. Which category from the faculty slides describes this application?

  • A. A DNS TLD
  • B. An HTTP status class
  • C. Cloud-based web application
  • D. A table row

Answer: C
Explanation: Cloud applications such as collaborative online document editors are a common web-technology application.


Q114 [E114]. A developer needs to examine HTML structure, change CSS temporarily and test a responsive viewport. Which general tool family supports these tasks?

  • A. Email retrieval software
  • B. Domain registrar records only
  • C. A physical Ethernet cable
  • D. Browser Developer Tools

Answer: D
Explanation: Browser DevTools includes inspection, live style editing, debugging, network analysis and responsive testing.


Q115 [E115]. A user wants to visit a page at /help on the current domain, but the browser is currently on another site. Which type of reference avoids needing to depend on the current site's host?

  • A. Fragment only
  • B. Query parameter only
  • C. Absolute URL
  • D. Relative URL only

Answer: C
Explanation: An absolute URL supplies the full scheme and host, so it does not depend on the current document's host.


Q116 [E116]. A domain ends with .org, a common extension used by many nonprofit organisations. What is the .org component?

  • A. HTML attribute
  • B. Top-Level Domain
  • C. Transport protocol
  • D. HTTP method

Answer: B
Explanation: .org is a top-level domain commonly associated with organisations, including many non-profits.


Q117 [E117]. A webpage uses <h1> for the main title and <h2> for subsections. Which principle is the author following?

  • A. A logical heading hierarchy
  • B. A DNS resolution sequence
  • C. A table cell spanning rule
  • D. An HTTP request line

Answer: A
Explanation: Heading levels communicate the hierarchical structure of content.


Q118 [E118]. A site must display a standalone article and a related tip box. Which tag is most suitable for the tip box?

  • A. <title>
  • B. <article> only
  • C. <tbody>
  • D. <aside>

Answer: D
Explanation: aside marks complementary content such as a related tip or sidebar.


Q119 [E119]. An author uses <u> to mark a phrase with an annotation conventionally shown as underlined. What should they remember?

  • A. It creates an HTML table row
  • B. It is the standard element for DNS resolution
  • C. The element's meaning is not simply “make any text look nice”; CSS is available for pure styling
  • D. It encrypts the document

Answer: C
Explanation: HTML semantics should reflect purpose; CSS should handle purely visual styling.


Q120 [E120]. A page shows a caption “Figure 1: Network Layout” beneath a diagram inside <figure>. Which element holds that caption?

  • A. <summary>
  • B. <figcaption>
  • C. <caption>
  • D. <label>

Answer: B
Explanation: figcaption labels the content within a figure; caption is used for a table caption.


Medium MCQs

Section Overview: 120 scenario-based questions (Q121–Q240) testing core understanding of medium syllabus topics.

Q121 [M001]. A visitor opens a portal, but the page looks unstyled while its text is present. The Network panel shows the HTML loaded and the CSS file returned 404. Which diagnosis best fits?

  • A. DNS failed before any HTTP request could occur
  • B. The server returned 204 for every file
  • C. The browser cannot construct a DOM from HTML
  • D. The HTML request succeeded but the stylesheet resource was not found

Answer: D
Explanation: The HTML can render without its CSS, while a 404 for the stylesheet explains the missing styling.


Q122 [M002]. A student edits a webpage in DevTools and changes a button colour. After reloading, the old colour returns. What is the most likely explanation?

  • A. The browser has converted the CSS into DNS records
  • B. The change was made locally in DevTools and was not saved to the site's source
  • C. CSS changes in DevTools automatically overwrite server files
  • D. The website's TLD has changed

Answer: B
Explanation: DevTools edits are normally temporary experiments in the current browser session unless the source is changed separately.


Q123 [M003]. A webpage loads slowly. The developer sees HTML, CSS and JavaScript requests in the Network panel and wants to identify which resource takes the longest. Which feature is most helpful?

  • A. Request timing and waterfall in Network
  • B. The lang attribute in HTML
  • C. The domain's TLD label
  • D. The colspan attribute

Answer: A
Explanation: The Network panel exposes request timing and a waterfall view for diagnosing slow resources.


Q124 [M004]. A browser needs to display a page whose HTML contains headings and whose CSS controls their colour and spacing. Which sequence best represents the initial render pipeline?

  • A. Paint the page, then ask DNS to create the DOM
  • B. Run the table layout first and use the response body as the URL
  • C. Parse HTML into DOM and CSS into CSSOM, combine relevant information, perform layout, paint and composite
  • D. Build the CSSOM from the HTTP status code, then resolve the TLD

Answer: C
Explanation: The simplified pipeline constructs DOM and CSSOM, forms render information, calculates layout, paints and composites.


Q125 [M005]. A responsive webpage has correct HTML and CSS but a phone shows the layout as if it were a zoomed-out desktop page. Which missing metadata is a likely cause?

  • A. Viewport meta element
  • B. A tfoot element
  • C. A DNS MX record
  • D. An HTTP 404 response

Answer: A
Explanation: The viewport meta tag helps a mobile browser choose an appropriate layout viewport and initial scale.


Q126 [M006]. A developer must distinguish a browser-side JavaScript error from a failed server response. Which pair of panels gives the most direct initial evidence?

  • A. Sources for DNS TLD registration and Elements for IP routes
  • B. Performance for editing HTML and Console for hosting payment
  • C. Console for JavaScript errors and Network for HTTP responses
  • D. Elements for status codes and Application for HTTP verbs only

Answer: C
Explanation: Console reports JavaScript errors, while Network records response status and headers.


Q127 [M007]. A helpdesk says every browser request is independent unless the application adds state management. Which HTTP property is being described?

  • A. Semantic markup
  • B. Domain integration
  • C. Statelessness
  • D. Compositing

Answer: C
Explanation: HTTP is stateless at the protocol level; applications may maintain state with cookies, tokens or other mechanisms.


Q128 [M008]. A frontend form sends JSON in the request body. The server receives the body but cannot tell its intended media type from the header. Which header should the client set?

  • A. Content-Type: application/json
  • B. Location: application/json
  • C. Host: application/json
  • D. Accept: text/html only

Answer: A
Explanation: Content-Type describes the representation format of the request body.


Q129 [M009]. An API client wants to tell a server that it can accept JSON in the response. Which request header expresses that preference?

  • A. Content-Type: application/json only
  • B. Accept: application/json
  • C. Set-Cookie: application/json
  • D. Status: 200

Answer: B
Explanation: Accept communicates media types the client is willing to receive.


Q130 [M010]. A request begins with GET /results?id=7 HTTP/1.1. Which part identifies the resource path and query string?

  • A. /results?id=7
  • B. GET
  • C. The response body
  • D. HTTP/1.1

Answer: A
Explanation: The request target includes the path and query component; the method and protocol version are separate fields.


Q131 [M011]. A web server replies HTTP/1.1 404 Not Found. What is the best interpretation of this response line?

  • A. HTTP/1.1 is the version, 404 is the status code, and the phrase describes the outcome
  • B. The response contains only an HTML document title
  • C. 404 is the request method and the version is the query parameter
  • D. The server has necessarily experienced a server-side crash

Answer: A
Explanation: The HTTP/1.x status line carries protocol version, status code and a reason phrase.


Q132 [M012]. A developer receives a 405 after sending DELETE to /profile. Which conclusion is most appropriate?

  • A. The IP address is always incorrect
  • B. The domain has no TLD
  • C. The request was successful and the profile was deleted
  • D. The resource does not allow that method; inspect the supported methods and endpoint design

Answer: D
Explanation: 405 means the method is not allowed for the target resource; the request did not simply succeed.


Q133 [M013]. A student repeats the same PUT request to set a student's display name to “Riya.” The intended resource state stays the same after the second request. Which HTTP property does this illustrate?

  • A. Idempotence
  • B. DNS recursion
  • C. Confidentiality
  • D. Semantic structure

Answer: A
Explanation: PUT is defined as idempotent: repeating an identical request has the same intended effect as doing it once.


Q134 [M014]. A shopping API receives POST /orders twice after a client retries due to a timeout. It creates two order records. Which statement best explains why clients must be careful with retries?

  • A. POST must always return 404
  • B. HTTP status codes do not apply to POST
  • C. POST is not generally guaranteed to be idempotent
  • D. POST is always a safe read-only method

Answer: C
Explanation: POST does not have a general idempotence guarantee; retries can cause repeated side effects if the API lacks deduplication.


Q135 [M015]. A client sends DELETE to /saved-items/55, and then sends the same request again. Which standards-based property applies to DELETE?

  • A. It is defined as idempotent, even if repeated responses can differ
  • B. It is a request for retrieving a resource only
  • C. It must create a second saved item
  • D. It is guaranteed to return 200 every time

Answer: A
Explanation: DELETE is idempotent in intended effect; a later attempt may return a different status because the resource is already gone.


Q136 [M016]. A server returns 204 after a successful operation. The frontend throws an error while trying to parse JSON from the body. What explains the problem?

  • A. 204 indicates a permanent redirect with a JSON body
  • B. 204 means DNS could not resolve the domain
  • C. 204 indicates no response content, so the client should not expect a JSON body
  • D. 204 requires a full HTML document

Answer: C
Explanation: A 204 response has no response content; parsing an expected JSON body is inappropriate.


Q137 [M017]. A browser receives 304 after validating a cached resource. What should the client generally do?

  • A. Reuse the cached representation if applicable
  • B. Display a server crash page
  • C. Repeat the same URL as a DELETE request
  • D. Treat it as a newly created resource

Answer: A
Explanation: 304 indicates the cached representation remains valid, allowing the client to reuse it.


Q138 [M018]. An API call returns 401. The user is signed out, and the endpoint requires valid credentials. What is the most relevant next action?

  • A. Change the request to a random URL path
  • B. Change the CSS render tree
  • C. Replace the site's semantic HTML
  • D. Authenticate or refresh valid credentials

Answer: D
Explanation: 401 indicates that valid authentication credentials are missing or unacceptable.


Q139 [M019]. An authenticated student receives 403 for a restricted admin route. Which next step is most appropriate?

  • A. Check authorisation and the user's permissions
  • B. Assume the resource never existed
  • C. Treat the response as a successful redirect
  • D. Change the DNS TLD to .com

Answer: A
Explanation: 403 means the server refuses access, often because the authenticated principal lacks permission.


Q140 [M020]. A web gateway receives an invalid response from an upstream server. Which status code is the most specific match?

  • A. 201 Created
  • B. 502 Bad Gateway
  • C. 404 Not Found
  • D. 304 Not Modified

Answer: B
Explanation: 502 indicates that a gateway or proxy received an invalid response from an upstream server.


Q141 [M021]. A gateway waits for an upstream server but the response does not arrive in time. Which code is the best fit?

  • A. 504 Gateway Timeout
  • B. 401 Unauthorized
  • C. 502 Bad Gateway
  • D. 301 Moved Permanently

Answer: A
Explanation: 504 specifically represents an upstream timeout at a gateway or proxy.


Q142 [M022]. An API works for small traffic but returns 429 when one client sends hundreds of requests quickly. What should the client infer?

  • A. The HTML document has an invalid closing tag
  • B. A rate limit has likely been exceeded
  • C. The TLD server is always down
  • D. The request method changed from GET to PUT automatically

Answer: B
Explanation: 429 signals too many requests and commonly prompts rate limiting or backoff.


Q143 [M023]. An application team needs to separate presentation, business logic and data storage into independently maintained layers. Which architecture best matches this goal?

  • A. Three-tier architecture
  • B. Two-tier architecture only
  • C. A static document with no layers
  • D. A DNS hierarchy

Answer: A
Explanation: Three-tier architecture separates presentation, application/business logic and database layers.


Q144 [M024]. A small desktop application connects directly to a database server with business logic mostly on the client. Which classic architecture does this most resemble?

  • A. Three-tier architecture with a separate application server
  • B. Browser render-tree architecture
  • C. DNS recursion architecture
  • D. Two-tier client–server architecture

Answer: D
Explanation: Two-tier architecture separates the client and server, often with direct client-to-database-server interaction.


Q145 [M025]. A company wants business logic moved out of the browser-facing client so it can be centrally managed. Which architecture change most directly supports that goal?

  • A. Put all data inside the URL fragment
  • B. Replace DNS with HTML
  • C. Use only a footer element
  • D. Introduce an application layer between presentation and database

Answer: D
Explanation: A three-tier design places business logic in a separate application layer.


Q146 [M026]. A web application must show each student's own marks after verifying identity and querying stored records. Which flow is most plausible?

  • A. The browser searches the TLD for the student's marks without a server
  • B. The URL fragment carries the entire database automatically
  • C. Browser sends a request, server-side logic accesses the data source, then a response is returned
  • D. CSS directly queries the database through the DOM

Answer: C
Explanation: A typical result workflow is request, server-side processing/data access, response, and browser rendering.


Q147 [M027]. A team changes the logo in a static site and must publish the updated asset or file to make it visible to everyone. What characteristic does this reflect?

  • A. Every static website must query a database per request
  • B. A static site cannot have hyperlinks
  • C. A static website cannot include JavaScript
  • D. The served files are generally prebuilt and updated through deployment or file replacement

Answer: D
Explanation: Static websites can have client-side interaction, but their server-delivered resources are usually prebuilt.


Q148 [M028]. A webpage uses JavaScript to filter a list already downloaded to the browser, without server-side generation. Does that automatically make it a dynamic website in the server-side distinction used in the notes?

  • A. Yes; any JavaScript makes the website server-generated
  • B. No; browser interaction alone does not mean the server generates dynamic content
  • C. No; HTML cannot respond to user actions
  • D. Yes; CSS animation turns static hosting into a backend

Answer: B
Explanation: In the course's static-versus-dynamic distinction, the key issue is server-side generation/data processing, not whether the client has interaction.


Q149 [M029]. A university wants every page to display the same newly updated navigation menu from one shared template. Which approach helps centralise the change?

  • A. Use a shared template or component in a dynamic site architecture
  • B. Use a DNS PTR record as the navigation menu
  • C. Put menu names only in a URL query string
  • D. Manually edit each unrelated copy without checking consistency

Answer: A
Explanation: Server-side templates or shared components can apply a common change across pages; the exact approach depends on the stack.


Q150 [M030]. A developer is at the stage of collecting user reviews and tracking availability after launch. Which lifecycle activities are being performed?

  • A. Design only
  • B. Pre-release development only
  • C. Initial planning only
  • D. Feedback and monitoring

Answer: D
Explanation: The faculty lifecycle includes feedback to gather suggestions and monitoring to track performance, security and availability.


Q151 [M031]. A team defines deadlines, required features and people available before development begins. Which lifecycle phase is best described?

  • A. Maintenance
  • B. Deployment
  • C. Planning
  • D. Testing

Answer: C
Explanation: Planning identifies objectives, requirements, timelines and resources.


Q152 [M032]. A software team verifies performance requirements and checks for bugs before launch. Which lifecycle stage is most relevant?

  • A. Design
  • B. Testing
  • C. Feedback
  • D. Deployment

Answer: B
Explanation: Testing checks that the application works as intended and satisfies functional and performance requirements.


Q153 [M033]. A website is live and being watched for downtime, response speed and security issues. Which lifecycle activity does this represent?

  • A. Monitoring
  • B. Wireframing
  • C. Markup validation only
  • D. Planning

Answer: A
Explanation: Monitoring tracks ongoing performance, security and availability after deployment.


Q154 [M034]. A resolver can answer a hostname from its cache. Does it always need to contact the root, TLD and authoritative DNS servers for that lookup?

  • A. Yes; DNS caches are never used
  • B. Yes; each lookup must contact every server in strict order
  • C. No; browsers cannot use DNS
  • D. No; cached information can eliminate some or all upstream queries

Answer: D
Explanation: Cached answers and cached delegation records can avoid parts of the full iterative resolution path.


Q155 [M035]. A laptop asks a recursive DNS resolver for portal.example.edu. The resolver has no cached answer. Which sequence best describes the simplified iterative lookup?

  • A. CSSOM, DOM, root, and database
  • B. Authoritative server, browser cache, then root referral in reverse
  • C. Root referral, TLD referral, authoritative answer, then return the result
  • D. HTTP response first, then TLD, then HTML parsing

Answer: C
Explanation: Without cache, the resolver can follow referrals from root to TLD to authoritative servers and return the answer.


Q156 [M036]. A DNS response gives an A record for a domain. What type of data does an A record provide?

  • A. An IPv6 address
  • B. An IPv4 address
  • C. A mail server preference only
  • D. A canonical alias only

Answer: B
Explanation: An A record maps a name to an IPv4 address.


Q157 [M037]. A DNS response gives an AAAA record for a hostname. What does the record represent?

  • A. An IPv4 address
  • B. An IPv6 address
  • C. An HTML page title
  • D. A web server's TLS certificate body

Answer: B
Explanation: An AAAA record maps a name to an IPv6 address.


Q158 [M038]. A site operator wants one hostname to act as an alias for another hostname. Which DNS record type is commonly used for that purpose?

  • A. A
  • B. TXT only
  • C. MX only
  • D. CNAME

Answer: D
Explanation: A CNAME record aliases one DNS name to another name, subject to DNS rules.


Q159 [M039]. An email service needs DNS to identify mail servers for a domain. Which record type is most directly used?

  • A. A only
  • B. MX
  • C. CNAME only
  • D. AAAA only

Answer: B
Explanation: MX records identify mail exchangers for a domain.


Q160 [M040]. A developer says .co.in is always the single TLD in www.example.co.in. Which correction is most accurate?

  • A. The TLD is example
  • B. The TLD is the protocol https
  • C. The TLD is always www
  • D. The TLD is the rightmost label .in; .co.in forms a multi-label suffix commonly used for registrations

Answer: D
Explanation: The DNS TLD is the rightmost label; a public suffix such as co.in can contain multiple labels.


Q161 [M041]. A user enters https://portal.example.com:8443/results?id=9#marks. Which part is the port?

  • A. #marks
  • B. https
  • C. 8443
  • D. /results

Answer: C
Explanation: The colon after the host introduces the port number.


Q162 [M042]. For https://portal.example.com/results?id=9#marks, which component is the fragment?

  • A. /results
  • B. portal.example.com
  • C. marks after #
  • D. id=9 after ?

Answer: C
Explanation: The fragment begins with # and identifies a secondary location or fragment within the resource; it is not generally sent as part of the HTTP request target.


Q163 [M043]. A document at https://site.test/guide/start.html uses ../images/logo.png. Which resolved path does this relative URL normally target?

  • A. https://site.test/guide/../images/logo.png, normalised to /images/logo.png
  • B. https://site.test/guide/start.html?logo.png
  • C. https://images/logo.png
  • D. file:///logo.png

Answer: A
Explanation: A relative path is resolved against the base URL; .. moves up one directory, producing /images/logo.png after normalisation.


Q164 [M044]. A page on https://site.test/docs/ references images/logo.png. Which URL does the browser generally resolve it to?

  • A. https://site.test/docs/#images/logo.png
  • B. https://site.test/?images/logo.png
  • C. https://images/logo.png
  • D. https://site.test/docs/images/logo.png

Answer: D
Explanation: A relative path is appended to the base directory of the document URL.


Q165 [M045]. A developer adds ?category=mobile&brand=apple to a product URL. Which statement is correct?

  • A. The hash symbol starts the query
  • B. The query automatically encrypts the values
  • C. The query contains two parameters separated by an ampersand
  • D. The first value is the path and second is the TLD

Answer: C
Explanation: The query string encodes parameters after ?, commonly separated by &; it is not encryption.


Q166 [M046]. A login form sends confidential data in the request body over plain HTTP. Which key problem remains?

  • A. The body is not encrypted by HTTP itself and may be exposed in transit
  • B. A query parameter becomes a DNS TLD
  • C. POST bodies are never transmitted over networks
  • D. HTTP automatically encrypts every POST body

Answer: A
Explanation: POST is not intrinsically secure; HTTPS/TLS protects data in transit.


Q167 [M047]. A team assumes that using HTTPS proves that an online shop is legitimate and honest. Which statement is safest?

  • A. HTTPS confirms the products are legal
  • B. HTTPS protects the connection, but does not guarantee the website itself is trustworthy
  • C. HTTPS prevents every kind of fraud
  • D. HTTPS guarantees the seller is honest

Answer: B
Explanation: HTTPS provides transport protection and server authentication, not a blanket guarantee of a site's integrity or honesty.


Q168 [M048]. A developer says HTTPS uses SSL/TLS and therefore the HTTP status code is encrypted from the user after arrival. Which nuance is correct?

  • A. HTTPS eliminates HTTP status codes
  • B. TLS converts the status code into a TLD
  • C. The status code is stored only in CSS
  • D. TLS protects the connection in transit; after decryption, the browser still processes HTTP status and content

Answer: D
Explanation: TLS protects data on the connection, but the browser's HTTP stack still processes status codes after secure transport is terminated.


Q169 [M049]. A user wants to know why the browser cannot reach a hostname, and a DNS lookup returns no address record. Which layer should be investigated before debugging the HTML layout?

  • A. HTML table rowspan
  • B. Name resolution and DNS configuration
  • C. Semantic article elements
  • D. The CSS paint stage

Answer: B
Explanation: Without successful name resolution, the browser may not reach the web server, so DNS should be checked first.


Q170 [M050]. A site can be reached by its IP address but not by its domain. Which issue is most plausible?

  • A. The page has too many <p> elements
  • B. The browser has no DOM parser
  • C. The site must use a 204 response
  • D. DNS record or delegation configuration for the domain

Answer: D
Explanation: IP access working while name-based access fails points toward DNS/name configuration, though virtual hosting can also affect the result.


Q171 [M051]. A browser sends a request to a host but receives an answer from the wrong website on a shared server. Which host-related request header helps a server select the intended hostname in HTTP/1.1?

  • A. Accept
  • B. Cache-Control only
  • C. Content-Type
  • D. Host

Answer: D
Explanation: The Host header identifies the target host and optional port so shared hosting can route the request appropriately.


Q172 [M052]. A response includes Location: /new-page with a redirect status. What is the Location header used for in this context?

  • A. It defines the DNS TLD
  • B. It gives the response's character encoding
  • C. It indicates the target URI for redirection
  • D. It specifies the request method

Answer: C
Explanation: Location commonly identifies the URI to which a client should redirect for relevant 3xx responses.


Q173 [M053]. A page loads HTML successfully, but a script fails. The developer needs to distinguish whether the script URL was requested and what the server returned. Which evidence should be checked first?

  • A. The script request in the Network panel and its response status
  • B. The domain's registration invoice
  • C. Only the operating system language
  • D. Only the page's <title> text

Answer: A
Explanation: Network records reveal whether the script resource was requested and whether it returned a failing status.


Q174 [M054]. A browser is about to paint a page, but it still needs to calculate where elements are placed and how large they are. Which rendering stage calculates geometry?

  • A. TLD referral
  • B. Layout
  • C. DNS resolution
  • D. HTTP request line parsing

Answer: B
Explanation: Layout calculates geometry such as positions and dimensions before painting.


Q175 [M055]. A browser has calculated boxes and positions; now it draws text, backgrounds and borders into visual output. Which stage is this?

  • A. Deployment
  • B. HTML request routing
  • C. Paint
  • D. DNS recursion

Answer: C
Explanation: Painting converts visual information into drawing operations; compositing may combine layers afterward.


Q176 [M056]. A webpage's visible content overlaps correctly only after the browser combines separately rendered layers. Which stage helps combine layers into the final image?

  • A. DNS lookup
  • B. HTML attribute parsing only
  • C. Compositing
  • D. HTTP status classification

Answer: C
Explanation: Compositing combines rendered layers into the presented result.


Q177 [M057]. A team places <header> inside <body> and <title> inside <head>. Which statement correctly describes their roles?

  • A. header specifies the browser tab title
  • B. header is a semantic content region; title provides the document title
  • C. title is required inside every header
  • D. Both tags mean exactly the same thing

Answer: B
Explanation: header marks introductory content; title is document metadata displayed in the browser tab/window.


Q178 [M058]. A page contains one main content landmark and several unrelated site-wide navigation links. Which structural approach is usually most semantically appropriate?

  • A. Put all content inside <title>
  • B. Place the navigation inside <figcaption>
  • C. Place the central page content in <main> and navigation links in <nav>
  • D. Use <table> for every page region regardless of content

Answer: C
Explanation: main and nav have distinct semantic roles and should be selected by meaning rather than appearance.


Q179 [M059]. A news page contains a story that can be syndicated independently and a sidebar of related facts. Which pair best represents those regions?

  • A. <footer> for both regions
  • B. <aside> for the story and <article> for the entire HTML head
  • C. <mark> for the story and <time> for the sidebar
  • D. <article> for the story and <aside> for the complementary sidebar

Answer: D
Explanation: An article is self-contained content; aside is supplementary or tangential content.


Q180 [M060]. A page displays a photograph with a visible caption. The caption should be associated with the image as a figure. Which markup is the best semantic fit?

  • A. <title><img ...></title>
  • B. <tr><img ...></tr>
  • C. <nav><figcaption>Caption</figcaption></nav>
  • D. <figure><img ...><figcaption>Caption</figcaption></figure>

Answer: D
Explanation: The figure element groups self-contained media, and figcaption associates a caption with it.


Q181 [M061]. A developer wants a blank line to separate HTTP headers from an optional body in an HTTP/1.x message. What separates the header section from the body?

  • A. An empty line
  • B. The HTML <head> element
  • C. A question mark
  • D. A DNS answer

Answer: A
Explanation: HTTP/1.x messages use a blank line to separate headers from the optional message body.


Q182 [M062]. A support engineer sees a response's Content-Length header. What does this header generally indicate in HTTP/1.x?

  • A. The length of the domain name in characters
  • B. The size of the message body in octets when provided and applicable
  • C. The number of rows in an HTML table
  • D. The count of URL query parameters

Answer: B
Explanation: Content-Length specifies the body length in octets when used; message framing differs across HTTP versions and transfer mechanisms.


Q183 [M063]. A developer confuses Accept and Content-Type on an API request. Which statement is correct?

  • A. Content-Type is only for DNS
  • B. Accept contains the server's IP address, Content-Type contains the port
  • C. Accept states acceptable response media types; Content-Type describes the media type of the request or response body it accompanies
  • D. Both headers always specify the HTTP method

Answer: C
Explanation: Accept negotiates acceptable response representations; Content-Type labels the included representation.


Q184 [M064]. A website redirects all HTTP traffic to HTTPS. Which change is most directly involved in securing the connection?

  • A. The browser changes every domain into a TLD
  • B. The Location header encrypts all traffic by itself
  • C. The server replaces HTML with IP addresses
  • D. The browser and server establish TLS for HTTPS communication

Answer: D
Explanation: HTTPS uses TLS to protect the connection; a redirect itself does not perform encryption.


Q185 [M065]. An API response is 500 Internal Server Error after the request is correctly formatted and authenticated. Where should the investigation initially focus?

  • A. Whether the query uses an ampersand
  • B. Whether the path ends with .html only
  • C. Server-side application or infrastructure logs
  • D. The user's CSS colour preference

Answer: C
Explanation: A 500 response signals an unexpected server-side failure; backend and infrastructure logs are the logical starting point.


Q186 [M066]. A reverse proxy returns 502, while the origin application is unavailable or returning invalid data. Which interpretation fits?

  • A. The proxy received an invalid response from an upstream server
  • B. The client requested a non-existent URL, necessarily
  • C. The domain registration expired by definition
  • D. The browser's HTML title is missing

Answer: A
Explanation: 502 is a gateway/proxy error related to an invalid upstream response.


Q187 [M067]. A user sees a 301 response after an old page URL is requested. Which behavior should the browser expect?

  • A. A server error that means the DNS root is offline
  • B. A successful response with no body
  • C. A permanent redirection to another location, typically identified by Location
  • D. An instruction to delete the resource

Answer: C
Explanation: 301 denotes permanent redirection and commonly supplies a Location header.


Q188 [M068]. An administrator chooses shared hosting for a small brochure site and dedicated hosting for a business requiring an entire physical server. Which distinction is correct?

  • A. Dedicated hosting means domain registration without a server
  • B. Shared hosting gives every customer a separate physical server
  • C. The two terms refer to URL path types
  • D. Shared hosting shares server resources; dedicated hosting assigns a physical server to one customer

Answer: D
Explanation: Shared hosting pools server resources among customers; dedicated hosting provides a whole physical server to one customer.


Q189 [M069]. A team wants a server-like environment without renting an entire physical machine. Which hosting option typically offers virtualised resources and greater control than basic shared hosting?

  • A. A TLD subscription
  • B. Browser cache hosting
  • C. VPS hosting
  • D. Domain registration only

Answer: C
Explanation: VPS hosting provides virtualised server resources and often more control than shared hosting.


Q190 [M070]. A developer deploys a static HTML/CSS/JS site to a platform that serves assets through a distributed network. Does static hosting inherently require a traditional backend application server?

  • A. No; static hosting cannot serve CSS
  • B. Yes; every HTML file must be rendered by PHP
  • C. Yes; a static site must query a database for each page
  • D. No; static files can be served without a server-side application runtime

Answer: D
Explanation: Static hosting can serve prebuilt assets directly, though separate services can add dynamic features.


Q191 [M071]. A domain's registrar shows the domain is registered, but visitors get no website. Which statement best explains the gap?

  • A. A registrar is the same thing as an HTML renderer
  • B. Registration alone does not guarantee correct DNS records or a configured hosting destination
  • C. Registering a domain automatically writes the website's HTML
  • D. A TLD contains the site's whole database

Answer: B
Explanation: A domain must be connected through DNS and a functioning hosting/serving setup to serve a site under that name.


Q192 [M072]. A domain points to a hosting provider by an A record. Which destination value does this record normally contain?

  • A. An IPv4 address
  • B. An IPv6 address in every case
  • C. A list of HTTP headers
  • D. An HTML file path

Answer: A
Explanation: An A record maps a hostname to an IPv4 address.


Q193 [M073]. A developer configures a CNAME to point www to the provider's hostname. What is the CNAME value expected to reference?

  • A. A table cell ID
  • B. A response status code
  • C. Another domain name, not a literal IPv4 address
  • D. A CSS colour

Answer: C
Explanation: CNAME creates an alias from one DNS name to another DNS name.


Q194 [M074]. A student asks whether the URL fragment #section-2 is normally sent to the server in the HTTP request. What is the correct answer?

  • A. Only if the server uses PHP
  • B. Only for HTTPS on port 443
  • C. No; the fragment is processed client-side and is not sent as part of the HTTP request target
  • D. Yes; it is always sent after the query string

Answer: C
Explanation: Fragments identify a client-side position in a resource and are excluded from the HTTP request target.


Q195 [M075]. A website's search?q=computer URL makes the search phrase visible in the address bar. What is the primary purpose of q=computer in this example?

  • A. It defines the server's listening port
  • B. It selects the top-level domain
  • C. It establishes HTTPS encryption
  • D. It passes a named query parameter with value computer

Answer: D
Explanation: The query parameter name is q; its value is computer.


Q196 [M076]. A developer includes <script src="app.js"></script> in a page. Where is the script code fetched from?

  • A. The HTTP status line
  • B. The DNS TLD label only
  • C. The alt text of the nearest image
  • D. The resource URL specified by the src attribute

Answer: D
Explanation: The src attribute supplies the external script resource URL.


Q197 [M077]. A heading uses <h4> only because the author wants smaller text than <h1>. Which advice is best?

  • A. Choose heading levels according to document hierarchy, and use CSS for visual sizing
  • B. Use <td> instead of every heading
  • C. Headings must be inside <nav>
  • D. Use random heading levels purely for font size

Answer: A
Explanation: HTML heading levels encode structure; CSS should control presentation such as exact font size.


Q198 [M078]. A page uses <b> around a warning and <strong> around text that is important for understanding the task. Which semantic distinction is correct?

  • A. strong can only be used in table headers
  • B. Both are hyperlink elements
  • C. b is always more important than strong
  • D. strong conveys importance; b draws attention without the same importance meaning

Answer: D
Explanation: strong has semantic importance; b is a stylistic attention marker without equivalent importance.


Q199 [M079]. An editor writes <i> for a technical term and <em> for a word that changes the sentence's intended emphasis. Which statement is most accurate?

  • A. i creates a link and em an image
  • B. Both tags are table row elements
  • C. em only changes DNS resolution
  • D. em marks stress emphasis, while i marks text in an alternate voice or mood

Answer: D
Explanation: The elements can both appear italic by default but carry different semantic meanings.


Q200 [M080]. A page shows the phrase “last updated 22 October 2026” and the developer wants semantic date markup. Which snippet is most appropriate?

  • A. <title datetime="2026-10-22">22 October 2026</title>
  • B. <time datetime="2026-10-22">22 October 2026</time>
  • C. <img alt="2026-10-22">22 October 2026
  • D. <tr datetime="2026-10-22">22 October 2026</tr>

Answer: B
Explanation: The time element can provide a human-readable date plus a machine-readable datetime value.


Q201 [M081]. A webpage has five independent news stories and one shared site footer. Which semantic structure is most appropriate?

  • A. Each story can use <article> and the common closing information can use <footer>
  • B. Use <footer> for each paragraph and <main> only for metadata
  • C. Use <figcaption> as the document root
  • D. All stories must be placed in one <title> element

Answer: A
Explanation: Articles suit self-contained stories, and footer suits closing information for the page or section.


Q202 [M082]. A developer wants an accessible image and includes alt="" for a purely decorative divider image. Why can an empty alt be intentional?

  • A. It gives the image a DNS address
  • B. It makes the image a hyperlink
  • C. It turns the image into a table header
  • D. It allows assistive technology to ignore a decorative image that conveys no information

Answer: D
Explanation: Empty alternative text can indicate that a decorative image should be skipped by assistive technology.


Q203 [M083]. A page contains an image that conveys the full information of a diagram but has alt="image". What is the main issue?

  • A. The alt text is uninformative and should convey the diagram's relevant meaning
  • B. Images may not have attributes
  • C. The src attribute should always be omitted
  • D. alt must contain the domain's TLD

Answer: A
Explanation: Useful alternative text should communicate the meaningful content or function, not merely say “image.”


Q204 [M084]. An HTML table is used to lay out all elements of a webpage even though the content is not tabular. What is the better modern approach?

  • A. Replace the DOM with DNS records
  • B. Place the entire page in <caption>
  • C. Use rowspan for every content block
  • D. Use semantic elements and CSS layout for page structure, reserving tables for tabular data

Answer: D
Explanation: Tables should represent tabular data; CSS layout and semantic HTML better express modern page structure.


Q205 [M085]. A page needs a header row labelled “Course” and “Credits.” Which tag combination expresses the row and its headings properly?

  • A. <main><th>Course</th></main>
  • B. <head><p>Course</p></head>
  • C. <td><tr>Course</tr></td>
  • D. <tr><th>Course</th><th>Credits</th></tr>

Answer: D
Explanation: A table row is represented by tr, and each column heading uses th.


Q206 [M086]. A table merges a timetable's Monday cell vertically across three slots. Which attribute should be used on that cell?

  • A. rowspan="3"
  • B. href="3"
  • C. src="3"
  • D. colspan="3"

Answer: A
Explanation: A vertical span crosses rows, so rowspan is appropriate.


Q207 [M087]. A developer's HTML page renders despite missing an explicit closing </p> in some markup. What is the safest exam-level conclusion?

  • A. HTML elements never need correct nesting
  • B. Every missing closing tag causes DNS failure
  • C. The browser automatically rewrites the hosting domain
  • D. Browsers have parsing error-recovery rules, but authors should still write valid, well-structured HTML

Answer: D
Explanation: HTML parsers are error-tolerant, but valid, properly nested markup remains the correct authoring practice.


Q208 [M088]. A page includes <br> to insert a line break between lines of an address. Which kind of element is <br>?

  • A. An element that must wrap a table
  • B. A semantic landmark for navigation
  • C. A void element that does not have a closing tag
  • D. A root element that requires </br>

Answer: C
Explanation: br is a void element and is not written with a separate closing tag.


Q209 [M089]. A developer writes <img src="map.png"></img>. Which correction best matches HTML syntax conventions?

  • A. Replace it with <td>
  • B. Move src to the <body> element
  • C. Add a required </img> closing tag
  • D. Use <img src="map.png" alt="..."> without a closing </img> tag

Answer: D
Explanation: img is a void element and is written without a closing tag; a meaningful alt should be included where appropriate.


Q210 [M090]. A document starts with <!DOCTYPE html>. What is the main reason for this declaration in an HTML5 document?

  • A. It identifies the document as HTML and helps the browser use standards mode
  • B. It sends the HTTP GET request
  • C. It declares the website's IP address
  • D. It creates the webpage's title text

Answer: A
Explanation: The HTML doctype is a required declaration that helps trigger standards mode in browsers.


Q211 [M091]. A website's main HTML has a <head> section with <meta>, <title>, <link> and <script>. Which description is most accurate?

  • A. The head is the same as a semantic page header
  • B. The head must include a table with a TLD column
  • C. The head is where the browser displays all paragraph text
  • D. The head contains metadata and references to resources; visible content primarily belongs in the body

Answer: D
Explanation: The document head contains metadata and resource references, unlike the semantic header element.


Q212 [M092]. A college wants to add a block of navigation links, a thematic course description and a stand-alone announcement article. Which mapping is semantically sound?

  • A. title for links, mark for the course topic, main for all metadata
  • B. tbody for links, aside for the root HTML document, img for the announcement text
  • C. nav for links, section for the course topic, article for the self-contained announcement
  • D. figure for every page region regardless of meaning

Answer: C
Explanation: These semantic elements describe navigation, a thematic group, and self-contained content respectively.


Q213 [M093]. A browser displays a page from example.com, but the server generates personalised HTML based on the user's account data. Which clue most clearly indicates dynamic server-side behaviour?

  • A. The browser uses a DOM
  • B. The returned content is generated or personalised using server-side logic/data
  • C. The address contains .com
  • D. The page includes a h1 element

Answer: B
Explanation: Server-side generation based on user data is a core characteristic of dynamic behaviour.


Q214 [M094]. A team asks whether every dynamic website must use a relational database. Which answer is most accurate?

  • A. No; dynamic pages cannot use data at all
  • B. Yes; all dynamic pages must use a relational database
  • C. Yes; HTTP requires MySQL
  • D. No; dynamic behaviour can use databases, files, APIs, or other data sources depending on the application

Answer: D
Explanation: Dynamic pages require runtime logic or changing data but are not restricted to a particular database type.


Q215 [M095]. A site owner wants minimum server-side maintenance for a brochure site updated only occasionally. Which approach is a reasonable fit?

  • A. A URL fragment as the content store
  • B. Dedicated relational database for every request
  • C. A mail server used as the web renderer
  • D. Static hosting of prebuilt HTML/CSS/JS assets

Answer: D
Explanation: A simple, infrequently updated brochure site can be well suited to static hosting.


Q216 [M096]. A student says all dynamic websites are always slower than every static website. Which correction is best?

  • A. Dynamic generation can add processing, but actual speed depends on implementation, caching and infrastructure
  • B. All dynamic websites are always faster by definition
  • C. Static websites cannot be cached
  • D. Website speed depends only on its TLD

Answer: A
Explanation: Dynamic processing can add work, but performance is not determined by the static/dynamic label alone.


Q217 [M097]. A service is designed to send email between mail servers. Which protocol from the faculty protocol suite is the best match?

  • A. DNS
  • B. HTTP
  • C. POP3
  • D. SMTP

Answer: D
Explanation: SMTP is used to send and relay email; POP3 is used to retrieve email.


Q218 [M098]. A student wants to download mail from a mail server using the protocol named in the faculty slides. Which protocol fits?

  • A. POP3
  • B. HTTP
  • C. SMTP
  • D. PPP

Answer: A
Explanation: POP3 is an application-layer protocol for retrieving or downloading email from a mail server.


Q219 [M099]. A legacy network administrator remotely accesses a system with a plaintext command-line protocol. Which protocol should be recognised, and what is the security caution?

  • A. HTTPS; it has no encryption
  • B. HTML; it is a remote login protocol
  • C. Telnet; classic Telnet is unencrypted and unsafe over untrusted networks
  • D. DNS; it transfers terminal keystrokes

Answer: C
Explanation: Telnet is a remote terminal protocol, but classic Telnet does not encrypt its traffic.


Q220 [M100]. A network diagram labels Ethernet and Wi-Fi as link technologies, while TCP and UDP appear above IP. Which classification matches the course's layered description?

  • A. Ethernet is an application protocol and TCP is a TLD
  • B. Wi-Fi is a URL scheme and UDP is a CSS property
  • C. TCP is the physical medium and IP is an HTML element
  • D. Ethernet/Wi-Fi are network-access technologies; TCP/UDP are transport protocols

Answer: D
Explanation: Ethernet and Wi-Fi handle local network access; TCP and UDP provide transport functions.


Q221 [M101]. A browser needs a reliable ordered byte stream for an HTTP/1.1 connection. Which transport protocol is traditionally used?

  • A. SMTP
  • B. TCP
  • C. UDP without any additional protocol
  • D. DNS root protocol

Answer: B
Explanation: Traditional HTTP/1.1 uses TCP, which provides reliable ordered delivery. HTTP/3 is a modern exception that uses QUIC over UDP.


Q222 [M102]. An app needs low-overhead delivery for live media and can tolerate some lost packets. Which transport protocol may be suitable?

  • A. DNS TLD referrals
  • B. TCP in every circumstance
  • C. HTML
  • D. UDP

Answer: D
Explanation: UDP has lower protocol overhead and does not provide TCP-style delivery guarantees, which can suit latency-sensitive media.


Q223 [M103]. A developer says IP itself guarantees each packet reaches the destination in order. Which correction is correct?

  • A. IP creates page headings
  • B. IP provides addressing and routing but does not guarantee reliable ordered delivery
  • C. IP guarantees every application request exactly once
  • D. IP is the same thing as DNS

Answer: B
Explanation: IP is a best-effort network-layer protocol; reliability and ordering are provided by other layers when needed.


Q224 [M104]. A webpage is accessible through an IP address, but it hosts many domains on the same server. Why might entering only the IP show a default site instead of the intended domain?

  • A. The IP address automatically includes every domain name
  • B. The TLD is embedded in the CSSOM
  • C. The request must contain a table cell
  • D. The server can use the requested hostname to select the virtual host

Answer: D
Explanation: Shared web servers can route requests using the Host header or TLS server name, so an IP-only request may select a default virtual host.


Q225 [M105]. A website's DNS records were just changed, but some users still get the old address temporarily. Which mechanism can explain the delay?

  • A. HTML headings are not valid after a change
  • B. DNS caching and record TTLs
  • C. A mandatory 404 cache for every domain
  • D. The browser's rowspan value

Answer: B
Explanation: Resolvers and clients may cache DNS answers until the relevant TTL expires, so changes are not always visible immediately.


Q226 [M106]. A domain name has multiple labels separated by dots, such as www.example.co.in. Which label is the subdomain in the common interpretation?

  • A. /products
  • B. .in
  • C. https
  • D. www

Answer: D
Explanation: www is a host/subdomain label preceding the registrable domain portion; exact registration boundaries depend on the public suffix.


Q227 [M107]. A web designer adds #contact to a URL so clicking a link can jump to a location in the same document. Which mechanism is being used?

  • A. URL fragment navigation
  • B. HTTP POST body submission
  • C. Top-level-domain delegation
  • D. DNS A record lookup

Answer: A
Explanation: The fragment can target an element identifier or another fragment within the resource and is handled by the client.


Q228 [M108]. A frontend page embeds https://cdn.example.net/app.js from another host. Why is that full URL absolute?

  • A. It includes the scheme and hostname, so its location does not depend on the current page path
  • B. It is a query-only URL
  • C. It is interpreted relative to the current directory
  • D. It contains no domain name

Answer: A
Explanation: An absolute URL gives the scheme and host, along with the rest of the resource address.


Q229 [M109]. A developer wants a link to remain within the same site and move from /courses/index.html to /courses/syllabus.html. Which URL is a suitable relative reference from that document?

  • A. #footer only
  • B. https://other.example/syllabus.html
  • C. mailto:help@example.com
  • D. syllabus.html

Answer: D
Explanation: syllabus.html resolves relative to the current document's directory, targeting the sibling resource.


Q230 [M110]. An organisation wants a public website hostname to point to its hosting provider. Which sequence is generally sensible?

  • A. Configure the hosting site, set appropriate DNS records, allow propagation/caching to settle, then verify HTTP/HTTPS
  • B. Create a colspan attribute and wait for a TLD referral
  • C. Register a domain but never point it to any service
  • D. Change the HTML <title> and expect DNS to update

Answer: A
Explanation: A functional deployment requires a configured site/service and domain records that route the hostname appropriately.


Q231 [M111]. A shared-hosting provider serves several domains on one server. Which factor most directly lets it return the correct site for each request?

  • A. Hostname information in the request and/or TLS connection
  • B. The domain's paragraph count
  • C. The user's HTML comment text
  • D. The HTTP status class alone

Answer: A
Explanation: Virtual hosting commonly selects a site using host information and, for HTTPS, TLS server-name information.


Q232 [M112]. A site is available at www.example.com but not at example.com. What should the administrator inspect first?

  • A. Whether every paragraph uses em
  • B. DNS records and hosting configuration for both hostnames, including redirect/canonical setup
  • C. The alt attribute on every image
  • D. The HTML comment syntax only

Answer: B
Explanation: Apex and www names can need separate DNS/hosting configuration and a redirect or canonical host policy.


Q233 [M113]. A static site uses JavaScript to fetch data from a separate API. Which statement is accurate?

  • A. DNS becomes unnecessary when an API exists
  • B. The frontend may be statically hosted while using a separate backend/API for dynamic data
  • C. The existence of an API means the frontend files cannot be static
  • D. A static site cannot make HTTP requests

Answer: B
Explanation: Static frontend assets can interact with independently hosted APIs; the site and data service can have separate architectures.


Q234 [M114]. A professor asks students to explain the difference between a browser and a web server. Which answer is the strongest?

  • A. The browser is an HTTP status code and the server is a TLD
  • B. The browser must be the database server in every architecture
  • C. The browser stores DNS root zones for the entire Internet; the server only styles text
  • D. The browser requests and renders web resources; the server receives requests and returns files or application responses

Answer: D
Explanation: The browser is a client application; the server provides requested resources or computed responses.


Q235 [M115]. A team is deciding whether to put a reusable site-wide navigation menu in one shared template. Which lifecycle concern supports that decision?

  • A. The need to replace all DNS records with HTML tags
  • B. Maintainability and consistency during development and future updates
  • C. The fact that HTTP only supports static pages
  • D. The need to make each request return 404

Answer: B
Explanation: Reusable templates/components support maintainability and consistent updates across pages.


Q236 [M116]. A web service has stages called planning, design, development, testing, deployment and maintenance, plus feedback and monitoring in the faculty slides. What comes immediately after testing in the core sequence?

  • A. Design
  • B. Planning
  • C. Requirements discovery
  • D. Deployment

Answer: D
Explanation: In the lifecycle sequence, testing precedes deployment, followed by maintenance; feedback and monitoring continue after launch.


Q237 [M117]. A university uses the word “Internet” to describe the physical and logical network infrastructure and “WWW” to describe a collection of linked pages. Which protocol pairing best aligns with the distinction in the lecture?

  • A. HTML for Internet routing and CSS for Web data transfer
  • B. SMTP for rendering pages and DNS for styling them
  • C. TCP/IP for headings and HTTP for table rows
  • D. TCP/IP for Internet communication and HTTP/HTTPS for Web resource access

Answer: D
Explanation: The faculty PPT distinguishes Internet infrastructure and TCP/IP from the Web information system accessed via HTTP/HTTPS.


Q238 [M118]. A domain name has the labels www, portal, example and in. Which statement is most precise?

  • A. DNS names are hierarchical labels; the rightmost label is the TLD, while www and portal are labels to its left
  • B. The name itself is the IPv4 address
  • C. Every label is a separate TLD
  • D. The path /portal is implicit in the domain name

Answer: A
Explanation: Domain names are hierarchical and dot-separated; the rightmost label is the TLD, with other labels identifying hosts or domains to its left.


Q239 [M119]. A website uses TLS but still displays a browser warning because the certificate does not match the hostname. Which security purpose is being affected most directly?

  • A. Server identity authentication for the hostname
  • B. HTML table layout
  • C. CSSOM construction
  • D. The GET method's retrieval semantics

Answer: A
Explanation: TLS certificates are used to authenticate server identity; a hostname mismatch undermines that check.


Q240 [M120]. A developer needs to see whether clicking “Submit” sent a POST request and whether the response was 201. Which DevTools evidence is most direct?

  • A. The page's lang attribute
  • B. Elements panel's computed font only
  • C. The domain's TLD alone
  • D. Network request method and response status

Answer: D
Explanation: The Network panel exposes request methods and response status codes for each request.


Hard MCQs

Section Overview: 60 scenario-based questions (Q241–Q300) testing core understanding of hard syllabus topics.

Q241 [H001]. A student portal's DNS lookup returns the correct IPv4 address, TCP connection succeeds, and HTTPS completes, but /results/2026 returns 404. Which conclusion is best supported by the evidence?

  • A. TLS encryption caused the server to invent a missing path
  • B. The hostname resolved and the server was reached, but the requested resource path was not found
  • C. DNS must be broken because all 404 responses are DNS errors
  • D. The browser failed to construct any URL

Answer: B
Explanation: The successful lookup and connection indicate that DNS and transport reached a server; a 404 points to the requested resource/path not being found on that server.


Q242 [H002]. A developer requests https://shop.example.com/items?type=book#reviews. The server's access log records /items?type=book but not #reviews. Why is this expected?

  • A. The server must always strip query parameters but keep fragments
  • B. DNS sends the fragment to the authoritative nameserver instead
  • C. The question mark also removes the fragment automatically from all browsers
  • D. The fragment is handled by the client and is not sent in the HTTP request target

Answer: D
Explanation: The query belongs to the request target; the fragment is a client-side URL component and is not sent to the server in an HTTP request.


Q243 [H003]. A page at https://example.com/a/b/page.html contains <img src="../img/logo.png">. Assuming ordinary URL resolution, which path is targeted?

  • A. https://example.com/a/b/page.html?img=logo.png
  • B. https://example.com/a/b/../img/logo.png without any possible normalisation
  • C. https://example.com/a/img/logo.png
  • D. https://img/logo.png

Answer: C
Explanation: The .. path segment moves from /a/b/ up to /a/, then enters img/logo.png.


Q244 [H004]. A browser page contains malformed but recoverable HTML and still renders. Which conclusion should a developer draw?

  • A. The browser must have skipped all HTML parsing
  • B. HTML validity is controlled by HTTPS rather than markup
  • C. A page that renders is guaranteed to be valid HTML
  • D. Browser error recovery does not make the source ideal; the markup should still be corrected for reliable structure

Answer: D
Explanation: HTML parsers recover from many markup errors, but authors should use valid structure to reduce ambiguity and improve accessibility/interoperability.


Q245 [H005]. An API returns 500 consistently only when a particular user ID is requested; the same endpoint works for other IDs. Which is the best initial inference?

  • A. A TLD server is returning the HTTP body
  • B. A server-side bug or data-dependent failure may be triggered by that input, so investigate server logs and that record's processing path
  • C. The browser must be rendering CSS incorrectly
  • D. 500 necessarily means the DNS query timed out

Answer: B
Explanation: 500 is a server error; a reproducible input-specific failure points toward application logic or data handling on the server.


Q246 [H006]. A reverse proxy cannot connect to the backend because the upstream host is not responding before the deadline. Which code best distinguishes this from an invalid upstream response?

  • A. 404 Not Found
  • B. 504 Gateway Timeout
  • C. 301 Moved Permanently
  • D. 502 Bad Gateway

Answer: B
Explanation: 504 is specifically for an upstream timeout; 502 typically indicates an invalid response from an upstream server.


Q247 [H007]. A payment client sends POST /payments and times out before receiving a response. It retries and risks charging twice. Which API design measure most directly helps prevent duplicate side effects?

  • A. An idempotency key or other server-side deduplication mechanism
  • B. Using a relative URL instead of an absolute URL
  • C. Changing the response to 404 regardless of outcome
  • D. Changing the HTML title to “Payment”

Answer: A
Explanation: POST is not generally idempotent, so APIs often use idempotency keys or request deduplication to make safe retries possible.


Q248 [H008]. A browser's Network panel shows an OPTIONS preflight before a cross-origin API request, but the API returns 405 for OPTIONS. What does this imply in a typical CORS scenario?

  • A. The 405 confirms the GET or POST body was accepted
  • B. OPTIONS is an HTML element, so the browser must parse it as markup
  • C. The server may not handle the preflight method or CORS policy correctly, preventing the browser from making the intended cross-origin request
  • D. DNS automatically retries using HTTPS

Answer: C
Explanation: A preflight uses OPTIONS for permitted cross-origin requests; if it is rejected or lacks necessary CORS headers, the browser may block the actual request.


Q249 [H009]. A website's example.com apex resolves correctly, and www.example.com fails, although both are intended to show the same site. Which investigation has the highest value?

  • A. Remove every HTTP status code
  • B. Check DNS records and hosting/redirect configuration for www separately from the apex
  • C. Change the site's <h1> text
  • D. Replace the document with <!DOCTYPE html> only

Answer: B
Explanation: Apex and www are different hostnames and may require separate DNS and virtual-host/redirect configuration.


Q250 [H010]. A recursive resolver has a cached TLD delegation but not the requested hostname's address. What can it do next in the simplified resolution flow?

  • A. Ask the browser's CSSOM for the missing record
  • B. Skip DNS and guess an IP from the domain name's spelling
  • C. Restart the HTML rendering pipeline before asking any DNS server
  • D. Query an authoritative nameserver for the domain, then cache and return the answer

Answer: D
Explanation: With a cached delegation, the resolver can query the authoritative server directly instead of repeating root and TLD discovery.


Q251 [H011]. A company wants the hostname api.example.com to resolve to an IPv6 address. Which record type should its DNS administrator configure for the name-to-address mapping?

  • A. A
  • B. TXT only
  • C. AAAA
  • D. MX

Answer: C
Explanation: AAAA records map hostnames to IPv6 addresses; A records map to IPv4.


Q252 [H012]. A site operator sees an MX record and assumes it will cause a browser to load the website. What is the mistake?

  • A. An MX record is a semantic HTML element
  • B. MX records are the correct way to name HTML pages
  • C. MX records identify mail exchangers, not the web server address for normal web browsing
  • D. MX records encode HTTPS status codes

Answer: C
Explanation: MX records route email for a domain; website addressing normally relies on relevant A/AAAA/CNAME and hosting configuration.


Q253 [H013]. A developer says .co.in is a separate one-piece TLD because users often treat it as a suffix. Which precise DNS answer is correct?

  • A. The DNS TLD is .in; .co.in may be a public suffix/registration boundary spanning multiple labels
  • B. The TLD is the protocol https
  • C. The TLD is example
  • D. The TLD is .co because it is closer to the domain name

Answer: A
Explanation: The TLD is the rightmost DNS label; multi-label public suffixes can affect registration boundaries without changing that fact.


Q254 [H014]. A server receives GET /find?q=network HTTP/1.1 with Accept: application/json. Which interpretation is correct?

  • A. The client requests the resource with query q=network and indicates JSON is an acceptable response type
  • B. The fragment is network and must be sent after #
  • C. q=network is the hostname, and Accept identifies the method
  • D. The server must return JSON because the request body's Content-Type is JSON

Answer: A
Explanation: The query is part of the request target and Accept describes acceptable response media types; it does not itself guarantee the response will be JSON.


Q255 [H015]. A developer says the server reads #account from an HTTP request to decide which HTML element to scroll to. Which correction is accurate?

  • A. The server reads the fragment as the TLD
  • B. The fragment is always placed in the request body
  • C. The browser normally handles the fragment locally, so it is not sent as part of the HTTP request
  • D. A fragment replaces the HTTP method

Answer: C
Explanation: URL fragments are client-side identifiers; the browser does not normally send the fragment to the HTTP server.


Q256 [H016]. A page uses <section> for every tiny visual box and <div> nowhere. What is the best semantic guideline?

  • A. Every box must be a section because div is invalid HTML5
  • B. A section creates an HTTP request
  • C. Use section for thematic groupings, typically with a heading; use generic containers when no semantic meaning is intended
  • D. Section exists only for DNS resolution

Answer: C
Explanation: section expresses a thematic grouping, not merely a visual rectangle; generic containers remain useful where no semantic role fits.


Q257 [H017]. A page's independent blog post is nested inside a section about “Campus News.” Which statement best reflects semantic HTML?

  • A. Article and section are interchangeable tags with no semantic distinction
  • B. A section can group a theme and an article can represent a self-contained post within it
  • C. An article may only appear outside the body
  • D. Section is the tag for a browser tab title

Answer: B
Explanation: A section groups related content; an article represents a piece that can make sense independently, and nesting can be appropriate.


Q258 [H018]. A page has a semantic <main> nested inside a <header> and screen readers expose confusing landmarks. What should the developer do?

  • A. Place the main landmark in an appropriate position within the body, separate from page header and other inappropriate ancestors
  • B. Replace main with an HTTP status code
  • C. Move main into the document title element
  • D. Put main into the DNS record instead

Answer: A
Explanation: The main element belongs in body and should represent the main content, not be nested arbitrarily inside a header region.


Q259 [H019]. A table has one header cell across four data columns, but the author uses rowspan="4". Why is this likely wrong?

  • A. rowspan is used for column spanning, so it is correct
  • B. Neither attribute can span cells
  • C. rowspan automatically creates four TLDs
  • D. The cell needs horizontal spanning, so colspan="4" expresses the intended structure

Answer: D
Explanation: colspan spans columns horizontally; rowspan spans rows vertically.


Q260 [H020]. A table contains a single label that should cover several rows, and the author uses colspan="3". What change matches the intention?

  • A. Use alt="3"
  • B. Use colspan="3" because all merged cells use colspan
  • C. Use rowspan="3"
  • D. Use href="3"

Answer: C
Explanation: The described merger is vertical across rows, so rowspan is the correct attribute.


Q261 [H021]. A frontend developer believes pressing Run in the Console permanently edits the served JavaScript file. What is the correct understanding?

  • A. Browser tools cannot run JavaScript
  • B. Console code is executed in the page's debugging context but does not automatically rewrite the deployed source
  • C. The Console is a server-side database editor by default
  • D. Any console statement updates the hosting filesystem

Answer: B
Explanation: Console execution is a debugging aid; persistent changes must be made in the project source and deployed.


Q262 [H022]. A web team says TLS encrypts the request URL's entire hostname and path so network observers can never see which service was contacted. Which answer is most accurate for ordinary HTTPS?

  • A. HTTPS only encrypts images, not URLs
  • B. HTTPS always makes every network detail invisible
  • C. TLS changes the TLD to a secret string
  • D. TLS protects HTTP contents in transit, but the destination IP and some connection metadata can still be visible; hostname visibility depends on deployment features

Answer: D
Explanation: HTTPS encrypts HTTP data, but network metadata such as destination IP remains visible; hostname visibility varies by TLS/SNI setup and Encrypted Client Hello deployment.


Q263 [H023]. A server returns 304 and the browser displays content from cache. Which request context commonly makes this response meaningful?

  • A. A form post with no URL
  • B. A DELETE request whose body must be HTML
  • C. A conditional request with a validator such as If-None-Match or If-Modified-Since
  • D. A DNS request to the TLD server

Answer: C
Explanation: 304 is used for cache validation, often in response to conditional headers such as ETag-based or modification-time checks.


Q264 [H024]. A service uses PUT to upload the same configuration document to /config/7. Which property makes PUT useful for repeated submission of the same target representation?

  • A. The method is a DNS alias
  • B. The method is idempotent with respect to intended resource state
  • C. The method guarantees a 201 response forever
  • D. The method is always confidential without HTTPS

Answer: B
Explanation: PUT replaces or creates the target resource state and is defined as idempotent, though responses may vary.


Q265 [H025]. A team is choosing between POST and PUT for a new item when the server chooses the new resource identifier. Which common API design is most natural?

  • A. GET to create the item
  • B. DELETE to create the item
  • C. POST to a collection URI, letting the server create and identify the resource
  • D. PUT to an arbitrary collection endpoint because PUT must always let the server pick the ID

Answer: C
Explanation: POST to a collection is a common creation pattern when the server assigns the resource URI; API conventions can vary.


Q266 [H026]. A browser shows “Not Secure” for a form submitted over HTTP even though the server returns 200. Why is this possible?

  • A. The browser confuses GET with HTML
  • B. 200 automatically means HTTPS was used
  • C. Successful HTTP status describes request processing, not transport confidentiality; plain HTTP lacks TLS protection
  • D. A 200 response encrypts form data after it reaches the server

Answer: C
Explanation: A successful response code does not protect data in transit; the scheme/connection determines whether TLS is used.


Q267 [H027]. A resolver has no cached delegation and needs to resolve www.example.com. Which simplified order is most plausible?

  • A. Web server, CSSOM, HTML parser, then TLD server
  • B. Authoritative nameserver, root nameserver, then browser paint
  • C. Mail server, HTTP status server, then DNS cache only
  • D. Root nameserver, .com TLD nameserver, authoritative nameserver for example.com

Answer: D
Explanation: The simplified uncached resolution follows root referral to TLD, then authoritative information for the domain, before returning the answer.


Q268 [H028]. A domain owner changes nameservers at a registrar but leaves the DNS zone at the old provider unchanged. Which issue may arise?

  • A. HTTP methods decide the nameserver delegation
  • B. The browser's <head> rewrites the domain automatically
  • C. DNS nameservers store only CSS and cannot affect domain resolution
  • D. Delegation may point to nameservers that lack the intended records, causing resolution problems

Answer: D
Explanation: Registrar nameserver delegation tells resolvers where to query; the delegated zone must contain consistent records for the domain.


Q269 [H029]. A dynamic page uses a server-side template and a database but sends ordinary HTML to the browser. Where does the dynamic generation primarily occur?

  • A. Only in the HTML title element
  • B. Inside the CSS layout phase after the response has been received
  • C. On the server before or while forming the response
  • D. Only in the DNS root server

Answer: C
Explanation: In this scenario the server-side application and data are used to form the response before it reaches the browser.


Q270 [H030]. A web project has passed tests but no one has configured the production environment or public domain. Which lifecycle stage remains primarily incomplete?

  • A. Testing
  • B. Maintenance
  • C. Deployment
  • D. Planning

Answer: C
Explanation: Deployment includes releasing the finished application into the live target environment and configuring necessary serving infrastructure.


Q271 [H031]. A team has deployed an application and gathers student complaints about confusing navigation while monitoring crashes and latency. Which pair of lifecycle activities is represented?

  • A. Feedback and monitoring
  • B. Development and DNS TLD assignment
  • C. Design and initial planning only
  • D. HTTP request and response lines

Answer: A
Explanation: Feedback collects user input for improvement; monitoring observes availability, performance and related operational signals.


Q272 [H032]. An application puts business rules in the client and lets clients query a database server directly. Which trade-off compared with a properly separated three-tier architecture is a concern?

  • A. It necessarily encrypts all database traffic
  • B. It always scales better because there are fewer components
  • C. It can be harder to centralise business logic and enforce controls consistently on the server
  • D. It means DNS resolution is not required

Answer: C
Explanation: Direct client-to-database designs can complicate security, consistency, maintenance and scaling versus an application layer.


Q273 [H033]. A page has a <main> and two repeated navigation menus, one at the top and one in the footer. Which semantic statement is most accurate?

  • A. There is normally one main content landmark, while multiple appropriate navigation regions can exist
  • B. Navigation belongs in the title element
  • C. There must be one nav per document, never more
  • D. Main is a replacement for all navigation links

Answer: A
Explanation: The main element identifies dominant content, while distinct navigation blocks may be marked with nav when appropriate.


Q274 [H034]. A table's first column contains row labels for student names, but the author uses <td> for every cell. Which improvement can strengthen table semantics?

  • A. Change all data cells into <img> elements
  • B. Use <h1> inside every table cell instead
  • C. Use <th scope="row"> where a cell serves as a row header
  • D. Use colspan to make every cell a header

Answer: C
Explanation: A th with scope="row" can communicate a row header relationship to assistive technologies.


Q275 [H035]. An online timetable needs a table header spanning two columns and a lecturer name spanning three rows. Which pair expresses those two requirements?

  • A. colspan="2" for the header cell and rowspan="3" for the lecturer cell
  • B. rowspan="2" for the header cell and colspan="3" for the lecturer cell
  • C. alt="2" and lang="3"
  • D. href="2" and src="3"

Answer: A
Explanation: Horizontal spanning uses colspan; vertical spanning uses rowspan.


Q276 [H036]. A site operator finds that example.com redirects to www.example.com, then www redirects back to the apex, causing repeated navigation. Which concept best describes the failure?

  • A. A redirect loop caused by conflicting host/canonical URL rules
  • B. Normal DNS caching only
  • C. A CSS compositing delay
  • D. A valid semantic section

Answer: A
Explanation: Conflicting redirect rules can send the browser back and forth between two hostnames, preventing the final resource from loading.


Q277 [H037]. A request receives 302, but the resource itself has not permanently moved. Why is 302 a plausible response?

  • A. It denotes successful resource creation
  • B. It means the client request was malformed
  • C. It means the server has no response content by definition
  • D. It is commonly used for temporary redirection

Answer: D
Explanation: 302 represents temporary redirection, while 301 is the well-known permanent redirect code.


Q278 [H038]. A request is well-formed but a server process crashes while handling it and returns 500. Which broad class applies?

  • A. 1xx informational
  • B. 3xx redirection
  • C. 5xx server error
  • D. 4xx client error

Answer: C
Explanation: 5xx responses indicate the server failed to fulfil an apparently valid request.


Q279 [H039]. A web application logs GET /api/students/3 and returns 200, but the response body contains data for student 4 due to a bug. What is the best conclusion?

  • A. The GET method requires the server to return a blank body
  • B. HTTP success indicates protocol-level request handling succeeded, not that application data is logically correct
  • C. A 200 status guarantees the requested record is semantically correct
  • D. The response must be a DNS error

Answer: B
Explanation: A 2xx code reports successful request handling, but application-level correctness still requires validation.


Q280 [H040]. An exam portal uses POST /login, receives 302 to /dashboard, then the browser requests /dashboard and gets 200. Which interpretation is most accurate?

  • A. 302 means login data was deleted and no navigation occurs
  • B. The second request must be DELETE because the URL changed
  • C. The login POST was followed by a redirect; the dashboard was then retrieved successfully
  • D. The 200 response proves the browser skipped DNS

Answer: C
Explanation: A redirect can lead the browser to make a new request to the target URL, where the final resource returns 200.


Q281 [H041]. A path begins with /images/logo.png on a site whose host is portal.example.com. How does that root-relative path normally resolve?

  • A. It includes the current directory name twice
  • B. It switches automatically to a host named images
  • C. It uses the same scheme and host and starts from the origin root
  • D. It becomes a query parameter

Answer: C
Explanation: A root-relative path starts at the web origin's root while retaining the current scheme and host.


Q282 [H042]. An author uses the URL //cdn.example.com/app.js in a page served over HTTPS. What does a protocol-relative URL ordinarily do?

  • A. It uses the current page's scheme with the specified host
  • B. It means the resource is local to the current directory
  • C. It always forces plain HTTP
  • D. It references the current document's fragment

Answer: A
Explanation: A network-path reference inherits the current scheme, so an HTTPS page ordinarily requests the resource over HTTPS.


Q283 [H043]. A developer uses ?token=secret in a URL over HTTPS and concludes that the token can never leak. What is the main caution?

  • A. The query is encrypted separately even when copied into plaintext logs
  • B. A token in a URL becomes an HTML comment
  • C. HTTPS protects it in transit to the host, but URLs can appear in browser history, logs, screenshots or referrer contexts depending on policy
  • D. Query parameters are automatically hidden from the server

Answer: C
Explanation: HTTPS protects transit, but URL query data can be stored or exposed in logs/history and should not casually hold sensitive secrets.


Q284 [H044]. A team argues that because a static site has no server-side generation, it cannot make a POST request to an external API. Which correction is correct?

  • A. A static frontend can send HTTP requests to a separate backend service; static describes how its own assets are served
  • B. A browser can send requests only if the page came from PHP
  • C. POST is a hosting type
  • D. Static files cannot run JavaScript

Answer: A
Explanation: Static frontend assets can run JavaScript and call APIs; the API handles any server-side processing.


Q285 [H045]. A page is both semantically structured and visually styled. Which separation of responsibility is most appropriate?

  • A. HTML controls DNS, CSS controls HTTPS, and JavaScript controls domain registration
  • B. HTML communicates structure and meaning; CSS controls presentation; JavaScript supplies behaviour
  • C. Each of HTML, CSS and JavaScript independently does the same job
  • D. CSS defines HTTP methods, HTML encrypts data, and JavaScript assigns TLDs

Answer: B
Explanation: The standard introductory roles are HTML structure, CSS presentation, and JavaScript behaviour.


Q286 [H046]. A developer says the HTML5 label refers to an entirely different programming language from HTML. Which correction is most accurate?

  • A. HTML5 is the same thing as TCP/IP
  • B. HTML5 is a replacement for HTTP status codes
  • C. HTML5 is a major evolution of HTML with structural, semantic and multimedia capabilities, not a separate programming language
  • D. HTML5 is a DNS server version

Answer: C
Explanation: HTML is a markup language; HTML5 introduced major features and semantic elements while the modern HTML standard continues to evolve.


Q287 [H047]. A developer wants to make a page accessible to search engines and screen readers by adding header, main, nav and footer. Which statement is most accurate?

  • A. Semantic elements can improve structure and interpretation but do not replace meaningful content, correct links, headings and accessibility practices
  • B. Adding semantic tags guarantees a top search ranking
  • C. These tags automatically generate the backend database
  • D. These four tags encrypt all page content

Answer: A
Explanation: Semantic landmarks improve structure, but SEO and accessibility depend on more than the presence of particular tags.


Q288 [H048]. A site owner checks only whether a domain is registered and assumes the website is therefore online. Which complete chain best describes what still matters?

  • A. Domain registration, correct DNS resolution, configured hosting/serving and a functioning web application or site resources
  • B. Only a TLD with no records
  • C. Only HTML comments and browser cache
  • D. Only an A record, regardless of whether any server is running

Answer: A
Explanation: Registration alone is insufficient; DNS must direct clients appropriately and the hosting service must actually serve the resources.


Q289 [H049]. An API's POST /items returns 201 with a Location header pointing to /items/91. What is the likely meaning of this combination?

  • A. The request was redirected permanently without creating anything
  • B. A new resource was created and the header identifies its location
  • C. The server rejected the request as malformed
  • D. The body is required to be empty

Answer: B
Explanation: 201 Created indicates resource creation, and Location commonly identifies the newly created resource.


Q290 [H050]. A user opens a page whose HTML contains a stylesheet link and an image. Why can the Network panel show more than one request for a single visible page?

  • A. The HTML document can reference separate resources such as CSS, scripts, images and fonts, each loaded with its own request
  • B. Every visible page must be exactly one HTTP message
  • C. DNS returns the fully rendered pixels for every resource
  • D. A stylesheet is always inlined regardless of markup

Answer: A
Explanation: The browser often fetches referenced resources separately, so one document can result in multiple network requests.


Q291 [H051]. A team sees that HTML was received but a JavaScript file was blocked by a cross-origin policy. Which correction is most relevant?

  • A. Change rowspan to colspan
  • B. Inspect the browser console/network error and configure the serving endpoint and policy appropriately
  • C. Change the HTML TLD to .org
  • D. Replace the DOM with a status code

Answer: B
Explanation: Cross-origin restrictions are enforced by browser security policy; inspect response headers, origin and resource configuration rather than unrelated markup.


Q292 [H052]. A server has a correct HTTPS certificate but listens only on port 80 and not on the configured HTTPS endpoint. What is the most direct problem?

  • A. The browser can infer TLS from the .com suffix
  • B. Port 80 is the required HTTPS port
  • C. A certificate automatically opens port 443
  • D. The certificate alone does not create an HTTPS listener; a TLS-capable service must be configured on the HTTPS endpoint

Answer: D
Explanation: HTTPS needs a working TLS endpoint, commonly on port 443; possessing a certificate by itself is not enough.


Q293 [H053]. A user requests an HTML document and the response arrives over HTTPS with Content-Type: text/html. Which statement correctly distinguishes the components?

  • A. HTTPS protects the transport; Content-Type labels the response media type; the body carries the actual representation
  • B. The status line is the HTML document title
  • C. Content-Type performs the encryption and HTTPS is only a file extension
  • D. The body is always the URL query string

Answer: A
Explanation: HTTPS is the protected HTTP transport, Content-Type labels the representation, and the optional response body carries the content.


Q294 [H054]. A web developer wants to improve a form page that currently uses a generic <div> for every field group. Which change gives semantic structure without changing the backend architecture?

  • A. Convert the frontend into an IP address
  • B. Use appropriate headings, labels and semantic elements for document meaning while retaining the same server/API if desired
  • C. Replace every div with HTTP 500
  • D. Change the domain registrar to transform divs into backend functions

Answer: B
Explanation: Semantic HTML can improve clarity and accessibility independently of how backend services are architected.


Q295 [H055]. A page is correctly styled but its DOM hierarchy differs from the intended hierarchy because a tag was closed too early. Which debugging route most directly shows what the browser actually parsed?

  • A. Ask the DNS resolver for an HTML tree
  • B. Inspect the live DOM in Elements, then compare it to source markup
  • C. Check only the domain expiry date
  • D. Change the network adapter

Answer: B
Explanation: The live Elements tree reveals the parsed DOM structure and helps find markup nesting or closing-tag issues.


Q296 [H056]. A company wants a separate data layer because multiple frontend clients will consume the same rules and records. Which architectural reason is strongest?

  • A. A separate application layer is needed only to add more HTML headings
  • B. It ensures all API responses must be 404
  • C. An application/business-logic layer can centralise rules and mediate access to the data layer for different clients
  • D. It makes DNS unnecessary

Answer: C
Explanation: A three-tier structure can centralise business logic and expose controlled services while separating data storage.


Q297 [H057]. A service encourages users to publish, comment, remix and share content. Which Web-era description most directly fits the course's simplified taxonomy?

  • A. Web 1.0
  • B. ARPANET
  • C. HTML 4.01 only
  • D. Web 2.0

Answer: D
Explanation: Web 2.0 is associated with user-generated content and social participation.


Q298 [H058]. A browser must load a website's homepage using index.html, CSS, JS and images from directories. Which directory structure principle best helps the project remain maintainable?

  • A. Store every resource in the URL fragment
  • B. Separate related assets into organised folders such as css/, js/ and images/, and use correct paths
  • C. Place CSS declarations inside DNS TXT records
  • D. Use only the extension .com to organise source files

Answer: B
Explanation: An organised file structure helps manage resources, navigation, maintenance and deployment; the faculty material names common folders.


Q299 [H059]. A student says the TLD .gov guarantees that any page containing that string is an official government site. What is the best correction?

  • A. All URLs with the letters gov anywhere are government sites
  • B. .gov is an HTTP method
  • C. TLD labels are chosen by JavaScript at runtime
  • D. The registered domain and exact hostname must be checked; seeing the text .gov somewhere in a URL or page is not enough

Answer: D
Explanation: A TLD is part of the actual registered hostname, not simply any text appearing in a URL or page, and naming policies vary by namespace.


Q300 [H060]. A scenario asks the student to identify a full URL from components: scheme HTTPS, host portal.example.com, port 8443, path /grades, query term=1. Which choice correctly combines them?

  • A. https://portal.example.com/term=1#8443/grades
  • B. https://portal.example.com:8443/grades?term=1
  • C. http://portal.example.com:443/grades#term=1
  • D. portal.example.com#https:8443?grades=term

Answer: B
Explanation: URL components conventionally appear as scheme, host and optional port, path, then query; fragments, if any, follow the query.


Answer Key and Explanations

Use this section after attempting the questions. Explanations focus on the principle being tested.

Easy Answer Key

  • E001: C. HTML marks up the structure and meaning of webpage content.
  • E002: D. Standard web technologies run across many operating systems and device types when supported by the browser.
  • E003: C. The Internet is the underlying network of networks; the Web is an information system that uses it.
  • E004: A. ARPANET was an early packet-switched network and an important precursor to the Internet.
  • E005: B. Tim Berners-Lee proposed the Web while working at CERN in 1989.
  • E006: C. TCP/IP provides the networking protocols and addressing/routing framework used across the Internet.
  • E007: C. DNS stores and serves records used to resolve domain names, including records that provide IP addresses.
  • E008: D. A client requests resources or services and a server supplies them.
  • E009: A. Frontend code forms the user-facing interface and browser-side behaviour.
  • E010: B. Backend logic processes application rules and data, often on a server.
  • E011: A. A static site normally serves prebuilt resources without generating page content per request on the server.
  • E012: D. The response is generated or populated based on user-specific data and application logic.
  • E013: B. Planning defines goals, requirements, resources and timelines before implementation.
  • E014: B. Design plans the user interface, user experience and application structure.
  • E015: D. Development implements the application by writing and integrating code.
  • E016: A. Testing verifies functionality and looks for defects before release.
  • E017: B. Deployment makes the completed application available in its target environment.
  • E018: A. Maintenance continues after launch through updates, bug fixes and improvements.
  • E019: A. A browser retrieves web resources and renders them for the user.
  • E020: C. The Elements/Inspector panel lets developers inspect DOM elements and experiment with CSS in the current page.
  • E021: D. The Console displays JavaScript errors, warnings and logged messages.
  • E022: B. The Network panel records resource requests and exposes their status, headers and timing.
  • E023: B. The browser parses HTML to construct the Document Object Model, or DOM.
  • E024: D. The CSS Object Model represents the parsed CSS rules.
  • E025: A. A URL specifies a resource location and commonly includes scheme and host, among other parts.
  • E026: A. GET is intended to retrieve a representation of a resource.
  • E027: C. POST submits content for processing and is commonly used with form submissions.
  • E028: C. PUT creates or replaces the state of the target resource at a specified URI.
  • E029: D. DELETE requests removal of the target resource.
  • E030: B. 200 indicates that the request succeeded.
  • E031: D. 201 is the standard success response indicating that a resource has been created.
  • E032: C. 204 indicates success with no response content.
  • E033: C. 301 represents permanent redirection.
  • E034: B. 404 indicates that the server cannot find the requested resource.
  • E035: A. The 5xx class represents server errors.
  • E036: D. 400 indicates that the request has a client-side syntax or validity problem.
  • E037: C. 401 means the request lacks valid authentication credentials or authentication is required.
  • E038: D. 403 indicates that the server understands the request but refuses to fulfil it.
  • E039: A. 302 is commonly used for temporary redirection.
  • E040: A. 304 lets a client reuse its cached representation when it remains valid.
  • E041: B. 503 indicates temporary service unavailability, often due to overload or maintenance.
  • E042: C. 429 indicates rate limiting.
  • E043: D. HTTPS is HTTP protected by TLS; HTTPS URLs use the https scheme.
  • E044: A. The default port for HTTP is 80.
  • E045: C. The default port for HTTPS is 443.
  • E046: B. The HTTP/1.x request line contains the method, request target and HTTP version.
  • E047: A. The response status line communicates the HTTP version and status code.
  • E048: A. Content-Type identifies the media type of the representation in the message body.
  • E049: D. Content-Type describes the type of content being sent, such as application/json.
  • E050: B. DNS resolves domain names using the distributed DNS namespace and its records.
  • E051: A. The rightmost label of a domain name is its top-level domain.
  • E052: D. .in is the country-code top-level domain for India.
  • E053: A. .edu is commonly associated with educational institutions, especially in the United States.
  • E054: C. In ?id=12, id is the query parameter name and 12 is its value.
  • E055: D. The question mark begins the query component of a URL.
  • E056: B. An ampersand is commonly used to separate query parameters in a query string.
  • E057: C. The URL includes a scheme and domain, providing a complete address.
  • E058: A. A relative URL is resolved against a base URL rather than spelling out the full address.
  • E059: B. The domain is the address; hosting or another serving platform must provide the site resources.
  • E060: A. Shared hosting places multiple sites on shared server resources.
  • E061: A. Dedicated hosting allocates a physical server to one customer.
  • E062: C. VPS hosting provides a virtual private server with allocated resources on physical infrastructure.
  • E063: C. Cloud hosting uses cloud infrastructure and can draw on distributed or scalable resources.
  • E064: A. index.html is commonly configured as the default page of a website.
  • E065: C. h1 is the highest-level HTML heading element.
  • E066: C. The p element represents a paragraph.
  • E067: B. HTML comments are source annotations and are not rendered as normal page content.
  • E068: C. The anchor element creates hyperlinks, with href specifying the destination.
  • E069: B. The src attribute provides the URL of an embedded image resource.
  • E070: C. Alternative text is provided through the alt attribute.
  • E071: C. th represents a header cell, while td represents a data cell.
  • E072: D. The tr element represents a table row.
  • E073: C. colspan specifies how many columns a cell spans.
  • E074: A. rowspan specifies how many rows a table cell spans.
  • E075: A. The lang attribute on the root html element declares the document language.
  • E076: D. The meta element can declare the document's character encoding.
  • E077: A. The title element supplies the document title shown in the browser tab or window title.
  • E078: A. The head contains document metadata and references to resources such as stylesheets.
  • E079: B. The body contains the document's visible webpage content.
  • E080: A. main identifies the document's dominant content, excluding repeated site-wide content such as navigation in typical structures.
  • E081: A. nav groups navigation links.
  • E082: D. section groups thematically related content, typically with a heading.
  • E083: C. article represents self-contained content such as a blog post or news item.
  • E084: C. aside represents content indirectly related to its surrounding content, such as a sidebar.
  • E085: A. A header can contain introductory content, headings, logos and navigation-related content.
  • E086: B. A footer commonly contains copyright, author or contact information.
  • E087: A. figcaption provides a caption for content inside a figure element.
  • E088: C. mark represents text highlighted for reference or relevance.
  • E089: A. sub displays subscript text.
  • E090: C. sup displays superscript text.
  • E091: A. strong conveys strong importance; b draws attention without the same semantic emphasis.
  • E092: B. em represents stress emphasis in the text.
  • E093: B. time represents a date or time and can include a machine-readable datetime attribute.
  • E094: A. details creates a disclosure widget and summary provides its summary or clickable label.
  • E095: D. The audio element embeds audio content directly in the page.
  • E096: B. video embeds video, while track can provide timed text such as captions or subtitles.
  • E097: D. The viewport meta element helps mobile browsers establish the layout viewport and initial scale.
  • E098: C. nav marks navigation links, while main marks the document's main content.
  • E099: D. The anchor's href attribute specifies the hyperlink destination.
  • E100: D. alt gives text that can replace or describe the image when it cannot be seen or loaded.
  • E101: C. nav conveys the semantic purpose of a navigation block, unlike a generic div.
  • E102: B. An ordered list uses ol and commonly displays numbered items; this is supplemental faculty-PPT content.
  • E103: A. An unordered list uses ul; the list's order is not intended to convey sequence.
  • E104: A. li represents an item in an ordered or unordered list.
  • E105: D. caption provides a caption for a table.
  • E106: D. tbody groups the main body rows of a table.
  • E107: C. thead groups the table's header rows.
  • E108: D. progress represents the completion progress of a task; it appears in the faculty PPT as supplementary HTML5 content.
  • E109: C. canvas exposes a drawing surface that scripts can use for graphics.
  • E110: B. Web 2.0 is associated with user-generated content, participation, sharing and collaboration.
  • E111: C. HTML5 added native multimedia capabilities including audio and video elements.
  • E112: A. Static sites often serve prebuilt assets and can be simple and fast to host.
  • E113: C. Cloud applications such as collaborative online document editors are a common web-technology application.
  • E114: D. Browser DevTools includes inspection, live style editing, debugging, network analysis and responsive testing.
  • E115: C. An absolute URL supplies the full scheme and host, so it does not depend on the current document's host.
  • E116: B. .org is a top-level domain commonly associated with organisations, including many non-profits.
  • E117: A. Heading levels communicate the hierarchical structure of content.
  • E118: D. aside marks complementary content such as a related tip or sidebar.
  • E119: C. HTML semantics should reflect purpose; CSS should handle purely visual styling.
  • E120: B. figcaption labels the content within a figure; caption is used for a table caption.

Medium Answer Key

  • M001: D. The HTML can render without its CSS, while a 404 for the stylesheet explains the missing styling.
  • M002: B. DevTools edits are normally temporary experiments in the current browser session unless the source is changed separately.
  • M003: A. The Network panel exposes request timing and a waterfall view for diagnosing slow resources.
  • M004: C. The simplified pipeline constructs DOM and CSSOM, forms render information, calculates layout, paints and composites.
  • M005: A. The viewport meta tag helps a mobile browser choose an appropriate layout viewport and initial scale.
  • M006: C. Console reports JavaScript errors, while Network records response status and headers.
  • M007: C. HTTP is stateless at the protocol level; applications may maintain state with cookies, tokens or other mechanisms.
  • M008: A. Content-Type describes the representation format of the request body.
  • M009: B. Accept communicates media types the client is willing to receive.
  • M010: A. The request target includes the path and query component; the method and protocol version are separate fields.
  • M011: A. The HTTP/1.x status line carries protocol version, status code and a reason phrase.
  • M012: D. 405 means the method is not allowed for the target resource; the request did not simply succeed.
  • M013: A. PUT is defined as idempotent: repeating an identical request has the same intended effect as doing it once.
  • M014: C. POST does not have a general idempotence guarantee; retries can cause repeated side effects if the API lacks deduplication.
  • M015: A. DELETE is idempotent in intended effect; a later attempt may return a different status because the resource is already gone.
  • M016: C. A 204 response has no response content; parsing an expected JSON body is inappropriate.
  • M017: A. 304 indicates the cached representation remains valid, allowing the client to reuse it.
  • M018: D. 401 indicates that valid authentication credentials are missing or unacceptable.
  • M019: A. 403 means the server refuses access, often because the authenticated principal lacks permission.
  • M020: B. 502 indicates that a gateway or proxy received an invalid response from an upstream server.
  • M021: A. 504 specifically represents an upstream timeout at a gateway or proxy.
  • M022: B. 429 signals too many requests and commonly prompts rate limiting or backoff.
  • M023: A. Three-tier architecture separates presentation, application/business logic and database layers.
  • M024: D. Two-tier architecture separates the client and server, often with direct client-to-database-server interaction.
  • M025: D. A three-tier design places business logic in a separate application layer.
  • M026: C. A typical result workflow is request, server-side processing/data access, response, and browser rendering.
  • M027: D. Static websites can have client-side interaction, but their server-delivered resources are usually prebuilt.
  • M028: B. In the course's static-versus-dynamic distinction, the key issue is server-side generation/data processing, not whether the client has interaction.
  • M029: A. Server-side templates or shared components can apply a common change across pages; the exact approach depends on the stack.
  • M030: D. The faculty lifecycle includes feedback to gather suggestions and monitoring to track performance, security and availability.
  • M031: C. Planning identifies objectives, requirements, timelines and resources.
  • M032: B. Testing checks that the application works as intended and satisfies functional and performance requirements.
  • M033: A. Monitoring tracks ongoing performance, security and availability after deployment.
  • M034: D. Cached answers and cached delegation records can avoid parts of the full iterative resolution path.
  • M035: C. Without cache, the resolver can follow referrals from root to TLD to authoritative servers and return the answer.
  • M036: B. An A record maps a name to an IPv4 address.
  • M037: B. An AAAA record maps a name to an IPv6 address.
  • M038: D. A CNAME record aliases one DNS name to another name, subject to DNS rules.
  • M039: B. MX records identify mail exchangers for a domain.
  • M040: D. The DNS TLD is the rightmost label; a public suffix such as co.in can contain multiple labels.
  • M041: C. The colon after the host introduces the port number.
  • M042: C. The fragment begins with # and identifies a secondary location or fragment within the resource; it is not generally sent as part of the HTTP request target.
  • M043: A. A relative path is resolved against the base URL; .. moves up one directory, producing /images/logo.png after normalisation.
  • M044: D. A relative path is appended to the base directory of the document URL.
  • M045: C. The query string encodes parameters after ?, commonly separated by &; it is not encryption.
  • M046: A. POST is not intrinsically secure; HTTPS/TLS protects data in transit.
  • M047: B. HTTPS provides transport protection and server authentication, not a blanket guarantee of a site's integrity or honesty.
  • M048: D. TLS protects data on the connection, but the browser's HTTP stack still processes status codes after secure transport is terminated.
  • M049: B. Without successful name resolution, the browser may not reach the web server, so DNS should be checked first.
  • M050: D. IP access working while name-based access fails points toward DNS/name configuration, though virtual hosting can also affect the result.
  • M051: D. The Host header identifies the target host and optional port so shared hosting can route the request appropriately.
  • M052: C. Location commonly identifies the URI to which a client should redirect for relevant 3xx responses.
  • M053: A. Network records reveal whether the script resource was requested and whether it returned a failing status.
  • M054: B. Layout calculates geometry such as positions and dimensions before painting.
  • M055: C. Painting converts visual information into drawing operations; compositing may combine layers afterward.
  • M056: C. Compositing combines rendered layers into the presented result.
  • M057: B. header marks introductory content; title is document metadata displayed in the browser tab/window.
  • M058: C. main and nav have distinct semantic roles and should be selected by meaning rather than appearance.
  • M059: D. An article is self-contained content; aside is supplementary or tangential content.
  • M060: D. The figure element groups self-contained media, and figcaption associates a caption with it.
  • M061: A. HTTP/1.x messages use a blank line to separate headers from the optional message body.
  • M062: B. Content-Length specifies the body length in octets when used; message framing differs across HTTP versions and transfer mechanisms.
  • M063: C. Accept negotiates acceptable response representations; Content-Type labels the included representation.
  • M064: D. HTTPS uses TLS to protect the connection; a redirect itself does not perform encryption.
  • M065: C. A 500 response signals an unexpected server-side failure; backend and infrastructure logs are the logical starting point.
  • M066: A. 502 is a gateway/proxy error related to an invalid upstream response.
  • M067: C. 301 denotes permanent redirection and commonly supplies a Location header.
  • M068: D. Shared hosting pools server resources among customers; dedicated hosting provides a whole physical server to one customer.
  • M069: C. VPS hosting provides virtualised server resources and often more control than shared hosting.
  • M070: D. Static hosting can serve prebuilt assets directly, though separate services can add dynamic features.
  • M071: B. A domain must be connected through DNS and a functioning hosting/serving setup to serve a site under that name.
  • M072: A. An A record maps a hostname to an IPv4 address.
  • M073: C. CNAME creates an alias from one DNS name to another DNS name.
  • M074: C. Fragments identify a client-side position in a resource and are excluded from the HTTP request target.
  • M075: D. The query parameter name is q; its value is computer.
  • M076: D. The src attribute supplies the external script resource URL.
  • M077: A. HTML heading levels encode structure; CSS should control presentation such as exact font size.
  • M078: D. strong has semantic importance; b is a stylistic attention marker without equivalent importance.
  • M079: D. The elements can both appear italic by default but carry different semantic meanings.
  • M080: B. The time element can provide a human-readable date plus a machine-readable datetime value.
  • M081: A. Articles suit self-contained stories, and footer suits closing information for the page or section.
  • M082: D. Empty alternative text can indicate that a decorative image should be skipped by assistive technology.
  • M083: A. Useful alternative text should communicate the meaningful content or function, not merely say “image.”
  • M084: D. Tables should represent tabular data; CSS layout and semantic HTML better express modern page structure.
  • M085: D. A table row is represented by tr, and each column heading uses th.
  • M086: A. A vertical span crosses rows, so rowspan is appropriate.
  • M087: D. HTML parsers are error-tolerant, but valid, properly nested markup remains the correct authoring practice.
  • M088: C. br is a void element and is not written with a separate closing tag.
  • M089: D. img is a void element and is written without a closing tag; a meaningful alt should be included where appropriate.
  • M090: A. The HTML doctype is a required declaration that helps trigger standards mode in browsers.
  • M091: D. The document head contains metadata and resource references, unlike the semantic header element.
  • M092: C. These semantic elements describe navigation, a thematic group, and self-contained content respectively.
  • M093: B. Server-side generation based on user data is a core characteristic of dynamic behaviour.
  • M094: D. Dynamic pages require runtime logic or changing data but are not restricted to a particular database type.
  • M095: D. A simple, infrequently updated brochure site can be well suited to static hosting.
  • M096: A. Dynamic processing can add work, but performance is not determined by the static/dynamic label alone.
  • M097: D. SMTP is used to send and relay email; POP3 is used to retrieve email.
  • M098: A. POP3 is an application-layer protocol for retrieving or downloading email from a mail server.
  • M099: C. Telnet is a remote terminal protocol, but classic Telnet does not encrypt its traffic.
  • M100: D. Ethernet and Wi-Fi handle local network access; TCP and UDP provide transport functions.
  • M101: B. Traditional HTTP/1.1 uses TCP, which provides reliable ordered delivery. HTTP/3 is a modern exception that uses QUIC over UDP.
  • M102: D. UDP has lower protocol overhead and does not provide TCP-style delivery guarantees, which can suit latency-sensitive media.
  • M103: B. IP is a best-effort network-layer protocol; reliability and ordering are provided by other layers when needed.
  • M104: D. Shared web servers can route requests using the Host header or TLS server name, so an IP-only request may select a default virtual host.
  • M105: B. Resolvers and clients may cache DNS answers until the relevant TTL expires, so changes are not always visible immediately.
  • M106: D. www is a host/subdomain label preceding the registrable domain portion; exact registration boundaries depend on the public suffix.
  • M107: A. The fragment can target an element identifier or another fragment within the resource and is handled by the client.
  • M108: A. An absolute URL gives the scheme and host, along with the rest of the resource address.
  • M109: D. syllabus.html resolves relative to the current document's directory, targeting the sibling resource.
  • M110: A. A functional deployment requires a configured site/service and domain records that route the hostname appropriately.
  • M111: A. Virtual hosting commonly selects a site using host information and, for HTTPS, TLS server-name information.
  • M112: B. Apex and www names can need separate DNS/hosting configuration and a redirect or canonical host policy.
  • M113: B. Static frontend assets can interact with independently hosted APIs; the site and data service can have separate architectures.
  • M114: D. The browser is a client application; the server provides requested resources or computed responses.
  • M115: B. Reusable templates/components support maintainability and consistent updates across pages.
  • M116: D. In the lifecycle sequence, testing precedes deployment, followed by maintenance; feedback and monitoring continue after launch.
  • M117: D. The faculty PPT distinguishes Internet infrastructure and TCP/IP from the Web information system accessed via HTTP/HTTPS.
  • M118: A. Domain names are hierarchical and dot-separated; the rightmost label is the TLD, with other labels identifying hosts or domains to its left.
  • M119: A. TLS certificates are used to authenticate server identity; a hostname mismatch undermines that check.
  • M120: D. The Network panel exposes request methods and response status codes for each request.

Hard Answer Key

  • H001: B. The successful lookup and connection indicate that DNS and transport reached a server; a 404 points to the requested resource/path not being found on that server.
  • H002: D. The query belongs to the request target; the fragment is a client-side URL component and is not sent to the server in an HTTP request.
  • H003: C. The .. path segment moves from /a/b/ up to /a/, then enters img/logo.png.
  • H004: D. HTML parsers recover from many markup errors, but authors should use valid structure to reduce ambiguity and improve accessibility/interoperability.
  • H005: B. 500 is a server error; a reproducible input-specific failure points toward application logic or data handling on the server.
  • H006: B. 504 is specifically for an upstream timeout; 502 typically indicates an invalid response from an upstream server.
  • H007: A. POST is not generally idempotent, so APIs often use idempotency keys or request deduplication to make safe retries possible.
  • H008: C. A preflight uses OPTIONS for permitted cross-origin requests; if it is rejected or lacks necessary CORS headers, the browser may block the actual request.
  • H009: B. Apex and www are different hostnames and may require separate DNS and virtual-host/redirect configuration.
  • H010: D. With a cached delegation, the resolver can query the authoritative server directly instead of repeating root and TLD discovery.
  • H011: C. AAAA records map hostnames to IPv6 addresses; A records map to IPv4.
  • H012: C. MX records route email for a domain; website addressing normally relies on relevant A/AAAA/CNAME and hosting configuration.
  • H013: A. The TLD is the rightmost DNS label; multi-label public suffixes can affect registration boundaries without changing that fact.
  • H014: A. The query is part of the request target and Accept describes acceptable response media types; it does not itself guarantee the response will be JSON.
  • H015: C. URL fragments are client-side identifiers; the browser does not normally send the fragment to the HTTP server.
  • H016: C. section expresses a thematic grouping, not merely a visual rectangle; generic containers remain useful where no semantic role fits.
  • H017: B. A section groups related content; an article represents a piece that can make sense independently, and nesting can be appropriate.
  • H018: A. The main element belongs in body and should represent the main content, not be nested arbitrarily inside a header region.
  • H019: D. colspan spans columns horizontally; rowspan spans rows vertically.
  • H020: C. The described merger is vertical across rows, so rowspan is the correct attribute.
  • H021: B. Console execution is a debugging aid; persistent changes must be made in the project source and deployed.
  • H022: D. HTTPS encrypts HTTP data, but network metadata such as destination IP remains visible; hostname visibility varies by TLS/SNI setup and Encrypted Client Hello deployment.
  • H023: C. 304 is used for cache validation, often in response to conditional headers such as ETag-based or modification-time checks.
  • H024: B. PUT replaces or creates the target resource state and is defined as idempotent, though responses may vary.
  • H025: C. POST to a collection is a common creation pattern when the server assigns the resource URI; API conventions can vary.
  • H026: C. A successful response code does not protect data in transit; the scheme/connection determines whether TLS is used.
  • H027: D. The simplified uncached resolution follows root referral to TLD, then authoritative information for the domain, before returning the answer.
  • H028: D. Registrar nameserver delegation tells resolvers where to query; the delegated zone must contain consistent records for the domain.
  • H029: C. In this scenario the server-side application and data are used to form the response before it reaches the browser.
  • H030: C. Deployment includes releasing the finished application into the live target environment and configuring necessary serving infrastructure.
  • H031: A. Feedback collects user input for improvement; monitoring observes availability, performance and related operational signals.
  • H032: C. Direct client-to-database designs can complicate security, consistency, maintenance and scaling versus an application layer.
  • H033: A. The main element identifies dominant content, while distinct navigation blocks may be marked with nav when appropriate.
  • H034: C. A th with scope="row" can communicate a row header relationship to assistive technologies.
  • H035: A. Horizontal spanning uses colspan; vertical spanning uses rowspan.
  • H036: A. Conflicting redirect rules can send the browser back and forth between two hostnames, preventing the final resource from loading.
  • H037: D. 302 represents temporary redirection, while 301 is the well-known permanent redirect code.
  • H038: C. 5xx responses indicate the server failed to fulfil an apparently valid request.
  • H039: B. A 2xx code reports successful request handling, but application-level correctness still requires validation.
  • H040: C. A redirect can lead the browser to make a new request to the target URL, where the final resource returns 200.
  • H041: C. A root-relative path starts at the web origin's root while retaining the current scheme and host.
  • H042: A. A network-path reference inherits the current scheme, so an HTTPS page ordinarily requests the resource over HTTPS.
  • H043: C. HTTPS protects transit, but URL query data can be stored or exposed in logs/history and should not casually hold sensitive secrets.
  • H044: A. Static frontend assets can run JavaScript and call APIs; the API handles any server-side processing.
  • H045: B. The standard introductory roles are HTML structure, CSS presentation, and JavaScript behaviour.
  • H046: C. HTML is a markup language; HTML5 introduced major features and semantic elements while the modern HTML standard continues to evolve.
  • H047: A. Semantic landmarks improve structure, but SEO and accessibility depend on more than the presence of particular tags.
  • H048: A. Registration alone is insufficient; DNS must direct clients appropriately and the hosting service must actually serve the resources.
  • H049: B. 201 Created indicates resource creation, and Location commonly identifies the newly created resource.
  • H050: A. The browser often fetches referenced resources separately, so one document can result in multiple network requests.
  • H051: B. Cross-origin restrictions are enforced by browser security policy; inspect response headers, origin and resource configuration rather than unrelated markup.
  • H052: D. HTTPS needs a working TLS endpoint, commonly on port 443; possessing a certificate by itself is not enough.
  • H053: A. HTTPS is the protected HTTP transport, Content-Type labels the representation, and the optional response body carries the content.
  • H054: B. Semantic HTML can improve clarity and accessibility independently of how backend services are architected.
  • H055: B. The live Elements tree reveals the parsed DOM structure and helps find markup nesting or closing-tag issues.
  • H056: C. A three-tier structure can centralise business logic and expose controlled services while separating data storage.
  • H057: D. Web 2.0 is associated with user-generated content and social participation.
  • H058: B. An organised file structure helps manage resources, navigation, maintenance and deployment; the faculty material names common folders.
  • H059: D. A TLD is part of the actual registered hostname, not simply any text appearing in a URL or page, and naming policies vary by namespace.
  • H060: B. URL components conventionally appear as scheme, host and optional port, path, then query; fragments, if any, follow the query.

Coverage Checklist

  • Web technologies and applications; Internet vs WWW; WWW evolution; Web 1.0, Web 2.0 and context-dependent Web 3.0 terminology.
  • Internet architecture and TCP/IP layers; application, transport, IP and network-access protocols; TCP/UDP; client–server and 2-tier/3-tier architecture.
  • Frontend/backend; static/dynamic websites; web application lifecycle, planning through maintenance, feedback and monitoring.
  • Browsers, rendering pipeline, DOM/CSSOM, layout, paint, compositing and Developer Tools.
  • HTTP/HTTPS, methods, request/response components and headers, status-code classes and common individual codes.
  • DNS, caching, resolution flow, A/AAAA/CNAME/MX records, domain labels and TLDs.
  • URL scheme, hostname, port, path, query string, fragment, absolute/relative/root-relative URLs and domain-hosting integration.
  • HTML5 document structure, doctype, head/body, tags/elements/attributes, headings, paragraphs, formatting, comments, hyperlinks, images, semantic elements and tables.
  • Supplementary faculty-slide topics: HTML lists, media elements, figure/figcaption, details/summary, time, canvas and progress.

Source Notes

Questions are based primarily on the supplied IWT CAT-1 syllabus and the four provided faculty presentations: Unit 1 PPT IWT Updated, WWW Evolution, Protocol Suites & Web Hosting, HTML Fundamentals, Semantic Layouts, Tables & Lists, and Semantic HTML5 Elements with Codes. Where a slide uses a simplified teaching description (for example, static vs dynamic websites or Web 3.0), the questions preserve the course-level framing while avoiding claims that would be universally absolute.

Saved Bookmarks

0

Request or Upload Content

Send missing topics, notes, question banks, or corrections directly to Sehjal

Click to upload or drag and drop
PDF, PNG, JPG, DOCX, ZIP (Up to 10MB)

Submitting opens FormSubmit's confirmation or error page. You can return to StudyDump with your browser Back button.