B.Tech R22 Mid Question Bank JAVA
B.Tech R22 Mid Question Bank JAVA
MID-I Questions
Q.No Questions Marks BL CO Unit No
1 Define class and object. 2 L1 CO1 1
2 Explain the usage of super keyword in java. 2 L2 CO1 1
3 What is a Constructor Explain its types? 2 L1 CO1 1
Explain the concept of Object-Oriented
4 2 L2 CO1 1
Programming.
5 Explain about the method overloading in Java. 2 L2 CO1 1
6 What is an abstract class ? 2 L2 CO1 1
7 What is a package ? 2 L1 CO2 2
8 What is an interface ? 2 L1 CO2 2
9 What are byte streams and character streams? 2 L1 CO2 2
10 Describe how to implement an interface. 2 L2 CO2 2
How would you import a user-defined package in a
11 2 L3 CO2 2
Java program?
12 Explain auto boxing. 2 L2 CO2 2
Define Exception. How to handle Exceptions in
13 2 L1 CO3 3
java?
14 Explain the advantages of Exception Handling. 2 L2 CO3 3
15 What are the different types of exceptions in Java? 2 L3 CO3 3
MID-II Questions
16 Define a Thread. Explain the life cycle of a thread. 2 L2 CO3 3
17 Explain Synchronization threads with example. 2 L2 CO3 3
What is the difference between thread-based
18 2 L4 CO3 3
multitasking and process-based multitasking?
19 Explain Properties class. 2 L2 CO4 4
20 Discuss about Priority Queue. 2 L2 CO4 4
21 Explain the difference between HashSet and TreeSet. 2 L4 CO4 4
22 Differentiate between Stack and Vector. 2 L4 CO4 4
23 Explain Date and Calendar class. 2 L2 CO4 4
24 How to Access a Collection via an Iterator? 2 L3 CO4 4
25 What is the uses of Adapter class? Explain 2 L2 CO5 5
26 What are the limitations of AWT? 2 L1 CO5 5
27 Explain the MVC architecture. 2 L2 CO5 5
28 Differentiate between AWT and Swing. 2 L4 CO5 5
29 What is an Event? Explain Event Listeners? 2 L2 CO5 5
30 Explain about Applets and its Applications. 2 L2 CO5 5
PART-B
MID-I Questions
Q.No Questions Marks BL CO Unit No
What is a String? Explain different String
1 4 L2 CO1 1
Handling functions available in Java
2 Explain the forms of inheritance in Java. 4 L2 CO1 1
Differentiate between Method overloading and
3 4 L4 CO1 1
Method overriding.
1
4 Explain abstract class with example. 4 L2 CO1
What is method overriding in Java? Provide an
5 4 L1 CO1 1
example
Differentiate about final classes, final methods
6 4 L4 CO1 1
and final variables.
Define Inheritance. Explain Different types of
7 8 L2 CO1 1
Inheritance available in Java.
8 Explain in-detail about Java Buzzwords. 8 L2 CO1 1
Implement polymorphism and types of
9 8 L3 CO1 1
polymorphism with example.
How would you import a user-defined package in a
10 4 L3 CO2 2
Java program?
11 Write a java Program that uses a nested interface. 4 L1 CO2 2
12 Discuss this and super keywords. 4 L2 CO2 2
Implement a program to copy the contents of
13 4 L3 CO2 2
one file into another file.
Explain different Access specifier available in
14 4 L4 CO2 2
Java.
Define File class? Explain Random Access File
15 4 L2 CO2 2
operations with access modes.
Does Java support multiple inheritance? Justify
16 8 L5 CO2 2
your answer.
Create a package. How many ways to importing
17 8 L5 CO2 2
a package with example?
Define a stream. Design the stream classes
18 8 L6 CO2 2
hierarchy.
Explain the following.
19 a) try b) catch c) finally 4 L2 CO3 3