General Instructions
Prepare Part-A / Part-B & Part-C (Module wise)
Use Only Times New Roman / Font: 12
Faculty Name : ANN MARIA JAISON Sub Name : OBJECT ORIENTED PROGRAMMING
Sub Code : PBCST304 Semester :III Year : II Module : I / II / III / IV
Regular (R) / Number of
Supplementary times
Sl: Blooms
University Question Mark Year (S) / Previous Repeated CO
No Taxonomy
Regulation the
(PR) Question
MODULE I
PART - A
DEC,202
1 Describe the role of JIT compiler 3 PR(2019) 1 K2
3
DEC,202
2 Discuss the use of public, private and protected access specifiers 3 PR(2019) 1 K2
3
DEC,202
3 How is platform independence achieved in Java 3 PR(2019) 1 K2
2
DEC,202
4 Why Java is said to be a secure programming language 3 PR(2019) 1 K2
1
DEC,202
5 Why is the 'main' method in Java qualified as public, static, and void 3 PR(2019) 1 K2
1
Discuss the concept of classes and objects in Java language using an
DEC,202
6 example of 3 PR(2019) 1 K2
0
A 'student' object in a Student management application
DEC,202
7 Write an example of implementing an interface in Java 3 PR(2019) 1 K2
0
PART - B
Explain any four object oriented features of Java with suitable DEC,202
1.a 8 PR(2019) 1 K2
examples 3
Illustrate the Java Programming and Runtime Environment. Explain
DEC,202
2.b the roles of each component of it while compiling and executing a 10 PR(2019) 1 K2
0
java program.
MODULE II
PART - A
Can final modifier be used with an abstract class. Justify your DEC,202
1 3 PR(2019) 2 K2
answer 2
DEC,202
2 Does Java support multiple inheritance? Justify your answer 3 PR(2019) 2 K2
1
PART - B
DEC,202
1.b Explain method overloading with an example 6 PR(2019) 2 K2
3
DEC,202
2.a Explain dynamic method dispatch with an example 8 PR(2019) 2 K2
3
DEC,202
3.b Discuss the uses of final keyword using examples 6 PR(2019) 2 K2
3
What is inheritance? Illustrate hierarchical inheritance using a DEC,202
4.b 7 PR(2019) 2 K2
sample program. 2
Explain the concept of method overloading with the help of a DEC,202
5.a 7 PR(2019) 2 K2
program 2
Demonstrate the role of 'super' keyword in the context of inheritance DEC,202
6.b 8 PR(2019) 2 K2
in Java with appropriate examples 0
DEC,202
7.a Point out the significance of 'this' keyword with an exam 4 PR(2019) 2 K2
0
Write a java program to show the significance of method overriding DEC,202
8.b 10 PR(2019) 2 K3
in achieving run time polymorphism. Discuss difference between 0
method overriding and method overloading
MODULE III
PART - A
DEC,202
1 Distinguish between checked and unchecked exceptions 3 PR(2019) 3 K2
3
DEC,202
2 Differentiate between the usage of keywords throw and throws. 3 PR(2019) 3 K2
2
Explain the significance of CLASSPATH environment variable in DEC,202
3 3 PR(2019) 3 K2
Java. 2
DEC,202
4 What are Checked Exceptions? Give an example 3 PR(2019) 3 K2
1
DEC,202
5 How do you create and import a package in Java 3 PR(2019) 3 K2
0
DEC,202
6 Write an example of implementing an interface in Java 3 PR(2019) 3 K2
0
PART - B
create a package reverse package. Add a crass Reverse in it with a
method reverse to print the reverse of a string without using built-in DEC,202
1.a 8 PR(2019) 3 K2
methods. Create a crass outside the package and use this method to 3
reverse a string
How do you create user defined exceptions in Java? write a Java
program find to the average of n numbers entered as command line DEC,202
2.a 8 PR(2019) 3 K2
arguments. Raise a User defined exception if the average exceeds 3
100.
DEC,202
3.a Explain the use of interface in Java. 6 PR(2019) 3 K2
3
DEC,202
4.b Explain the role of access modifiers when packages are used in Java 7 PR(2019) 3 K2
2
DEC,202
5.b Differentiate between try-catch, throw and throws keywords 6 PR(2019) 3 K2
1
Differentiate between checked and unchecked exceptions in Java DEC,202
6.a 4 PR(2019) 3 K2
with examples 0
Demonstrate the significance of the keywords 'try" 'catch" 'finally"
DEC,202
7.b 'throw' - and 'throws' in exception handling of Java with appropriate 10 PR(2019) 3 K2
0
example
MODULE IV
PART - A
DEC,202
1 Describe the features of Swing 3 PR(2019) 4 K2
3
DEC,202
2 Explain about the containers in Swing 3 PR(2019) 4 K2
3
DEC,202
3 Compare Swing API and AWT API 3 PR(2019) 4 K2
2
DEC,202
4 What are layout managers? List any two layout managers 3 PR(2019) 4 K2
2
DEC,202
5 Summarize any three features of Swing API. 3 PR(2019) 4 K2
1
DEC,202
6 Differentiate between Components and Containers in Swing 3 PR(2019) 4 K2
1
DEC,202
7 Point out the use of a Swing Layout Manager. Explain any one type 3 PR(2019) 4 K2
0
DEC,202
8 Compare any three types of Swing button classes 3 PR(2019) 4 K2
0
PART - B
DEC,202
1.a Explain how event handling is done in Java 8 PR(2019) 4 K2
3
Explain with sample code the steps in establishing JDBC DEC,202
2.a 8 PR(2019) 4 K2
connectivity. 3
DEC,202
3.b Describe the architecture of JDBC with a neat diagram 6 PR(2019) 4 K2
3
DEC,202
4.b Discuss any three layout managers in Swing 6 PR(2019) 4 K2
3
Illustrate the event handling mechanism in Java using the Delegation DEC,202
5.a 8 PR(2019) 4 K2
Event Model with the help of a diagram 2
Describe the two different ways to create fames using Swing DEC,202
6.b 5 PR(2019) 4 K2
package with appropriate examples 2
Discuss the Model View Controller (MVC) Architecture using a
DEC,202
7.a diagram. Also list out the advantages of writing program based on 7 PR(2019) 4 K2
2
MVC Architecture.
Explain the various steps for connecting to database using JDBC DEC,202
8.b 7 PR(2019) 4 K2
API, using a sample program. 2
Write java code to demonstrate the execution of select and delete DEC,202
9.b 4 PR(2019) 4 K3
queries using JDBC 1
DEC,202
10.a How events are handled in java Swing 4 PR(2019) 4 K2
1
Write a Java program using Swing to create a frame having three
text fields,Three labels and a button. The interface has to accept a
DEC,202
11.b number in the first text field. While clicking the button, the second 10 PR(2019) 4 K3
1
and third text fields have to display the previous number and next
number respectively, of the accepted input number
Discuss the event handling mechanism in Java using the Delegation DEC,202
12.a 8 PR(2019) 4 K2
Event Model? 0
How mouse events are handled in Java? Give suitable Java source DEC,202
13.b 6 PR(2019) 4 K2
code 0
DEC,202
14.a what is use of Swing package in java? Discuss any two features 6 PR(2019) 4 K2
0
write a program to illustrate the use of JFrame, JTextField and Jl- DEC,202
15.b 8 PR(2019) 4 K3
abel 0
Write Java code to demonstrate the execution of create and insert DEC,202
16.b 4 PR(2019) 4 K3
queries using JDBC. 0
Faculty Signature Sign :
Verified By : HOD Name : Sign :
: Dy. IQAC Sign :
IQAC PRINCIPAL