II B.
Tech I Semester (PSCV23) Regulations
Object Oriented Programming In Java
(CSE,CSE-AIML,CSE-AI,CSE-IOT,CSE-IOT&CS,CSE-DS)
QUESTION BANK
Note:
All the 20 Questions of 10 Marks , 40 Questions of 5 Marks and 40 Question of 2
Marks are to be prepared from all 5 units based on the syllabus and follow Bloom's
Taxonomy.
Unit Wise: 10 Mark Questions
UNIT
[Link]. Question CO BTL
No
1. Explain Features of Java or Java Buzz words. 1 K2
2. List and explain the Tokens in the Java language 1 K2
I
3. Explain different operators available in java with example. 1 K2
4. List and Explain Loops in Java with example 1 K2
Compare the working of constructor overloading with
5. 2 K1
method overloading
Compare the pass-by-value with the pass-by-reference
6. 2 K1
method using an example
II
7. Demonstrate Nested class concept with an example 2 K3
8. Explain Recursive methods in java. 2 K2
Develop a program to declare and access the three-
9. 3 K5
dimensional arrays
10. Develop a program to perform matrices multiplication. 3 K5
III
Demonstrate dynamic method dispatch with an example
11. 4 K3
program.
Is it possible to implement multiple inheritances in Java?
12. 4 K6
Justify your answer
13. List and explain any four packages in Java language 5 K2
List and explain the blocks of Exception handling with
14. 5 K2
examples
IV
Illustrate the Hierarchy of standard Exception classes with
15. 5 K3
a neat sketch.
16. Explain Wrapper classes with example 5 K2
Develop a JDBC application to establish a link between
17. 6 K5
MySQL and Java to save and access a table
Demonstrate Inter-thread communication with a Java
18. 6 K3
program
V
19. Illustrate JDBC architecture with a neat sketch. 6 K3
20. Explain structure of Java FX 6 K2
Page 1 of 5
Unit Wise: 5 Mark Questions
UNIT
[Link]. Question CO BTL
No
List and explain the Data types in Java program with
1. 1 K2
examples
Develop a Java program to perform string reverse
2. 1 K5
operations.
Difference between While loop and do-while with
3. 1 K4
example.
4. Explain for each loop with example. 1 K5
I
5. Explain Unconditional Control statements in java 1 K2
Explain different Conditional Control statemetns in
6. 1 K2
java
7. Explain different keywords available in java 1 K2
8. Explain command line arguments with example. 1 K5
9. Explain Anonymous Inner classes in Java with example 2 K5
Demonstrate method overriding with an example java
10. 2 K3
program.
Demonstrate method overloading with an example java
11. 2 K3
program.
Demonstrate Constructor overloading with an example
12. 2 K3
java program.
II
13. How to pass class object as Parameters to a method 2 K2
Difference between call by value and call by reference
14. 2 K1
with example.
15. Explain Recursive method with example 2 K5
Explain final keyword usage on different stages with
16. 2 K5
example
Write a program to sort the given array of elememts in
17. 3 K4
java?
Write a Java Program to perform Linear search on
18. 3 K4
array of Elements
III
19. Write a Java Program to perform Matrix Addition 3 K4
20. Write a Java Program to perform Matrix Subtraction 3 K4
Page 2 of 5
UNIT
[Link]. Question CO BTL
No
Explain Multilevel and Hierarichal Inheritance with
21. 4 K5
example
22. Explain Abstract classes and Methods with example. 4 K5
23. Explain Default Methods in Interface with example 4 K5
24. Explain Static Methods in Interface with example 4 K5
Explain Auto Boxing and Auto unboxing with
25. 5 K2
example
26. Explain any 4 classes in [Link] Package 5 K2
27. Explain classes and interfaces in [Link] package 5 K2
28. Develop your own exception and Handling it. 5 K6
IV
29. Explain Files reading and writing in Java. 5 K2
Demonstrate Checked exceptions with an example Java
30. 5 K3
program
31. Discuss the advantages of Wrapper classes. 5 K1
32. Explain the process of set path and class path 5 K2
33. Discuss the issues of Race condition and Deadlock. 6 K1
Develop a JDBC application to read data from MySQL and
34. 6 K5
Update it.
35. List and explain any three methods of a String class. 6 K2
36. Is there is a need for multi-threading? Justify your answer. 6 K2
V
37. Explain Basic Thread life Cycle with example 6 K5
38. Explain Java FX App Window Strcture 6 K2
39. Explain Java FX Scene Builder with example 6 K5
40. Implement Event Handling Mechanism with example 6 K6
Page 3 of 5
Unit Wise: 2 Mark Questions
UNIT
[Link]. Question CO BTL
No
1. What is JVM 1 K2
2. What is JDK and JRE 1 K2
3. What is Operator 1 K2
4. What is the use of increment/decrement operators 1 K2
I
5. What is command line argument 1 K2
6. List comments available in Java with example 1 K2
7. List different datatypes in java 1 K2
8. Explain break and continue statement 1 K2
9. Define Class 2 K1
10. What is Object 2 K2
11. Define data encapsulation 2 K1
12. List different access modifiers in java 2 K2
II
13. What is constructor 2 K2
14. What is importance of static and final keywords 2 K2
15. Define Recursive methods 2 K1
16. What is the use of this operator 2 K2
17. Define array 3 K1
18. How can we access elements in array 3 K2
19. What is Inheritance 4 K2
III
20. What is use of super keyword 4 K2
21. Brefily Explain final modifier 4 K2
22. What is abstract class 4 K2
Page 4 of 5
UNIT
[Link]. Question CO BTL
No
23. What is interface 4 K2
24. What is Annotation 4 K2
25. Define package 5 K1
26. What is use of import statement 5 K2
27. What is Enumeration 5 K2
28. What is Wrapper Class 5 K2
IV
29. Define exception 5 K1
30. What is use of throw keyword 5 K2
31. What is difference between final vs finally vs finalize 5 K2
32. What is the use of Throwable class 5 K2
33. Difference between String and StringBuffer 6 K3
34. Define Multi Thread 6 K1
35. Define thread priority 6 K1
36. Define deadlock 6 K1
V
37. Define race condition 6 K1
38. List out deprecated methods in thread class 6 K2
39. What is JDBC. 6 K2
40. What is the use Java FX. 6 K2
Prepared by:
Name of the Facutly :
Signature :
Verified by:
Name and Signature of the Head of the Department:
Page 5 of 5