0% found this document useful (0 votes)
108 views6 pages

JAVA Question Bank Engineering Notes

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)
108 views6 pages

JAVA Question Bank Engineering Notes

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/ 6

Department of CSE-ALLIED

Question Bank (Theory)

Name of Subject - Object Oriented Programming with Java


Subject Code - B109431(022)
Semester - 4th
Section - AI & AIML
Discipline - CSE (ALLIED)
Academic Year - 2023-2024(EVEN)

Name of Teacher-

Prof. Manish Kumar Sharma


Department of CSE ALLIED

Dr. Padmawati Srivastava,


Head of Department,
Department of CSE-ALLIED
Question bank

UNIT-I
SNO QUESTION COURSE BLOOM
OUTCOME TEXONOMY
1 Explain various concepts of oops with proper example? UN

2 Differentiate procedural programming paradigm and AN


object-oriented programming paradigm?
3 Write a program to demonstrate the working of constructor
overloading.
4 Write a program to demonstrate the working of this CR
pointer?
5 Illustrate JVM architecture in detail? UN
6 How do while loop differ from while loop explain with AN
proper example and flow diagram?
7 Why we use static member function write a program to AN
demonstrate the working of static function. CR
8 Write a program to calculate sum of array element in java. CR
9 How to take input in runtime explain with proper java
program.
10 Describe data type? Explain various data types. UN
UNIT-II
SNO QUESTION COURSE BLOOM
OUTCOME TEXONOMY
1 Differentiate checked and unchecked exception with 2 AN
program.
2 Describe various types of predefined packages. Write a 2 UN
program to create user defined package. CR
3 Differentiate between abstract and concrete class with 2 AN
example.
4 Write a program to create user define exception. 2 CR
5 How multiple inheritance implemented in a java explain 2 AN
with proper example.
6 Explain following: 2 UN
1. Aggregation
2. Inner class
7 Why we super keyword explain with proper program? 2 AN
8 Differentiate method overloading and method 2 AN
overriding.
9 Create a user defined Exception class which throws 2 CR
Exception when the user inputs the marks greater than AP
100 Catch it and again rethrow it
10 Why we use final keyword explain with program 2 AN
UNIT-III
SNO QUESTION COURSE BLOOM
OUTCOME TEXONOMY
1 Describe StringBuffer and String Class. What is mutable 3 UN
and immutable in java? AN
2 Write a program to implement multi-threading by 3 CR
extending class and by implementing runnable interface.
3 Write a program to read and write file using 3 CR
FileInputStream and FileOutputStream class.
4 Describe synchronization in multi-threading explain with 3 UN
program.
5 Write a program to demonstrate the conversion of String 3 CR
to Integer (Using Wrapper class).
6 Explain inter thread communication? What is Daemon 3 UN
thread?
7 Describe the following: 3 UN
1. Wait()
2. Notify()
3. NotifyAll()
4. Threads()
5. Multiple Threads
8 Differentiate various way to create thread in java. 3 AN
Explain the life cycle of thread. UN
9 Explain wrapper classes with proper java program. 3 UN
10 Name the wrapper classes available in Java for primitive 3 UN
data types.
UNIT-IV
SNO QUESTION COURSE BLOOM
OUTCOME TEXONOMY
1 illustrate applet life cycle. Explain the working of 4 UN
getDocumentBase() and getCodeBase methods. CR

2 What is Applet? How applet tag in HTML allows you to 4 UN


pass parameters to your Applet. Explain with suitable AN
example?
3 Describe various types of JDBC driver also write one 4 UN
program to connect database. CR
4 Discuss URL and URL connection with suitable example 4 AN
code.
5 What is datagram? Write a simple program to establish 4 UN
communication between client and server via datagram CR
packet and datagram socket.
6 What is socket in java? Explain using java program the 4 UN
use of TCP and UDP socket to send and receive data. AN
7 Illustrate applet architechture and also create java program 4 UN
to demonstrate the working of applet working. CR
8 What is Inct Class? Use this to point the address and 4 UN
names of the local machine and well-known internet AP
websites.
9 Explain the concept of serialization and deserialization 4 UN
with suitable example.
10 Write a program, which illustrates capturing of Mouse 4 CR
Events. Use Applet for this.
11 Compare the FileReader and FileWriter class with 4 AN
FileInput stream and FileOutput Stream classes with
suitable example.
UNIT-V
SNO QUESTION COURSE BLOOM
OUTCOME TEXONOMY
1 What is RMI? Explain working of RMI. 5 UN
2 What is AWT explain event delegation model. 5 UN
3 Explain swing? Explain the benefits of swing over AWT. 5 UN
AN
4 Write a program to add 2 number 5 CR
5 Write a generic method to count the number of elements 5 CR
in a collection that have a specific property (for example,
odd integers, prime numbers, palindromes).
6 Write a generic method to exchange the positions of two 5 CR
different elements in an array.
7 Explain JFrame, JTextField, JCombobox, JLable and 5 UN
JButton with suitable example code.
8 Explain the concept of swings and its advantages over 5 AN
applet. Describe some if its application.
9 Differentiate AWT and Swing component with proper 5 AN
example.
10 Describe JAR file. How to create jar file in java explain 5 UN
with program. CR
11 What is generic class in java. Explain various types of 5 UN
generic class and also write the program to create instance CR
of generic class.

You might also like