Object Oriented Programming Lab
CIS · Final · Spring 26
Read the questions as text
Read off the PDF by AI, so it may have mistakes. The PDF is the original.
Daffodil International University
Faculty of Science & Information Technology
Department of Computing and Information System
Final Examination, Spring-2026
Course Code: CIS-216L, Course Title: OBJECT ORIENTED PROGRAMMING Lab
Level: 2 Term: 1
Exam Duration: 2 Hours
Marks: 40
Answer ALL Questions
Develop a Student Management Web Application using Spring Boot and Thymeleaf with a MySQL database. The system should allow users to perform full CRUD operations through web pages (or REST API).
1. Project Setup- Create project using Spring Initialzr Add dependencies: Spring Web, Spring Data JPA, Thymeleaf, H2, Lombok | CO1 | 5
2. Entity Class : Create Student entity with: id (Primary Key), name, email, course, age .Use JPA annotations (@Entity, @Id, etc.) | 5
3. Repository Layer Create interface: | 5
4. Service Layer (8 Marks) Implement: Save student, Get all students, Get student by ID, Update student, | 10
5. Controller Layer (7 Marks) Create MVC controller: URL | Function | 10
/students | Show all students |
/students/new | Show form |
/students/save | Save student |
/students/edit/{id} | Edit form |
/students/delete/{id} | Delete student |
Test it UI | 5