Home › AKTU PYQ › Object Oriented Programming with Java › PYQ Questions › Unit 5

Object Oriented Programming with Java Unit 5 – Spring Framework and Spring Boot: AKTU previous year questions

8 AKTU questions from Unit 5 (Spring Framework and Spring Boot) asked in 2025–2026, tagged by marks, year and topic. In short: about 22 marks of every paper come from this unit; the most asked topic is Spring Core Basics (5 times); 7 questions came back in a later year. The latest ones are listed below; on the page you can filter them by 2-mark or long questions, topic and repeats.

Unit 5 previous year questions

  • What is Aspect-Oriented Programming (AOP) and how it helps with logging without touching the main business logic? (2 marks, 2026, Spring Core Basics)
  • Explain Dependency Injection with a real-world example. How does Spring’s Inversion of Control container manage these dependencies? (7 marks, 2026, Spring Core Basics)
  • Explain the Spring Bean Lifecycle. Describe the steps from when a bean is instantiated until it is destroyed by the container. (7 marks, 2026, Spring Core Basics)
  • Explain the architecture of a RESTful Web Service. How does Spring Boot handle a client request and return a JSON response? (7 marks, 2026, RESTful Web Services)
  • What is a GET vs POST request? (2 marks, 2025, RESTful Web Services)
  • What is Spring Boot? How is it different from the traditional Spring framework? (7 marks, 2025, Spring Boot)
  • Explain the concept of Dependency Injection and its types in Spring. Develop a simple API in Spring Boot to perform CRUD operations using a list as storage. (7 marks, 2025, RESTful Web Services)
  • Describe the structure of a basic Spring Boot application. What are the advantages of using Spring Boot over traditional web frameworks? (7 marks, 2025, Spring Boot)

Most asked Unit 5 topics

  • Spring Core Basics – asked 5 times
  • RESTful Web Services – asked 4 times
  • Spring Boot – asked 2 times

Unit 5 question pattern

  • 2-mark questions: 2 asked in 2025–2026
  • 7-mark questions: 6 asked in 2025–2026
  • About 22 marks from Unit 5 in every paper
  • 7 questions were asked again in a later year

Unit 5 questions year by year

  • 2026: 4 Unit 5 questions asked (23 marks across that year's papers)
  • 2025: 4 Unit 5 questions asked (23 marks across that year's papers)