Question Bank for Semester End Examination (SEE)
Year/Sem: II-II Program: B.Tech Regulation:KGR21
Name of the Course: OOPS THROUGH JAVA Course Code: KG21CS405
Branch: CSE/CSD/CSM Academic Year:2023-2024
Name & Details of the Course Coordinator: A. Rajyalakshmi
K1-Remembering; K2-Understanding; K3-Applying; K4-Analyzing; K5-Evaluating; K6-Creating
Short Answer Questions
Each Question Carriers Two Marks :
Q.No Question Course Bloom’s Marks Unit -No
Outcome Taxonomy
Level
1) Define Class? CO1 K1 2 Unit-I
How does the Java Virtual Machine CO1 K2 3 Unit-I
(JVM) enable platform
2) independence in Java applications?
Explain its role in executing Java
bytecode.
Can you recall the names of the CO1 K1 2 Unit-I
3) different types of access modifiers
(access specifies) in Java?
4) What is garbage collection? CO1 K1 3 Unit-I
Provide an example of how the CO1 K3 3 Unit-I
ternary operator can be used to
5) assign a value based on a condition
in Java code. Demonstrate its usage
in a simple program
Define Scope and lifetime of CO1 k1 2 Unit-I
6)
variables in java?
Define inheritance? What are the CO1 K1 2 Unit-II
7)
different types of inheritances?
List out the steps to implement CO1 K1 2 Unit-II
8)
method overriding.
Explain the use of final keyword in CO1 K2 2 Unit-II
9)
the inheritance
How do you create and access a CO2 K2 2 Unit-II
10)
package?
Define an Interface? Explain how to CO2 K2 2 Unit-II
11)
declare an Interface?
12) Draw the life cycle of thread. CO3 K1 2M Unit-III
When is the “Arithmetic CO3 K2 2M Unit-III
13) exception” thrown? Provide an
example.
What are try and catch keywords in CO3 K2 2M Unit-III
14)
java? Explain.
15) Write a short note on thread CO3 K2 2M Unit-III
priorities
16) Explain about built in exceptions CO3 K2 2M Unit-III
17) Write short notes on Byte stream CO4 K1 2M Unit-IV
Give suitable examples to read from CO4 K2 2M Unit-IV
18)
and write bytes to a file,
19) Explain querying in Database CO4 K2 2M Unit-IV
Explain how stream classes are CO4 K2 2M Unit-IV
20)
classified?
What are the various file CO4 K2 2M Unit-IV
21)
operations?
Define AWT Discuss Hierarchy Of CO5 K1 2M Unit-V
22)
AWT
Difference between AWT and CO5 K2 2M Unit-V
23)
Swing
24) What are the limitations of AWT? CO5 K2 2M Unit-V
25) What is Event Handling? CO5 K1 2M Unit-V
Describes the stages in life cycle of CO5 K1 2M Unit-V
26)
an applet
27) Discuss about JDialog. CO5 K2 2M Unit-V
Long Answer Questions
Each Question Carriers Ten Marks:
Bloom’s
Course
Q.No Question Taxonomy Marks Unit –No
Outcome
Level
Write out the syntax for each type of
decision-making, branching
1) statement, and control CO1 K3 10 Unit-I
statementsdemonstrate their usage
with specific examples.
Explain briefly about the features
2) CO1 K5 10 Unit-I
(buzzwords) of Java.
Explain the concepts of
encapsulation, inheritance, and
polymorphism in object-oriented
3) CO1 K5 10 Unit-I
programming and how they
contribute to code organization and
reusability.
Differentiate between
4) procedureoriented and object CO1 K4 10 Unit-I
oriented programming languages?
What is method overloading?
Analyzethe signature of overloaded
5) methods in Java. What criteria CO1 K4 10 Unit-I
determine whetherare methods
considered overloaded?
Using Java syntax, can you
6) demonstrate the usage of different CO1 K3 10 Unit-I
operators with an example?
Explain different forms inheritance
7) supported by JAVA with sample CO1 K3 10 Unit-II
code snippet.
Analyze how to prevent inheritance
8) with final class with an example CO2 K3 10 Unit-II
code.
Explain the concept of interface
9) CO2 K4 10 Unit-II
with an example program?
Demonstrate the extending interface
10) CO2 K3 10 Unit-II
with suitable example code.
Define abstract class? Write a JAVA
11) program how an abstract method CO1 K3 10 Unit-II
can be implemented in sub class.
Explain how to define, import and
12) CO2 K4 10 Unit-II
access package with a java program.
Explain the various in-build
13) CO3 K5 10 M Unit-III
exception handling classes in java
Explain about thread priorities in
14) CO3 K5 10 M Unit-III
java with suitable example?
Differentiate between thread-based
15) multitasking and process-based CO3 K5 10 M Unit-III
multitasking.
What is thread? Justify the producer
16) - consumer problem using inter - CO3 K4 10 M Unit-III
thread communication.
Discuss ‘throw’ and ‘throws’
17) CO3 K4 10 M Unit-III
keywords for exception handling.
Write a Java Program for database
18) CO4 K4 10 M Unit-IV
connectivity
Give suitable examples to read
19) CO4 K3 10 M Unit-IV
from and write bytes to a file,
20) Explain the file operations in detail CO4 K4 10 M Unit-IV
Distinguish between byte stream
21) CO4 K4 10 M Unit-IV
and character stream
22) Explain the updating of JDBC CO4 K4 10 M Unit-IV
Distinguish between AWT and
23) CO5 K4 10 M Unit-V
swing
Explain about Delegation Event
24) CO5 K4 10 M Unit-V
Model
Explain in detail about
25) EventListener Interfaces with an CO5 K4 10 M Unit-V
example
Explain the following.
a) jpanel
b) jlabel
26) CO5 K4 10 M Unit-V
c) jbutton
d) jtextfield
e)jtextarea
Explain about JCheckBox with an
27) CO5 K4 10 M Unit-V
example
Explain the stages in life cycle of
28) CO5 K4 10 M Unit-V
applet with an example
Note : Minimum five questions from each unit in short answer and long answer questions.