0% found this document useful (0 votes)
1 views3 pages

Java Question Bank13

The document is a question bank for a B.Tech course on Object Oriented Programming through Java, covering various units and topics. It includes both Part-A and Part-B questions categorized by Bloom's taxonomy levels, addressing concepts such as inheritance, exception handling, AWT, and applets. Each question specifies the marks and difficulty level, providing a comprehensive resource for students preparing for exams.

Uploaded by

Swathi Reddy
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
1 views3 pages

Java Question Bank13

The document is a question bank for a B.Tech course on Object Oriented Programming through Java, covering various units and topics. It includes both Part-A and Part-B questions categorized by Bloom's taxonomy levels, addressing concepts such as inheritance, exception handling, AWT, and applets. Each question specifies the marks and difficulty level, providing a comprehensive resource for students preparing for exams.

Uploaded by

Swathi Reddy
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd

QUESTION BANK (UNIT WISE)

COURSE : [Link]
SUBJECT NAME : OBJECT ORIENTED PROGRAMMING THROUGH JAVA
COURSE CODE : 22CS405ES
YEAR : II
SEM : II

UNIT-I PART-A

Bloom's
Bloom's
[Link].
[Link]. Coverage Questions Marks
Level
Level
11 UNIT-I Define Inheritance
class and object with its [Link] [1M] L1
22
UNIT-II
UNIT-I
UNIT-II
Define
List various
Write
and list
data typesof
the significance
inheritance
available in java. in java
super keyword
[1M]
[1M]
[1M]
L1
L1
L2
UNIT
II 3
3 UNIT-I
UNIT-II
List out OOP concepts.
Define package. How package is created and imported?
[1M]
[1M] L1
L2 PART-A
4 UNIT-I Name different operators available in java [1M] L1
4 UNIT-II Write the importance of ‘final’ in inheritance [1M] L2
5 UNIT-I Differentiate between C++ and java. [1M] L3
5 UNIT-II Differentiate between class and interface [1M] L4
6 UNIT-I What is type casting and type Conversion? [1M] L1
67
8
UNIT-I
UNIT-II
UNIT-I
Illustrate
What
java
the useoverriding
is method of switch case
And statement.
is method overloading in
What is the importance of ‘this’ keyword in java with an
[1M]
[1M]
L2
L1 UNIT
[1M] L2
7 UNIT-II example
Write a short notes on abstract class [1M] L1 III
89 UNIT-I
UNIT-II List out Jumping
Difference betweenstatements
early andand
lategive example for them.
binding. [1M]
[1M] L1
L4 PART-A
10
9 UNIT-I
UNIT-II What is the importance of garbage collector
Write the significance of ‘extends’ and ‘implements’and finalize ()
[1M]
[1M] L1
L2
method
keyword in java
10 UNIT-II List various member access specifiers and its rules [1M] L1
PART-B
Bloom's
[Link]. Coverage PART-B
Questions Marks
Level
Bloom's
[Link].
1 Coverage
UNIT-I Explain the role of JDK,Questions
JRE and JVM. Marks
[10M] L1
Level
2 UNIT-I Explain OOPS concepts. [10M] L1
1 UNIT-II Explain the usage of ‘final’ and ‘super’ keyword with [10M] L3
3 UNIT-I List and explain
example [Link] Java buzzwords in detail. [10M] L1
24 UNIT-I
UNIT-II Write aInheritance.
Define java program to display
Explain various all the ofodd
types numbers
Inheritance. [10M] L1
L2
between 1 to 30 using for loop & if
How can u restrict a class from inheritance statement.
3 UNIT-II What is abstract class and abstract method? Give example. [10M] L2
5 UNIT-I Explain following bitwise operators with an example: [10M] L2
4 UNIT-II What is java
left shift package?
operator << What is CLASSPATH? Show how [10M] L3
to create and access
right shift operator >> a java package with an example.
56 UNIT-II
UNIT-I What is an interface?
Define constructor? ExplainWhat are the similarities
constructor between
overloading [10M]
[10M] L2
L2
interfaces and classes?
method overloading in java with an example
67 UNIT-II
UNIT-I Explain
a) Design thea concept of interface
java program to findwith an example
the factorial of aprogram.
given [10M]
[10M] L3
L5,L3
How can
number. you extend one interface by the other interface?
7 UNIT-II What is polymorphism?
b) Justify method overriding Differentiate between
with a suitable compile
example [10M] L4
time and
program runtime polymorphism with the help of java
8 UNIT-I program
Explain in detail java nested class or inner class. [10M] L1
89 UNIT-II
UNIT-I Write
What isa program
Recursion. to implement
Explain with multilevel
an [Link], use [10M]
[10M] L3
L2
10 UNIT-I super keyword to define methods in sub classes.
a) List the primitive data types available in Java and [10M] L1.l2
9 UNIT-II What is method and constructor overloading? Explain with
explain. [10M] L3
an example program.
b) What is method overloading? Explain with an example
10 UNIT-II Examine
program the usage of “super‟ keyword with suitable [10M] L4
program segments.
Bloom's
[Link]. Coverage Questions Marks
Level
1 UNIT-III List benefits of exception handling. [1M] L1
2 UNIT-III Define Exception. List various blocks used in exception [1M] L1
handling
3 UNIT-III Write the significance of try block, catch block and finally [1M] L2
block.
4 UNIT-III Write the significance of throw and throws in exception
[1M] L2
handling
5 UNIT-III Differentiate between Process based Multitasking and
[1M] L4
Thread based Multitasking
6 UNIT-III Define Thread. How to create a Thread. [1M] L1
7 UNIT-III Write the purpose of Java Enum. [1M] L1
8 UNIT-III Define Autoboxing and unboxing on java. [1M] L1
9 UNIT-III Write the significance of Daemon Thread. [1M] L2
10 UNIT-III List various states in thread Life cycle, [1M] L1
Bloom's
[Link]. Coverage Questions Marks
PART-B Level
Bloom's
1
[Link]. UNIT-IV
Coverage Define Event, source andQuestions
Listener Marks
[1M] L1
Level
12 UNIT-IV
UNIT-III What is frame in AWT? How
Explain the difference between to create a frame.
checked and unchecked [1M]
[10M] L1
L2
3 UNIT-IV What is panel? How to create a panel.
exceptions. [1M] L1
2 UNIT-III a).Illustrate the hierarchy of java Exception classes and [10M] L2
4 UNIT-IV Name different
explain them. Layout manager types. [1M] L1
b). How to handle Arithmetic and Array Index Out of
5 UNIT-IV Define Container list any 4 types of containers [1M] L1
Bound Exception?
36 UNIT-III
UNIT-IV Demonstrate
Name [Link] and program
of ItemListener to read console
, ActionListener andinput and [10M] L3
writing console output. [1M] L1
KeyListener with syntax
47 UNIT-III
UNIT-IV Define Thread.
Differentiate Explain
between the life
checkbox and cycle
checkboxof group.
Thread and [10M]
[1M] L2
L3
methods to create a thread.
8 UNIT-IV Write short notes on dialog container class [1M] L1
5 UNIT-III Explain Synchronization of threads with an example [10M] L2
9 UNIT-IV Differentiate between Choice and List components
program. [1M] L3
10
6 UNIT-IV
UNIT-III Define AWT.
Discuss brieflyCreate
about aThread
menu priorities
bar to a AWTwith frame.
an example [1M]
[10M] L5
L2
program.
7 UNIT-III Explain the concept of Daemon threads and methods used [10M] L2
for Daemon threads with an example program.
8 UNIT-III a. Write about Termination PART-Band resumptive models [10M] L1
b. What are generics in java? Bloom's
[Link]. Coverage Questions Marks
9 UNIT-III Explain about string handling in java. Write about the [10M] Level
L1
1 UNIT-IV Illustratefunctions
various various used
typesfor
under Layout
handling manager and explain
a string. [10M] L2
10 UNIT-III each layout with
Demonstrate an example
the concept program.
of Enumerations in java with an [10M] L3
2 UNIT-IV Develop program.
example a java program to demonstrate handling mouse [10M] L3
events.
3 UNIT-IV Explain the process of event handling through Delegation [10M] L1 UNIT
4 UNIT-IV
model.
Demonstrate how keyboard events are handled with a an [10M] L3
IV
example program. PART-A
5 UNIT-IV Design a Registration form using AWT frames, various [10M] L5
components and panels
6 UNIT-IV What is an adapter class? Demonstrate its role in event [10M] L3
handling with example program.
7 UNIT-IV Design a calculator using AWT with an example program. [10M] L5
8 UNIT-IV Define Layout. Explain about different Layout managers. [10M] L1
9 UNIT-IV Write short notes on [10M] L1
a. Canvas
b. Graphics
10 UNIT-IV Design an application to create from using Textfield, [10M] L5
textarea,Button and Label
UNIT-V PART-A

