Web Development Basics Practice Tests

These Grade 10 Additional Subjects practice tests introduce HTML structure, CSS styling, responsive design, JavaScript behavior, the DOM, forms, HTTP, client-server architecture, databases, accessibility, security, testing, version control, performance, and deployment.

Skills covered

  • Using HTML elements, semantic structure, headings, links, images, and alternative text
  • Applying CSS selectors, classes, the box model, layout, media queries, specificity, contrast, and responsive design
  • Understanding JavaScript events, the DOM, validation, arrays, functions, JSON, asynchronous requests, and client-server interaction
  • Explaining URLs, HTTP methods and status codes, HTTPS, servers, databases, cookies, caching, and deployment
  • Applying accessibility, cross-browser testing, version control, performance, privacy, authentication, password protection, and XSS prevention

How to use these practice tests

Identify which layer is responsible for the behavior: HTML for structure, CSS for presentation, JavaScript for interaction, the server for application logic, and the database for persistent data. Then check accessibility and security requirements.

For more Grade 10 Additional Subjects practice, return to the Grade 10 Additional Subjects category.

4. Test

Grade 10 Web Development Basics Practice Tests

Practice Grade 10 Additional Subjects questions about HTML, CSS, JavaScript, the DOM, HTTP, client-server architecture, accessibility, security, testing, and deployment.

Choose the best answer. Identify the role of each web technology, trace browser-server interactions, and apply accessibility, security, testing, and performance principles.

10 Questions
0/10 Questions0 %
Correct 0
Incorrect 0
Unanswered 10
1. QuestionMultiple choice

What is a URL?

Please select an answer first.

Correct answer: A

The correct answer is An address that identifies the location of a resource on the web.

  1. Identify the web development concept: Determine whether the question asks about structure, style, behavior, networking, accessibility, security, testing, or deployment.
  2. Connect the evidence: A Uniform Resource Locator can identify a resource using a scheme, host, path, query, fragment, and other components.
  3. Check the conclusion: The correct answer is An address that identifies the location of a resource on the web.

A Uniform Resource Locator can identify a resource using a scheme, host, path, query, fragment, and other components.

2. QuestionMultiple choice

What does HTTP define?

Please select an answer first.

Correct answer: B

The correct answer is Rules for communication between clients and servers on the web.

  1. Identify the web development concept: Determine whether the question asks about structure, style, behavior, networking, accessibility, security, testing, or deployment.
  2. Connect the evidence: HTTP defines request and response messages, methods, headers, status codes, and related web communication behavior.
  3. Check the conclusion: The correct answer is Rules for communication between clients and servers on the web.

HTTP defines request and response messages, methods, headers, status codes, and related web communication behavior.

3. QuestionMultiple choice

What does an HTTP 404 status usually mean?

Please select an answer first.

Correct answer: C

The correct answer is The requested resource was not found..

  1. Identify the web development concept: Determine whether the question asks about structure, style, behavior, networking, accessibility, security, testing, or deployment.
  2. Connect the evidence: A 404 response indicates that the server could not find the requested resource at that location.
  3. Check the conclusion: The correct answer is The requested resource was not found..

A 404 response indicates that the server could not find the requested resource at that location.

4. QuestionMultiple choice

What does an HTTP 200 status usually indicate?

Please select an answer first.

Correct answer: D

The correct answer is The request was successful..

  1. Identify the web development concept: Determine whether the question asks about structure, style, behavior, networking, accessibility, security, testing, or deployment.
  2. Connect the evidence: A 200-level response generally indicates successful processing of the request.
  3. Check the conclusion: The correct answer is The request was successful..

A 200-level response generally indicates successful processing of the request.

5. QuestionMultiple choice

What is HTTPS?

Please select an answer first.

Correct answer: A

The correct answer is HTTP protected by encryption and authentication through TLS.

  1. Identify the web development concept: Determine whether the question asks about structure, style, behavior, networking, accessibility, security, testing, or deployment.
  2. Connect the evidence: HTTPS helps protect data in transit and verifies the server through certificates and TLS.
  3. Check the conclusion: The correct answer is HTTP protected by encryption and authentication through TLS.

HTTPS helps protect data in transit and verifies the server through certificates and TLS.

6. QuestionMultiple choice

What is the client in a web interaction?

Please select an answer first.

Correct answer: B

The correct answer is The device or software that requests and uses a service.

  1. Identify the web development concept: Determine whether the question asks about structure, style, behavior, networking, accessibility, security, testing, or deployment.
  2. Connect the evidence: A browser or mobile app is a client that requests resources and presents results to a user.
  3. Check the conclusion: The correct answer is The device or software that requests and uses a service.

A browser or mobile app is a client that requests resources and presents results to a user.

7. QuestionMultiple choice

What is the server?

Please select an answer first.

Correct answer: C

The correct answer is A system that receives requests and provides resources or services.

  1. Identify the web development concept: Determine whether the question asks about structure, style, behavior, networking, accessibility, security, testing, or deployment.
  2. Connect the evidence: Servers process requests, run application logic, access data, and return responses.
  3. Check the conclusion: The correct answer is A system that receives requests and provides resources or services.

Servers process requests, run application logic, access data, and return responses.

8. QuestionMultiple choice

What is a database used for in a web application?

Please select an answer first.

Correct answer: D

The correct answer is Storing and retrieving structured application data.

  1. Identify the web development concept: Determine whether the question asks about structure, style, behavior, networking, accessibility, security, testing, or deployment.
  2. Connect the evidence: Databases store information such as accounts, products, posts, or test results for applications to use.
  3. Check the conclusion: The correct answer is Storing and retrieving structured application data.

Databases store information such as accounts, products, posts, or test results for applications to use.

9. QuestionMultiple choice

What is a cookie commonly used for?

Please select an answer first.

Correct answer: A

The correct answer is Storing small pieces of browser-associated data such as preferences or session identifiers.

  1. Identify the web development concept: Determine whether the question asks about structure, style, behavior, networking, accessibility, security, testing, or deployment.
  2. Connect the evidence: Cookies can support sessions, preferences, analytics, and other browser-server interactions, subject to privacy rules.
  3. Check the conclusion: The correct answer is Storing small pieces of browser-associated data such as preferences or session identifiers.

Cookies can support sessions, preferences, analytics, and other browser-server interactions, subject to privacy rules.

10. QuestionMultiple choice

Why is caching useful?

Please select an answer first.

Correct answer: B

The correct answer is It can reduce repeated work and improve loading speed by reusing stored resources..

  1. Identify the web development concept: Determine whether the question asks about structure, style, behavior, networking, accessibility, security, testing, or deployment.
  2. Connect the evidence: Caching stores reusable responses or assets, reducing latency and network or server work when the cached data is valid.
  3. Check the conclusion: The correct answer is It can reduce repeated work and improve loading speed by reusing stored resources..

Caching stores reusable responses or assets, reducing latency and network or server work when the cached data is valid.