Ashoka Institute of Technology and Management
Ashoka Engineering Chauraha Paharia, Sarnath, Varanasi-221007 (U.P), INDIA
Phone No: +91-9198840005 Email: info@[Link] Fax: +91-542-2582255
Assignment No - 2
Session 2025-26
SUBJECT CODE: BCS - 403 SUBMISSION DATE:
SUBMITTED BY: SUBMITTED TO:
Name: Faculty Name:
Roll No: Designation:
Course & Branch:
Semester:
Ashoka Institute of Technology and Management
Ashoka Engineering ChaurahaPaharia, Sarnath, Varanasi-221007 (U.P), INDIA
Phone No: +91-9198840005 Email: info@[Link] Fax: +91-542-2582255
(Affiliated to Dr. A.P.J. Abdul Kalam Technical University & Board of Technical Education, Lucknow)
(Approved by AICTE & PCI, New Delhi)
AKTU-641 BTE-4186
ASHOKA INSTITUTE OF TECHNOLOGY AND MANAGEMENT, VARANASI
Ashoka Engineering Chauraha, Paharia, Sarnath, Varanasi-221007 (U.P), INDIA
ASSIGNMENT- 2
Course & Branch: B Tech (CSE) Subject Name: Object oriented programing with Java
Semester: 4th Subject Code: BCS- 403
Assignment Given on-18-04-2026 Assignment Submission Date-25-04-2026
Name of the Faculty- Alok Kumar Gupta Session:2025-26
S. No. Questions Marks CO BL
Note: Attempt all questions. Each question carries equal mark.
1(a) Define functional Interface in java implement with lambda function. 2.5 3 3
1(b) Define the purpose of sealed class in java with example. 2.5 3 3
1(c)
Explain LinkedHashMap and HashMap class in java 2.5 4 2
1(d) Write a Java program demonstrating the use of Collection Framework
(ArrayList, LinkedList, Set) and perform operations like insertion, 2.5 4 3
deletion, and traversal.
1(e) Explain Spring Framework concepts such as Dependency Injection (DI),
2.5 5 2
Inversion of Control (IoC), Bean Scopes, and Annotations.
1(f) Develop a simple RESTful web service using Spring Boot demonstrating
2.5 5 3
GET and POST APIs.