Bloom's
[Link]. Coverage Questions Marks
Level
1 UNIT-V Define Applet. List two types of Applets available in Java. [1M] L1
2 UNIT-V What is the purpose of applet viewer? [1M] L1
3 UNIT-V Write HTML file to run an applet program named Simple. [1M] L3
4 UNIT-V List any two features of Applets. [1M] L1
5 UNIT-V What is the purpose of paint() method? [1M] L2
6 UNIT-V List any four methods associated with Applets [1M] L1
7 UNIT-V Differentiate stop() and destroy() methods. [1M] L4
8 UNIT-V Write the significance of Graphics class [1M] L2
9 UNIT-V What happens when the constructor JButton(String msg) is
[1M] L2
called?
10 UNIT-V List the key features of a swing GUI [1M] L1

PART-B
Bloom's
[Link]. Coverage Questions Marks
Level
1 UNIT-V Explain java Swing class Hierarchy [10M] L1
2 UNIT-V Define Applet. Explain the life cycle of an applet with neat [10M] L3
diagram.
3 UNIT-V List and explain any 6 methods defined by Applet with an [10M] L2
example program.
4 UNIT-V Explain the purpose of JButton and explain any four [10M] L2
methods associated with it.
5 UNIT-V Explain the use of JTextField and any four methods [10M] L2
associate with it
6 UNIT-V Explain the use of JList and any for methods associated [10M] L2
with it.
7 UNIT-V Illustrate the use of JLabel with suitable example. [10M] L3
8 UNIT-V List and explain different methods associated with [10M] L2
JCheckBox.
9 UNIT-V Explain different methods associate with JRadioButton [10M] L3
control with suitable example.
10 UNIT-V Explain MVC Architecture with neat sketch. [10M] L2
******

You might also like