Unit I · HTML and CSS
HTML fundamentals
- Explain ordered and unordered lists in HTML with suitable examples.
- Explain Semantic HTML, describe the semantic tags used, and mention at least four semantic HTML tags.
- Explain the basic structure of an HTML page and describe the purpose of the major HTML elements with a suitable example.
- Explain HTML forms and describe the commonly used form controls with a suitable example.
- 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
- Briefly explain the types of style sheets.
- Explain the CSS Box Model, name its components, describe its properties, and state why it is used.
- Explain CSS position properties and describe static, relative, absolute, fixed and sticky positioning with examples.
CSS layout
- Explain Flexbox with a neat diagram and describe any four Flexbox properties with suitable examples.
- Explain CSS Grid layout with a neat diagram and describe any four Grid properties with suitable examples.
- Compare CSS Flexbox and Grid, and explain suitable use cases for each with examples.
Responsive design and styling tools
- Explain responsive web design using CSS media queries and develop a suitable example that demonstrates responsive design.
- Explain TailwindCSS and Shadcn, and discuss how they can be used to develop a responsive web interface.
- When CSS already exists, why should we use CSS frameworks? Give your opinion.
Unit II · JavaScript
Language fundamentals
- What are data types? How many data types are there in JavaScript? Give an example for each one.
- Explain JavaScript functions and their types, including arrow functions, with suitable examples.
- Explain JavaScript variables, operators and control structures with suitable examples.
- Explain any three keywords used in JavaScript with suitable examples.
- Why is JavaScript used for the web platform? Elaborate.
Objects and data
- Explain arrays and array functions in JavaScript with suitable examples.
- Explain JavaScript classes and objects with constructors and methods, and develop a suitable example.
- Explain JSON in JavaScript and demonstrate how JSON data can be created, parsed and used in a web application.
Browser, validation and errors
- 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.
- Explain form validation in JavaScript and develop a program to validate a form containing name, email and password fields.
- Explain exception handling in JavaScript and develop a program using try, catch and finally to handle an exception.
- Explain regular expressions in JavaScript and develop suitable patterns using RegExp to validate or search data.
- Explain pattern matching in JavaScript using switch statements, destructuring and regular expressions, with examples.Added for topic coverage
Unit III · React
React fundamentals
- Explain the structure of a React program.
- Explain the different types of components in React with examples, including functional components.
- What are the benefits of using React.js over plain JavaScript?
- Write a counter program using React.js.
State, props and data flow
- Explain state and props in React.js with a suitable example demonstrating both.
- Explain data flow in React.js and describe how data is passed between components using props and state.
Rendering and lifecycle
- Explain the Virtual DOM in React.js with a suitable diagram and compare it with the real DOM.
- Explain the React component lifecycle with suitable stages and examples.
Hooks and interaction
- Explain event handling and form validation in React.js with a suitable example.
- Explain React Hooks and their types, and demonstrate the use of useState and useEffect with suitable examples.
Single Page Applications and tooling
- Explain the procedure for installing the React library using NPM and NPX, including the commands and their purpose.
- 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
- Explain the features and drawbacks of Node.js, and discuss suitable use cases for Node.js applications.
- Explain the environment setup and architecture of Node.js with a neat diagram.
- Explain Node.js modules and the module system with suitable examples.
- What are global objects in Node.js? Give any two examples.
Async execution and error handling
- Explain the Event Loop in Node.js with a neat diagram and describe how it supports asynchronous and non-blocking execution.
- Explain Node.js error handling and develop a suitable example demonstrating error handling.
Files and databases
- Explain the File System module in Node.js and develop a program to read from and write to a file.
- Explain database connectivity in Node.js, including connecting an application to MongoDB, and describe the general steps involved.
Express and MVC
- Explain the GET, POST, PUT and DELETE methods in Express.js with suitable examples.
- Explain request and response objects, URL/query parameters and routing in Express.js with suitable examples.
- Explain middleware and the MVC pattern in Express.js, and develop the structure of a simple MVC-based application.
- What is Express.js and why is it used?
Unit V · Databases, REST and GraphQL
Databases and MongoDB
- Explain the overview and different types of databases, and discuss why MongoDB is suitable for modern web applications, including its key features.
- Explain MongoDB architecture and describe the procedure for configuring the MongoDB server and client.
- Explain MongoDB database and collection creation with suitable MongoDB commands.
- Explain the Create, Read, Update and Delete (CRUD) operations in MongoDB with suitable commands and examples, including insertOne() and find().
- Explain MongoDB Compass and describe how to create a database, collection and documents using it.
REST
- Explain REST API and REST architecture, and describe the principles of REST with suitable examples.
- Explain how a REST API is designed and consumed in a full-stack web application, with a suitable example.
- Compare REST API and GraphQL with respect to endpoints, data fetching, request structure and flexibility.
GraphQL
- Explain GraphQL architecture and describe queries and mutations with suitable examples.
Full-stack integration
- Design a simple full-stack data flow using MongoDB and a REST API, and explain how the client, server/API and database interact.