G PULLAIAH COLLEGE OF ENGINEERING & TECHNOLOGY
(Autonomous)
(Approved by AICTE | NAAC Accreditation with ‘A’ Grade |
Accredited by NBA (CIV, CSE, ECE & EEE) | Affiliated to JNTUA)
Nandikotkur Road, Venkayapalli (V), Kurnool - 518452, Andhra Pradesh
____________________________________________________________________
Subject Code : A40512 Subject Name : OBJECT-ORIENTED PROGRAMMING THROUGH JAVA
Class/Section : CAI Year : II Semester : II
QUESTIONBANK
Name of Faculty: V.Divakar Naidu Academic Year: 2024-2025
BLOOMS LEVEL
Remember L1 Understand L2 Apply L3
Analyze L4 Evaluate L5 Create L6
2 Marks Questions
Unit Q. Question CO Bloom’s Appeared in Previous
No No s Taxonomy Level Question Papers
I 1 Define Object-Oriented Programming. L1 CO1 JNTU 2022
2 List the basic principles of OOP. L1 CO1 JNTU 2021
3 What are tokens in Java? L1 CO1 JNTU 2020
4 Explain the purpose of escape sequences in L2 CO1 JNTU 2019
Java.
5 Differentiate between variables and L2 CO1 JNTU 2022
symbolic constants.
6 Illustrate the usage of printf() in Java. L2 CO1 JNTU 2021
7 Explain the scope of a variable in Java. L2 CO1 JNTU 2020
8 What is the significance of the final L1 CO1 JNTU 2019
keyword?
9 Describe the ternary operator with an L2 CO1 JNTU 2022
example.
10 Write a Java program to demonstrate the L2 CO1 JNTU 2021
use of a switch statement.
II 1 What is a class in Java? L1 CO2 JNTU 2022
2 Differentiate between a class and an object. L2 CO2 JNTU 2021
G PULLAIAH COLLEGE OF ENGINEERING & TECHNOLOGY
(Autonomous)
(Approved by AICTE | NAAC Accreditation with ‘A’ Grade |
Accredited by NBA (CIV, CSE, ECE & EEE) | Affiliated to JNTUA)
Nandikotkur Road, Venkayapalli (V), Kurnool - 518452, Andhra Pradesh
____________________________________________________________________
3 Define a constructor and its types. L1 CO2 JNTU 2020
4 Illustrate method overloading with an L2 CO2 JNTU 2019
example.
5 Explain the use of the this keyword in Java. L2 CO2 JNTU 2022
6 Describe access control mechanisms in L2 CO2 JNTU 2021
Java.
7 What is a nested class? L1 CO2 JNTU 2020
8 Differentiate between passing arguments by L2 CO2 JNTU 2019
value and by reference.
9 Explain the significance of static methods. L2 CO2 JNTU 2022
10 Write a Java program to demonstrate L2 CO2 JNTU 2021
method overriding.
III 1 Define an array and its types. L1 CO3 JNTU 2022
2 How are arrays stored in memory? L1 CO3 JNTU 2021
3 Illustrate sorting an array in Java. L2 CO3 JNTU 2020
4 What is inheritance? List its types. L1 CO3 JNTU 2019
5 Differentiate between method overloading L2 CO3 JNTU 2022
and overriding.
6 Explain the role of the super keyword in L2 CO3 JNTU 2021
inheritance.
7 Describe the importance of interfaces in L2 CO3 JNTU 2020
Java.
8 What is a functional interface? L1 CO3 JNTU 2019
9 Illustrate the use of default and static L2 CO3 JNTU 2022
methods in interfaces.
10 Write a Java program to demonstrate L2 CO3 JNTU 2021
multiple inheritance using interfaces.
IV 1 What is a package in Java? L1 CO4 JNTU 2022
2 Explain the purpose of import statements. L2 CO4 JNTU 2021
3 Differentiate between checked and L2 CO4 JNTU 2020
unchecked exceptions.
4 What are standard I/O streams in Java? L1 CO4 JNTU 2019
G PULLAIAH COLLEGE OF ENGINEERING & TECHNOLOGY
(Autonomous)
(Approved by AICTE | NAAC Accreditation with ‘A’ Grade |
Accredited by NBA (CIV, CSE, ECE & EEE) | Affiliated to JNTUA)
Nandikotkur Road, Venkayapalli (V), Kurnool - 518452, Andhra Pradesh
____________________________________________________________________
5 Define wrapper classes and explain their L1 CO4 JNTU 2022
purpose.
6 Explain the try-catch-finally block with an L2 CO4 JNTU 2021
example.
7 What is autoboxing and unboxing? L1 CO4 JNTU 2020
8 Describe the features of the Math class in L2 CO4 JNTU 2019
Java.
9 Write a Java program to read data from a L2 CO4 JNTU 2022
file using Scanner.
10 What is the purpose of the Random class in L1 CO4 JNTU 2021
Java?
V 1 What is a String in Java? L1 CO5 JNTU 2022
2 Explain the difference between String and L2 CO5 JNTU 2021
StringBuffer.
3 How do you extract characters from a L2 CO5 JNTU 2020
String?
4 Define multithreading and explain its L1 CO5 JNTU 2019
importance.
5 Differentiate between a thread’s lifecycle L2 CO5 JNTU 2022
states.
6 What is thread synchronization? L1 CO5 JNTU 2021
7 Describe inter-thread communication in L2 CO5 JNTU 2020
Java.
8 What are the various collection interfaces in L1 CO5 JNTU 2019
Java?
9 Explain the difference between ArrayList L2 CO5 JNTU 2022
and LinkedList.
10 Write a Java program to demonstrate a L2 CO5 JNTU 2021
HashMap.
5 Marks Questions
Unit Q. Question COs Bloom’s Appeared in Previous
No No Taxonomy Level Question Papers
I 1 Explain Object-Oriented Programming L2 CO1 JNTU 2022
principles with examples.
G PULLAIAH COLLEGE OF ENGINEERING & TECHNOLOGY
(Autonomous)
(Approved by AICTE | NAAC Accreditation with ‘A’ Grade |
Accredited by NBA (CIV, CSE, ECE & EEE) | Affiliated to JNTUA)
Nandikotkur Road, Venkayapalli (V), Kurnool - 518452, Andhra Pradesh
____________________________________________________________________
2 Describe the structure of a Java program with L2 CO1 JNTU 2021
an example.
3 What are tokens in Java? Explain different L2 CO1 JNTU 2020
types of tokens.
4 Explain different types of data types in Java L2 CO1 JNTU 2019
with examples.
5 What is type casting? Explain implicit and L3 CO1 JNTU 2022
explicit type casting.
6 Explain formatted output in Java using the L3 CO1 JNTU 2021
printf() method.
7 Describe different types of operators in Java L3 CO1 JNTU 2020
with examples.
8 Differentiate between while, do-while, and for L3 CO1 JNTU 2019
loops with examples.
9 Explain the concept of command-line L4 CO1 JNTU 2022
arguments with a sample program.
10 Write a Java program to demonstrate the use L4 CO1 JNTU 2021
of the ternary operator.
II 1 What are classes and objects? Explain with an L2 CO2 JNTU 2022
example.
2 Explain constructors and their types in Java L2 CO2 JNTU 2021
with examples.
3 What is method overloading? Explain with an L2 CO2 JNTU 2020
example.
4 Differentiate between static and non-static L3 CO2 JNTU 2019
methods with examples.
5 Explain access control mechanisms in Java L3 CO2 JNTU 2022
with examples.
6 What is a nested class? Explain its types with L3 CO2 JNTU 2021
examples.
7 Explain method overriding and its importance L3 CO2 JNTU 2020
in Java.
8 How does the this keyword work in Java? L3 CO2 JNTU 2019
Explain with a program.
9 Write a Java program to demonstrate passing L4 CO2 JNTU 2022
objects as parameters.
10 Explain the importance of the final keyword in L4 CO2 JNTU 2021
G PULLAIAH COLLEGE OF ENGINEERING & TECHNOLOGY
(Autonomous)
(Approved by AICTE | NAAC Accreditation with ‘A’ Grade |
Accredited by NBA (CIV, CSE, ECE & EEE) | Affiliated to JNTUA)
Nandikotkur Road, Venkayapalli (V), Kurnool - 518452, Andhra Pradesh
____________________________________________________________________
methods and classes.
III 1 What is an array? Explain one-dimensional L2 CO3 JNTU 2022
and two-dimensional arrays with examples.
2 Explain how arrays are stored in memory with L2 CO3 JNTU 2021
an example.
3 Describe different searching and sorting L3 CO3 JNTU 2020
techniques in arrays.
4 Explain the concept of inheritance and its L2 CO3 JNTU 2019
types with an example.
5 How does the super keyword work in Java? L3 CO3 JNTU 2022
Explain with a program.
6 Differentiate between abstract classes and L3 CO3 JNTU 2021
interfaces.
7 What are functional interfaces? Explain their L3 CO3 JNTU 2020
role in Java 8.
8 Explain multiple inheritance in Java using L4 CO3 JNTU 2019
interfaces with an example.
9 Illustrate default and static methods in L4 CO3 JNTU 2022
interfaces with examples.
10 Write a Java program demonstrating dynamic L4 CO3 JNTU 2021
method dispatch.
IV 1 What are packages in Java? Explain their L2 CO4 JNTU 2022
advantages with an example.
2 Differentiate between import and static import L2 CO4 JNTU 2021
with examples.
3 Explain different types of exceptions in Java. L2 CO4 JNTU 2020
4 How do you handle exceptions in Java? L3 CO4 JNTU 2019
Explain with a program.
5 Explain autoboxing and unboxing in Java with L3 CO4 JNTU 2022
an example.
6 What is the purpose of the Math class? L3 CO4 JNTU 2021
Explain important methods.
7 What is the difference between checked and L3 CO4 JNTU 2020
unchecked exceptions?
8 Explain file handling in Java with an example L4 CO4 JNTU 2019
program.
G PULLAIAH COLLEGE OF ENGINEERING & TECHNOLOGY
(Autonomous)
(Approved by AICTE | NAAC Accreditation with ‘A’ Grade |
Accredited by NBA (CIV, CSE, ECE & EEE) | Affiliated to JNTUA)
Nandikotkur Road, Venkayapalli (V), Kurnool - 518452, Andhra Pradesh
____________________________________________________________________
9 Illustrate reading and writing files in Java L4 CO4 JNTU 2022
using Scanner and FileWriter.
10 Write a Java program to demonstrate the L4 CO4 JNTU 2021
Random class.
V 1 Explain String handling in Java with an L2 CO5 JNTU 2022
example.
2 Differentiate between String and StringBuffer L2 CO5 JNTU 2021
with examples.
3 How do you extract and modify characters in a L3 CO5 JNTU 2020
string?
4 Explain multithreading and its advantages. L2 CO5 JNTU 2019
5 Describe the different states of a thread in L3 CO5 JNTU 2022
Java.
6 Explain thread synchronization and deadlock L3 CO5 JNTU 2021
with examples.
7 What is inter-thread communication? Explain L3 CO5 JNTU 2020
with a program.
8 Explain the Java Collection Framework and its L2 CO5 JNTU 2019
importance.
9 Differentiate between ArrayList and L3 CO5 JNTU 2022
LinkedList with examples.
10 Write a Java program to implement a L4 CO5 JNTU 2021
HashMap and perform CRUD operations.
G PULLAIAH COLLEGE OF ENGINEERING & TECHNOLOGY
(Autonomous)
(Approved by AICTE | NAAC Accreditation with ‘A’ Grade |
Accredited by NBA (CIV, CSE, ECE & EEE) | Affiliated to JNTUA)
Nandikotkur Road, Venkayapalli (V), Kurnool - 518452, Andhra Pradesh
____________________________________________________________________
10 Marks Questions
Unit Q. Question CO Bloom’s Appeared in
No No s Taxonomy Previous Question
Level Papers
I 1 Explain Object-Oriented Programming (OOP) L2 CO1 JNTU 2022
principles in Java with real-life examples.
2 Describe Java program structure with an L2 CO1 JNTU 2021
example. Explain different elements in a Java
program.
3 Discuss different types of operators in Java with L3 CO1 JNTU 2020
examples and precedence rules.
4 Explain various data types in Java along with L3 CO1 JNTU 2019
their storage and scope.
5 What is type casting? Explain with examples L3 CO1 JNTU 2022
including implicit and explicit type casting.
6 Explain control statements in Java. Compare if- L4 CO1 JNTU 2021
else, switch, and looping constructs.
7 Write a Java program to demonstrate command- L4 CO1 JNTU 2020
line arguments and explain its use cases.
8 What are escape sequences and symbolic L4 CO1 JNTU 2019
constants? Explain their usage in Java.
9 Explain formatted output in Java using printf() L5 CO1 JNTU 2022
method with an example.
10 Write a Java program demonstrating different L5 CO1 JNTU 2021
types of variables and their scope.
II 1 Explain classes and objects in Java with an L2 CO2 JNTU 2022
example program.
2 Discuss constructor methods, their types, and L2 CO2 JNTU 2021
the role of the this keyword in Java.
3 Explain method overloading and constructor L3 CO2 JNTU 2020
overloading with examples.
4 Compare static and non-static members in Java L3 CO2 JNTU 2019
with examples.
5 Discuss access control mechanisms in Java and L3 CO2 JNTU 2022
their importance in object-oriented
programming.
6 Explain inheritance and its types with an L4 CO2 JNTU 2021
G PULLAIAH COLLEGE OF ENGINEERING & TECHNOLOGY
(Autonomous)
(Approved by AICTE | NAAC Accreditation with ‘A’ Grade |
Accredited by NBA (CIV, CSE, ECE & EEE) | Affiliated to JNTUA)
Nandikotkur Road, Venkayapalli (V), Kurnool - 518452, Andhra Pradesh
____________________________________________________________________
example in Java.
7 What is method overriding? Explain its L4 CO2 JNTU 2020
significance in polymorphism.
8 Write a Java program to demonstrate nested L4 CO2 JNTU 2019
classes and inner classes.
9 Explain the importance of final keyword in Java L5 CO2 JNTU 2022
with examples.
10 Discuss argument passing mechanisms in Java L5 CO2 JNTU 2021
(pass-by-value vs. pass-by-reference).
III 1 Explain array declaration, initialization, and L2 CO3 JNTU 2022
memory storage in Java.
2 Discuss sorting and searching techniques in L2 CO3 JNTU 2021
arrays with Java implementations.
3 What is inheritance? Explain multilevel and L3 CO3 JNTU 2020
hierarchical inheritance with examples.
4 Explain the super keyword in Java and its L3 CO3 JNTU 2019
applications.
5 Compare abstract classes and interfaces in Java L3 CO3 JNTU 2022
with examples.
6 Explain multiple inheritance in Java using L4 CO3 JNTU 2021
interfaces. Provide a Java program.
7 Discuss functional interfaces and lambda L4 CO3 JNTU 2020
expressions in Java.
8 Explain the concept of dynamic method dispatch L4 CO3 JNTU 2019
with a Java example.
9 Write a Java program to demonstrate interface L5 CO3 JNTU 2022
inheritance.
10 Explain the role of default and static methods in L5 CO3 JNTU 2021
interfaces. Provide examples.
IV 1 Explain Java packages and their importance in L2 CO4 JNTU 2022
modular programming.
2 What are checked and unchecked exceptions? L2 CO4 JNTU 2021
Explain exception handling mechanisms.
3 Discuss the hierarchy of Java standard exception L3 CO4 JNTU 2020
classes.
4 Explain throw, throws, and finally with L3 CO4 JNTU 2019
G PULLAIAH COLLEGE OF ENGINEERING & TECHNOLOGY
(Autonomous)
(Approved by AICTE | NAAC Accreditation with ‘A’ Grade |
Accredited by NBA (CIV, CSE, ECE & EEE) | Affiliated to JNTUA)
Nandikotkur Road, Venkayapalli (V), Kurnool - 518452, Andhra Pradesh
____________________________________________________________________
examples.
5 What are wrapper classes in Java? Explain L3 CO4 JNTU 2022
autoboxing and unboxing.
6 Explain Java file handling operations with L4 CO4 JNTU 2021
Scanner and FileWriter.
7 Discuss the Random class and its applications in L4 CO4 JNTU 2020
Java.
8 Explain Formatter and its usage for formatted L4 CO4 JNTU 2019
output.
9 Write a Java program to demonstrate multiple L5 CO4 JNTU 2022
catch blocks.
10 Explain the role of the Object class in Java and L5 CO4 JNTU 2021
its key methods.
V 1 Explain the differences between String, L2 CO5 JNTU 2022
StringBuffer, and StringBuilder.
2 Discuss multithreading in Java and its L2 CO5 JNTU 2021
advantages in concurrent programming.
3 Explain the life cycle of a thread and different L3 CO5 JNTU 2020
thread states in Java.
4 What is thread synchronization? Explain its L3 CO5 JNTU 2019
importance with an example.
5 Discuss inter-thread communication in Java L3 CO5 JNTU 2022
with an example program.
6 Explain deadlock and race conditions in L4 CO5 JNTU 2021
multithreaded programming.
7 What is the Java Collection Framework? L4 CO5 JNTU 2020
Explain its key interfaces and classes.
8 Compare ArrayList, LinkedList, and Vector with L4 CO5 JNTU 2019
examples.
9 Write a Java program to demonstrate the use of L5 CO5 JNTU 2022
HashMap.
10 Explain priority queues and their applications in L5 CO5 JNTU 2021
Java.