0% found this document useful (0 votes)
1 views

Modified Java Question Bank

This document is a question bank for the Object Oriented Programming Through Java course at St. Peter's Engineering College for the academic year 2024-25. It includes a series of questions categorized by units, covering topics such as Java basics, inheritance, exception handling, event handling, and applets, along with their corresponding marks and Bloom's levels. The questions are designed to assess various cognitive skills from remembering to creating.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
1 views

Modified Java Question Bank

This document is a question bank for the Object Oriented Programming Through Java course at St. Peter's Engineering College for the academic year 2024-25. It includes a series of questions categorized by units, covering topics such as Java basics, inheritance, exception handling, event handling, and applets, along with their corresponding marks and Bloom's levels. The questions are designed to assess various cognitive skills from remembering to creating.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 4

SR 22

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

Q. No Question (s) Marks BL CO


UNIT-II
1 a) Define inheritance 1M L1 C213.2
b) Defining package. 1M L1 C213.2
c) defining an interface. 1M L1 C213.2
d) Write a short note on built-in packages. 1M L1 C213.2
e) Write a short note on access modifiers. 1M L1 C213.2
2 a)What are the benefits of inheritance? 3M L2 C213.2
b) Explain method overriding with example. 3M L2 C213.2
c) explain the Relationship Between Class and Interface. 3M L4 C213.2

d) what are the Key Features of Interfaces? 3M L2 C213.2


e) what are the costs of inheritance?
3M L2 C213.2

3 a) Write a java program to import a user-defined package? 5M L3 C213.2


b) Explain Abstract class with example. 5M L3 C213.2
c) explain differences between classes and interfaces. 5M L2 C213.2
d) Write short notes on streams. 5M L2 C213.2
e) Write a java program to implement the interface. 5M L3 C213.2
a) Explain types of inheritance with examples. 10M L4 C213.2
4
b) implement multiple inheritance using interfaces with example. 10M L3 C213.2
c) Explain importing packages with example 10M L3 C213.2
SR 22

Q. No Question (s) Marks BL CO


UNIT-III
1 a) Define Exception in Java. 1M L1 C213.3
b) Write syntax of try-catch block. 1M L1 C213.3
c)Write short note on the throws keyword. 1M L1 C213.3
d) write short note on Daemon Thread 1M L1 C213.3
e) Write short notes on thread priority 1M L1 C213.3
2 a) Write a short note on try and catch block with example 3M L2 C213.3
b) Write a short note on finally block with example 3M L2 C213.3
c) Explain Synchronization. 3M L2 C213.3
d) What are the different classes in the java.util package 3M L2 C213.3
e) Define Enumerated data type. 3M L2 C213.3
3 a) Explain Checked and Unchecked Exceptions 5M L2 C213.3
b) Difference between Multithreading and Multitasking 5M L2 C213.3
c) Explain Multithreading with example. 5M L2 C213.3
d) Explain Autoboxing in Java using an example. 5M L2 C213.3
e) Explain the String handling methods 5M L2 C213.3

4
a) Explain exception handling mechanism. 10M L4 C213.3

b) Explain Thread Life Cycle with neat Diagram 10M L2 C213.3


c) How to create Threads in java? Illustrate with examples. 10M L2 C213.3
Q. No Question (s) Marks BL CO

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

f) WAJP to Implement the MouseListener to handle MouseEvent 5M L2 C213.4


g) What is a frame? Write a program to create the frame 5M L2 C213.4
h) WAJP to Implement the KeyListener to handle KeyEvent 5M L2 C213.4
4 a) Explain the Abstract Window Toolkit (AWT) 10M L2 C213.4
b) Explain different types of Layout managers with neat block diagrams 10M L2 C213.4
c) Write a AWT Java program to create Label, TextField, TextArea, 10M L2 C213.4
Checkbox, Buttons.
UNIT V
Q. No Question (s) Marks BL CO
1 a)Define Applet. 1M L2 C213.5
b) Discuss the JApplet 1M L2 C213.5
c) What are the advantages of MVC? 1M L2 C213.5
d) What are the component class methods 1M L2 C213.5
e) Write Short note on Jpanel. 1M L2 C213.5
2 a) Describe the attributes of the APPLET tag. 3M L2 C213.5
b) Difference between AWT and swing 3M L2 C213.5
c) WAJP to create JFrame with JButton 3M L2 C213.5
f) What is Swing in Java? 3M L2 C213.5
g) List of the swing components with block diagrams 3M L2 C213.5
3 a)Explain about JTextField with an example program 5M L2 C213.5
b) Explain the MVC architecture with a neat diagram 5M L2 C213.5
d) WAJP to create Applet 5M L2 C213.5
e) Describe in detail the various swing components 5M L2 C213.5
f) EExplain any five Graphis Class methods 5M L2 C213.5
4 Explain the Applet Lifecycle with a Block diagram 10M L2 C213.5
Explain the Passing parameters to the applet with an example program 10M L2 C213.5
WAJP to create a Simple calculator using Swing 10M L2 C213.5

You might also like