21CSE354T - Full Stack Web Development Question Bank
21CSE354T - Full Stack Web Development Question Bank
School of Computing
Unit – 1
Part – B Questions
1. Describe the basic structure of an HTML document. What are the key tags used, and
what role does each play?
2. Explain the importance of validating HTML code. What tools can be used for validation,
and how do they help in debugging?
3. How can you apply different fonts to text in an HTML document using CSS? Provide
examples of both web-safe fonts and custom fonts.
4. What are the different types of lists available in HTML? Explain with examples how
each type can be used in structuring content.
5. Explain the CSS box model. How do margin, padding, border, and content work together
to affect the layout of a web page?
6. How do you create external and internal links in HTML? What attributes are important
for each, and why?
7. How can you define and apply colors to elements in HTML using CSS? Discuss the
different ways to specify colors.
8. Describe how CSS transformations and transitions can be used to create interactive web
elements. Provide a simple example.
9. Describe the difference between relative, absolute, and fixed positioning in CSS. When
would you use each type of positioning?
10. What are media queries in CSS, and how do they contribute to responsive web design?
Provide an example of a media query that changes the background color of a page when
the screen width is less than 600px.
11. Explain the difference between CSS transformations and CSS transitions. How can you
use both to create a hover effect on an image that scales up smoothly when hovered?
Part - C Questions
Unit - 2
Part – B Questions
Part – C Questions
1. Interpret a React component that captures and displays user input in a form using the
useState hook. Explain each part of the code and the role of the useState hook.
2. Analyze it by comparing and contrast useEffect and useMemo hooks in React. Outline it
by when should each hook be used and state the implications of using them improperly.
3. Evaluate the use of custom hooks in large-scale React applications. What are the benefits
and potential drawbacks of using custom hooks compared to built-in hooks?
4. Design a custom hook in React to manage form validation logic for multiple input fields.
Describe the use cases for this hook and explain how you can utilize useDebugValue to
label it for debugging purposes.
5. Create a React component that uses refs to manage focus on an input field and
demonstrate how to handle the form submission event. Explain the role of refs in this
example.
6. Develop a simple React application with two components using useContext for state
management and sharing data between them. Explain how useContext works and how it
can replace prop drilling in this scenario.
Unit - 3
Part – B Questions
Part – C Questions
2. A small-scale industry consists 5 employees in their Accounts department for carrying out
their business transaction. You are instructed to store the following details for these 5 employees in
the table and name the table as employees. Employee ID, Name, Date of Joining, Age, department
and salary
3. Consider the relational database given below where primary keys underlined.
a) Find the names, cities, street address of residence of employees who work for First Bank
and earn more than 10,000$
b) Find the Company that has most employees
c) Find those companies who employees earn higher salary on average than average salary at
First Bank
d) Find all companies located in every city in which small Bank corporation is located.
4. Write a query using INTERSECT, UNION, UNION ALL, MINUS, set operator to list the
student id and residence location of the students. (8 MARKS)
Student table
2 Aditya Vizag 24
3 Ram Pune 26
4 Sam Delhi 28
1. Write a query for SQL view (view name: Employee_Records) to fetch columns of the table
and filter the results using where clause with the martial_status ‘M’.
2. Write a query to drop SQL view table (view name: Employee_Records) table.
Write SQL queries for the following along with their output.
6. Table – StudentDetails
Table – StudentStipend
11 P1 80000
21 P2 10000
31 P1 120000
a) Write an SQL query to fetch the number of students working in project ‘P1’.
b) Write an SQL query for creating a new table with data and structure copied from another
table.
c) Write an SQL query for fetching records that are present in one table but not in another table
using Minus.
d) Write an SQL query for fetching all the Students details from StudentDetails table who
joined in the Year 2018.
e) Write the SQL query to find the nth highest stipend from the table.
7. A company wants to connect its Java-based web application to a MySQL database to store
employee information. The database needs to store employee IDs, names, and departments. Write
the JDBC code to: Establish a connection to the MySQL database. & Insert a new employee record
into the database.
8. Imagine you're building a Java application that frequently updates and retrieves student grades
from a database. Design a solution using JDBC that allows: i)Transaction management where
multiple updates (grade changes) are handled, ensuring data consistency and
If an error occurs in one update, all updates should roll back to the previous state.
9. Discuss the steps involved in setting up a JDBC connection, from installing the database to
running SQL queries.
Unit - 4
Part – B Questions
1. What are the key differences between Spring and Spring Boot?
2. What is Spring Boot Auto-Configuration? How does it help in application development?
3. What are the key components of a basic Spring Boot application?
4. What are the different types of testing in Spring Boot?
5. Explain the key features of Spring Boot.
6. Describe the three-tier architecture in a Spring Boot application.
7. How does Spring Boot facilitate testing?
8. What is Spring Boot Actuator, and what are its benefits?
9. Discuss the importance of auto-configuration in Spring Boot.
10. What is Spring Boot and how does it simplify Spring-based development?
11. What is business logic in a Spring Boot application, and where is it typically implemented?
12. What is the difference between unit testing and integration testing in a Spring Boot
application?
Part – C Questions
13. Explain the concept of Spring Boot Auto-Configuration in detail. How does it work
internally, and what are the key annotations involved?
14. Describe the Three-Tier and Three-Layer Architecture in the context of Spring Boot.
Discuss the roles and responsibilities of each layer and how Spring Boot facilitates the
implementation of this architecture.
15. What is Testing in Spring Boot, and what are the various testing strategies and tools used
for effective testing? Provide examples for Unit, Integration, and Mock Testing in Spring
Boot.
16. Explain the concept of a Three-Tier Architecture and how it relates to a Three-Layer
Architecture in Spring Boot.
17. Discuss what Spring is and highlight its key features like Dependency Injection (DI),
Aspect-Oriented Programming (AOP), Data Access, and Transaction Management.
18. Discuss the role of the presentation layer in a Spring Boot application and how it interacts
with the business logic.
Unit - 5
Part – B Questions
Part – C Questions