Java Programming: In-Depth Exam
Question Analysis
Analysis of University Question Papers from 2018-2024
Methodology
• Every question manually verified from source papers.
• Exact mark allocations recorded.
• Related subtopics and concepts carefully separated and ranked.
Total
S. Occur- Marks Question Type Specific Questions/Concepts
Topic Name
No. rences (Ap- (Typical Marks) Asked
prox.)
[2024, Q. 17]: try-catch-
finally Blocks. [2024, Q. 19]:
Custom/User-defined Exceptions.
[2022, Q. 14]: Exception Hierar-
Exception Han- Essay (8M, 10M),
1 13 67 chy. [2022, Q. 20b]: Multiple catch
dling Problem (5M)
blocks for a nested try block.
[2023, Q. 7]: Differentiate Error and
Exception. [2018, Q. 25]: Exception
Handling Conclusion.
[2024, Q. 7]: Creating Thread using
Thread Class. [2024, Q. 18]: Differ-
entiate Daemon vs. User Threads.
Explanation (5M,
Threads/ Multi- [2023, Q. 16]: Achieve Synchronous
2 9 33 10M), Definition
threading Thread Execution. [2019, Q. 30]:
(1M, 2M)
How to Create a Thread (General).
[2021, Q. 22]: Create Thread using
Runnable Interface (Program).
[2024, Q. 12]: Methods to pass pa-
rameters. [2023, Q. 17]: Applet
Applets (Life
Explanation (8M), Life Cycle and parameter passing.
3 Cycle/ Parame- 7 24
Problem (5M) [2018, Q. 26 & 27]: Applet Life Cy-
ters)
cle and passing parameters. [2021,
Q. 9]: Types of Applets.
[2024, Q. 9]: Role of Statement
interface. [2024, Q. 16]: Process
of executing SQL queries. [2020,
Program (10M), Q. 28]: Program to update bal-
4 JDBC 8 43
Explanation (5M) ance in an account. [2023, Q. 12]:
Use of getColumnCount throws
SQLException. [2018, Q. 17]: Ex-
plain JDBC components.
[2024, Q. 20]: Concept and im-
plementation of Encapsulation.
OOP Concepts [2024, Q. 6]: Define Polymorphism.
Essay (10M), Defi-
5 (Encapsulation/ 6 37 [2022, Q. 1]: What is Polymor-
nition (1M, 2M)
Polymorphism) phism? [2022, Q. 16]: Applications
of OOPs. [2023, Q. 13]: Character-
istics of OOPs.
[2024, Q. 13]: Define Inheritance
and its advantages. [2023, Q. 20]:
Essay (10M), Expla-
6 Inheritance 4 30 Different forms of inheritance (Pro-
nation (5M)
gram). [2018, Q. 20]: Single Inheri-
tance (Example).
Continued on next page...
Page 1 of 4
Total
S. Occur- Marks Question Type Specific Questions/Concepts
Topic Name
No. rences (Ap- (Typical Marks) Asked
prox.)
[2024, Q. 4]: Differentiate abstract
class and interface. [2024, Q. 15]:
Use of interfaces with an example.
Differentiation
Interfaces & [2023, Q. 15]: Implement multiple
7 5 27 (2M, 10M), Expla-
Abstract Class inheritance using interface (Pro-
nation (5M)
gram). [2021, Q. 29]: Differentiate
abstract class and interface (Pro-
gram).
[2021, Q. 19]: Structure of AWT and
Controls List. [2021, Q. 20]: Pro-
gram to draw five concentric cir-
AWT/GUI & Essay (11M), Pro-
8 4 37 cles. [2022, Q. 17]: Create and use
Graphics gram (5M)
Graphics (Program to draw Poly-
gon). [2021, Q. 17]: Layout Man-
agers (Explanation and Examples).
[2023, Q. 9]: Differentiate Method
Overloading and Overriding.
[2018, Q. 30]: Differentiate Method
Methods (Over- Differentiation
Overloading and Overriding.
9 loading & Over- 5 24 (5M, 8M), Expla-
[2024, Q. 8]: Function of the
riding) nation (2M)
repaint() method. [2022, Q. 15]:
Difference between paint() and
repaint().
[2022, Q. 21c]: Dynamic Method
Dispatch and its advantages.
[2018, Q. 15]: What is Dynamic
Flow Control & Explanation (8M),
10 5 27 Method Dispatch? [2018, Q. 24]:
Dispatch Definition (2M, 4M)
Explain switch-case structure.
[2021, Q. 4]: Explain decision mak-
ing statements.
[2023, Q. 19]: Feature that
makes Java platform indepen-
Java Funda-
Explanation (1M, dent/portable. [2022, Q. 4]: What
11 mentals (Porta- 6 13
2M, 5M) is Java Virtual Machine? [2023, Q.
bility/JVM)
3]: What is Byte code? [2020, Q. 1]:
What is a JVM?
[2024, Q. 2]: Use of static key-
word. [2024, Q. 5]: Purpose of
Keywords/Liter- Definition (1M, 2M,
12 6 12 final keyword (on a class). [2023,
als 3M)
Q. 6]: Use of this and super key-
words. [2023, Q. 4]: Use of literals.
Continued on next page...
Page 2 of 4
Total
S. Occur- Marks Question Type Specific Questions/Concepts
Topic Name
No. rences (Ap- (Typical Marks) Asked
prox.)
[2024, Q. 10]: Differenti-
ate BufferedReader and
I/O Streams Explanation (5M, FileReader. [2024, Q. 21]: Java
13 (Classes & 6 18 10M), Differentia- I/O system and its main classes.
Methods) tion (2M) [2020, Q. 27]: Explain Stream
classes. [2022, Q. 21b]: Note on
Buffered Streams.
[2024, Q. 14]: Structure and com-
ponents of a Java class. [2022, Q.
Classes & Ob- Explanation (5M), 6]: Explain Nested Classes. [2022,
14 6 14
jects Definition (1M, 2M) Q. 20a]: Discuss Anonymous Inner
Classes. [2023, Q. 2]: Object defini-
tion and representation.
[2023, Q. 21a]: Constructor defi-
Definition (1M,
nition and requirement. [2020, Q.
15 Constructors 3 10 4M), Differentia-
13]: Difference between Construc-
tion (5M)
tor and Method.
[2018, Q. 28]: Explain various event
listener interfaces. [2024, Q. 11]:
Event Handling Explanation (8M,
16 5 21 Different types of event listeners in
(Listeners) 10M), Listing (2M)
AWT. [2019, Q. 9]: Delegation Event
Model.
[2018, Q. 29]: Steps for creating
Steps (8M), Listing a Package. [2020, Q. 11]: List two
17 Packages 4 16 (5M), Explanation built-in packages and their use.
(2M) [2020, Q. 7]: Usage of import
statement.
[2022, Q. 21a]: Note on File Class.
Listing (2M), Differ- [2022, Q. 7]: Differentiate a File
18 File Handling 3 7
entiation (2M) from a Directory. [2019, Q. 11]:
Write four methods of File class.
[2019, Q. 30]: Program to add two
matrices. [2023, Q. 18]: Program
Program (5M,
Arrays & to count words in a sentence (with-
19 3 20 10M), Variable
Strings out string functions). [2022, Q. 19]:
Name (1M)
Program to find second largest
number in an array.
[2020, Q. 3]: What is finalize()
method? [2021, Q. 5]: What is a
20 Memory/GC 2 3 Definition (1M)
daemon thread? (Related to pro-
cess termination)
Page 3 of 4
Key Insights for Exam Preparation
Must-Know Topics (Ranks 1-5): Exception Handling, Threads, Applets, JDBC, OOP Con-
cepts.
High Priority (Ranks 6-10): Inheritance, Interfaces, AWT/Graphics, Methods (Overload-
ing/Overriding), Flow Control.
Important (Ranks 11-15): Java Fundamentals (JVM), Keywords, I/O Streams, Classes &
Objects, Constructors.
Moderate Priority (Ranks 16-20): Event Handling, Packages, File Handling, Arrays, Mem-
ory/GC.
Exam Pattern Analysis
Section A (Short Answer): 2-3 marks each. Focuses on definitions, keywords, and simple
”differentiate between” questions (e.g., static, final, finalize(), JVM, Bytecode).
Section B (Paragraph/Problem): 5-8 marks each. Requires explanations with examples
or simple programs (e.g., Applet Life Cycle, Interface vs. Abstract Class, paint() vs.
repaint()).
Section C (Essay): 10-11 marks each. Demands detailed explanations with full programs
(e.g., ’Implement multi-threading with Runnable’, ’Write a JDBC program to update a
record’, ’Explain different forms of inheritance with code’).
Page 4 of 4