Object Oriented Programming with Java Unit 4 – Java Collections Framework: AKTU previous year questions
8 AKTU questions from Unit 4 (Java Collections Framework) 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 Collection Framework Overview (3 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 4 previous year questions
- Why does TreeSet keep elements in sorted order, while HashSet does not? (2 marks, 2026, Set Interface Implementations)
- Give a detailed description of the Java Collection Framework hierarchy. Also explain the relationship between the Iterable, Collection, and List interfaces. (7 marks, 2026, Collection Framework Overview)
- Write a Java program using ArrayList to store 5 employee objects (ID, Name, Salary). Sort the list by salary in descending order using a Comparator. (7 marks, 2026, Sorting and Comparators)
- Write a Java program that uses a HashMap to store a Phone Book (Name as key, Phone Number as value). Implement a feature to search for a number by name. (7 marks, 2026, Map Interface Implementations)
- How does Stack differ from Queue? (2 marks, 2025, List Interface Implementations)
- Compare and contrast ArrayList and LinkedList in terms of performance and usage. (7 marks, 2025, List Interface Implementations)
- Write a program to demonstrate the use of HashMap and iterate through keys and values. (7 marks, 2025, Map Interface Implementations)
- Discuss the hierarchy of the Collection framework in Java. Differentiate between List, Set, and Map. (7 marks, 2025, Collection Framework Overview)
Most asked Unit 4 topics
- Collection Framework Overview – asked 3 times
- List Interface Implementations – asked 3 times
- Map Interface Implementations – asked 3 times
Unit 4 question pattern
- 2-mark questions: 2 asked in 2025–2026
- 7-mark questions: 6 asked in 2025–2026
- About 22 marks from Unit 4 in every paper
- 7 questions were asked again in a later year
Unit 4 questions year by year
- 2026: 4 Unit 4 questions asked (23 marks across that year's papers)
- 2025: 4 Unit 4 questions asked (23 marks across that year's papers)