Unit I · HTML and CSS

HTML fundamentals

  1. Explain ordered and unordered lists in HTML with suitable examples.
  2. Explain Semantic HTML, describe the semantic tags used, and mention at least four semantic HTML tags.
  3. Explain the basic structure of an HTML page and describe the purpose of the major HTML elements with a suitable example.
  4. Explain HTML forms and describe the commonly used form controls with a suitable example.
  5. Explain how HTML tables are structured using <table>, <caption>, <thead>, <tbody>, <tr>, <th> and <td>, with a suitable example.Added for topic coverage

CSS fundamentals

  1. Briefly explain the types of style sheets.
  2. Explain the CSS Box Model, name its components, describe its properties, and state why it is used.
  3. Explain CSS position properties and describe static, relative, absolute, fixed and sticky positioning with examples.

CSS layout

  1. Explain Flexbox with a neat diagram and describe any four Flexbox properties with suitable examples.
  2. Explain CSS Grid layout with a neat diagram and describe any four Grid properties with suitable examples.
  3. Compare CSS Flexbox and Grid, and explain suitable use cases for each with examples.

Responsive design and styling tools

  1. Explain responsive web design using CSS media queries and develop a suitable example that demonstrates responsive design.
  2. Explain TailwindCSS and Shadcn, and discuss how they can be used to develop a responsive web interface.
  3. When CSS already exists, why should we use CSS frameworks? Give your opinion.

Unit II · JavaScript

Language fundamentals

  1. What are data types? How many data types are there in JavaScript? Give an example for each one.
  2. Explain JavaScript functions and their types, including arrow functions, with suitable examples.
  3. Explain JavaScript variables, operators and control structures with suitable examples.
  4. Explain any three keywords used in JavaScript with suitable examples.
  5. Why is JavaScript used for the web platform? Elaborate.

Objects and data

  1. Explain arrays and array functions in JavaScript with suitable examples.
  2. Explain JavaScript classes and objects with constructors and methods, and develop a suitable example.
  3. Explain JSON in JavaScript and demonstrate how JSON data can be created, parsed and used in a web application.

Browser, validation and errors

  1. Explain the Document Object Model (DOM) and its manipulation methods, and develop a JavaScript program to change the content of an HTML element using the DOM.
  2. Explain form validation in JavaScript and develop a program to validate a form containing name, email and password fields.
  3. Explain exception handling in JavaScript and develop a program using try, catch and finally to handle an exception.
  4. Explain regular expressions in JavaScript and develop suitable patterns using RegExp to validate or search data.
  5. Explain pattern matching in JavaScript using switch statements, destructuring and regular expressions, with examples.Added for topic coverage

Unit III · React

React fundamentals

  1. Explain the structure of a React program.
  2. Explain the different types of components in React with examples, including functional components.
  3. What are the benefits of using React.js over plain JavaScript?
  4. Write a counter program using React.js.

State, props and data flow

  1. Explain state and props in React.js with a suitable example demonstrating both.
  2. Explain data flow in React.js and describe how data is passed between components using props and state.

Rendering and lifecycle

  1. Explain the Virtual DOM in React.js with a suitable diagram and compare it with the real DOM.
  2. Explain the React component lifecycle with suitable stages and examples.

Hooks and interaction

  1. Explain event handling and form validation in React.js with a suitable example.
  2. Explain React Hooks and their types, and demonstrate the use of useState and useEffect with suitable examples.

Single Page Applications and tooling

  1. Explain the procedure for installing the React library using NPM and NPX, including the commands and their purpose.
  2. Explain Single Page Applications in React.js, describe the role of routing, and develop a suitable example.

Unit IV · Node.js and Express

Node.js fundamentals

  1. Explain the features and drawbacks of Node.js, and discuss suitable use cases for Node.js applications.
  2. Explain the environment setup and architecture of Node.js with a neat diagram.
  3. Explain Node.js modules and the module system with suitable examples.
  4. What are global objects in Node.js? Give any two examples.

Async execution and error handling

  1. Explain the Event Loop in Node.js with a neat diagram and describe how it supports asynchronous and non-blocking execution.
  2. Explain Node.js error handling and develop a suitable example demonstrating error handling.

Files and databases

  1. Explain the File System module in Node.js and develop a program to read from and write to a file.
  2. Explain database connectivity in Node.js, including connecting an application to MongoDB, and describe the general steps involved.

Express and MVC

  1. Explain the GET, POST, PUT and DELETE methods in Express.js with suitable examples.
  2. Explain request and response objects, URL/query parameters and routing in Express.js with suitable examples.
  3. Explain middleware and the MVC pattern in Express.js, and develop the structure of a simple MVC-based application.
  4. What is Express.js and why is it used?

Unit V · Databases, REST and GraphQL

Databases and MongoDB

  1. Explain the overview and different types of databases, and discuss why MongoDB is suitable for modern web applications, including its key features.
  2. Explain MongoDB architecture and describe the procedure for configuring the MongoDB server and client.
  3. Explain MongoDB database and collection creation with suitable MongoDB commands.
  4. Explain the Create, Read, Update and Delete (CRUD) operations in MongoDB with suitable commands and examples, including insertOne() and find().
  5. Explain MongoDB Compass and describe how to create a database, collection and documents using it.

REST

  1. Explain REST API and REST architecture, and describe the principles of REST with suitable examples.
  2. Explain how a REST API is designed and consumed in a full-stack web application, with a suitable example.
  3. Compare REST API and GraphQL with respect to endpoints, data fetching, request structure and flexibility.

GraphQL

  1. Explain GraphQL architecture and describe queries and mutations with suitable examples.

Full-stack integration

  1. Design a simple full-stack data flow using MongoDB and a REST API, and explain how the client, server/API and database interact.