Java Question Bank Cse II-i Sem
Java Question Bank Cse II-i Sem
PART-B
Bloom's
S. No. Coverage Questions Marks
Level
1 UNIT-I [10M] L2
What are the differences between C++ and Java?
UNIT-II
PART-A
Bloom's
S.No. Coverage Questions Marks
Level
1 UNIT-II What is inheritance? [1M] L1
2 UNIT-II What is a package? [1M] L1
3 UNIT-II Define class and object? [1M] L2
4 UNIT-II What is encapsulation [1M] L1
5 UNIT-II What is abstraction? [1M] L1
6 UNIT-II Distinguish constructor and a method [1M] L4
7 UNIT-II What are instance methods? [1M] L1
8 UNIT-II Jusify ? Can we declare a class as private? [1M] L4
9 UNIT-II How can you find the hash code of an object? [1M] L1
10 UNIT-II What is the difference between == and equal() ? [1M] L1
PART-B
Bloom's
S.No. Coverage Questions Marks
Level
1 UNIT-II What is method and a class explain with its structure? [10M] L1
2 UNIT-II Describe about method overloading and overriding in [10M] L3
java?
3 UNIT-II Define class and object in java.? Write a java program to [10M] L2
create a class and create one object overloading
4 UNIT-II .Define Abstract classes? Write with an example? [10M] L2
5 UNIT-II Explain about methods? Explain Method overloading? [10M] L5
6 UNIT-II Write in detail about creating , importing packages [10M] L2
7 UNIT-II Define interface? Write Differences between classes and [10M] L2
interfaces?
8 UNIT-II Define Abstract classes? Write with an example? [10M] L2
9 UNIT-II Write final classes , methods with an example [10M] L2
10 UNIT-II Write Member access rules with an example [10M] L2
UNIT-III
PART-A
Bloom's
S. No. Coverage Questions Marks
Level
1 UNIT-III What is exception? [1M] L1
2 UNIT-III What is a thread? [1M] L1
3 UNIT-III Define throw keyword? [1M] L1
4 UNIT-III Write about multithreading? [1M] L5
5 UNIT-III What is the normal priority of a thread? [1M] L1
6 UNIT-III What is the difference between process and thread? [1M] L1
7 UNIT-III What is the difference between error and exception in
[1M] L1
Java?
8 UNIT-III Can we write only try block without catch and finally
[1M] L2
blocks?
9 UNIT-III What are run time exceptions in Java. [1M] L1
10 UNIT-III Does finally block get executed If either try or catch blocks are
[1M] L2
returning the control?
PART-B
Bloom's
S. No. Coverage Questions Marks
Level
1 UNIT-III What is an Exception in Java? [10M] L1
2 UNIT-III Explain Java Exception Hierarchy? [10M] L5
3 UNIT-III What is the difference between Checked and Unchecked [10M] L1
Exceptions in Java?
4 UNIT-III .Explain the following this example? a) try-catch b) throws [10M] L5
c)throws d)finally
5 UNIT-III How to write custom(user defined) exceptions in Java explain [10M] L1
with example?
6 UNIT-III Define thread? explain about multithreading [10M] L1
7 UNIT-III Explain life cycle of thread with neat diagram? [10M] L5
8 UNIT-III Summarize in methods of Thread class? [10M] L2
9 UNIT-III Explain about priority of a Thread? [10M] L5
10 UNIT-III Explain synchronization in multithreading? [10M] L5
UNIT-IV
PART-A
Bloom's
S. No. Coverage Questions Marks
Level
1 UNIT-IV What is Collection in Java? [1M] L1
2 UNIT-IV What is the hash Code()? [1M] L1
3 UNIT-IV What is a Framework in Java? [1M] L1
4 UNIT-IV What is Array List in Java? [1M] L1
5 UNIT-IV What are the advantages of the collection Framework? [1M] L1
6 UNIT-IV What are the various interfaces used in Java Collections
[1M] L1
Framework?
7 UNIT-IV What is the difference between an Iterater and an
[1M] L1
Enumeration?
8 UNIT-IV What is the difference between List and Set in Java [1M] L1
9 UNIT-IV What is an iterator? [1M] L1
10 UNIT-IV What is enumeration? [1M] L1
PART-B
Bloom's
S. No. Coverage Questions Marks
Level
1 UNIT-IV Write Array List with an example? [10M] L4
2 UNIT-IV Write the Java Collection frame work with an example. [10M] L4
3 UNIT-IV Explain about hash table with an example. [10M] L4
4 UNIT-IV Write enumeration with an example. [10M] L4
5 UNIT-IV Write String Tokenizer with an example. [10M] L4
6 UNIT-IV Write Random with an example. [10M] L4
7 UNIT-IV Write Calender class with an example [10M] L4
8 UNIT-IV Write text input/output file operations. [10M] L4
9 UNIT-IV Explain about MVC architecture in detal [10M] L5
10 UNIT-IV Write File management using File class. [10M] L4
UNIT-V
PART-A
Bloom's
S.No. Coverage Questions Marks
Level
1 UNIT-V What is an Applet ? [1M] L1
2 UNIT-V Explain the life cycle of an Applet. [1M] L5
3 UNIT-V What happens when an applet is loaded ? [1M] L1
4 UNIT-V What is the difference between an Applet and a Java
[1M] L1
Application ?
5 UNIT-V What are the restrictions imposed on Java applets ? [1M] L1
6 UNIT-V What are untrosted applets ? [1M] L1
7 UNIT-V What is the difference between applets loaded over
[1M] L1
the internet and applets loaded via the file system ?
8 UNIT-V What is the applet class loader, and what does it
[1M] L1
provide ?
9 UNIT-V What is the applet security manager, and what does it
[1M] L1
provide ?
10 UNIT-V explain the functionality of the init() method in Java
[1M] L5
Applets?
PART-B
Bloom's
S.No. Coverage Questions Marks
Level
1 UNIT-V Discuss an applet in detail? [10M] L5
2 UNIT-V Write about Applet life cycle? [10M] L3
3 UNIT-V Write a program for handling a button clicks? [10M] L5
4 UNIT-V .Write in detail about Layout management? [10M] L5
5 UNIT-V Write a program for handling mouse events? [10M] L5
6 UNIT-V Write in detail about Events, Event sources and Event [10M] L5
classes
7 UNIT-V Write program for simple applet? [10M] L5
8 UNIT-V Write a program to C a factorial of a number using swing [10M] L5
components?
9 UNIT-V Write in detail about hierarchy for awt? [10M] L5
10 UNIT-V Write in detail about hierarchy for swing? [10M] L5
******