Object Oriented Programming with Java Unit 2 – Exception Handling, Input Output and Multithreading: AKTU previous year questions
8 AKTU questions from Unit 2 (Exception Handling, Input Output and Multithreading) asked in 2025–2026, tagged by marks, year and topic. In short: about 25 marks of every paper come from this unit; the most asked topic is Exception Handling (7 times); 8 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 2 previous year questions
- List the five Exception Handling keywords. Can a try block exist without a catch or finally? (2 marks, 2026, Exception Handling)
- Define a Thread. What is the difference between extending Thread and implementing Runnable? (2 marks, 2026, Multithreading)
- Explain the difference between Byte Streams and Character Streams. Describe the classes used to read and write a simple text file. (7 marks, 2026, Input Output Basics)
- Create a Custom Exception class named InvalidPasswordException. Write a program that throws this exception if a user's password is less than 8 characters long. (7 marks, 2026, Exception Handling)
- Write a Java program to solve the Producer-Consumer problem using a shared buffer and methods - wait() and notify(). (7 marks, 2026, Multithreading)
- What is the purpose of the finally block in Java exception handling? (2 marks, 2025, Exception Handling)
- How is throw different from throws? (2 marks, 2025, Exception Handling)
- Explain the concept of multithreading. Write a program to implement two threads printing numbers alternatively. (7 marks, 2025, Multithreading)
Most asked Unit 2 topics
- Exception Handling – asked 7 times
- Multithreading – asked 6 times
- Input Output Basics – asked 2 times
Unit 2 question pattern
- 2-mark questions: 4 asked in 2025–2026
- 7-mark questions: 4 asked in 2025–2026
- About 25 marks from Unit 2 in every paper
- 8 questions were asked again in a later year
Unit 2 questions year by year
- 2026: 5 Unit 2 questions asked (25 marks across that year's papers)
- 2025: 3 Unit 2 questions asked (11 marks across that year's papers)