Modified Java Question Bank
Modified Java Question Bank
Dept. : CSE
St.Peter’sEngineeringCollege(Autonomous)
Dullapally(P),Medchal,Hyderabad–500100. Academic Year
QUESTIONBANK 2024-25
Subject Code : AS22-05ES10 Subject : Object Oriented Programming Through
Java
Class/Section : CSE/ABCDEF Year : II Semester : II
BLOOMS LEVEL
Remember L1 Understand L2 Apply L3
Analyze L4 Evaluate L5 Create L6
*****
Q. No Question (s) Marks BL CO
UNIT-I
1 a) Write a java Program to display “Hello World”? 1M L1 C225.1
b) define recursion. 1M L1 C225.1
c) list the object-oriented principles in java. 1M L1 C225.1
d) define scope and life time of a variable. 1M L1 C225.1
e) What is a method in java. 1M L1 C225.1
2 a) Write a java program to perform all Arithmetic operations on two values from 3M L2 C225.1
keyboard?
b) Explain Features/buzzwords of Java? 3M L2 C225.1
c) Explain Ternary Operator with example? 3M L2 C225.1
d) write short note on garbage collection? 3M L3 C225.1
e) Explain ‘this’ keyword with example? 3M L2 C225.1
3 a) define inner class with example? 5M L2 C225.1
b) Explain type conversions with examples. 5M L3 C225.1
c) define overloading and overriding with example 5M L2 C225.1
d) Explain Data Types With examples. 5M L2 C225.1
e) Explain string manipulation/handling functions with example? 5M L2 C225.1
4 a) Explain control statements with example? 10M L2 C225.1
b) define array? Explain different types arrays with example. 10M L2 C225.1
c). Explain operators in java with suitable examples 10M L2 C225.1
SR 22
4
a) Explain exception handling mechanism. 10M L4 C213.3
UNIT-IV
1 a) Define Event. 1M L2 C213.4
b) Define Event Source. 1M L2 C213.4
c) Define Event Listener. 1M L2 C213.4
d) List out various events. 1M L2 C213.4
e) List out AWT component classes. 1M L2 C213.4
2 a) Explain event handling mechanism 3M L2 C213.4
b) What is the Adapter clas?. 3M L2 C213.4
c) Discuss about Flow Layout. 3M L2 C213.4
d) Define Layout Manager. 3M L2 C213.4
e) Discuss about Grid Layout. 3M L2 C213.4
3 a) Discuss the various layout managers with block diagrams 5M L2 C213.4
b)Write briefly about the Checkbox class with an example program 5M L2 C213.4
SR 22