Java Programming- 10 Marks
Java Programming- 10 Marks
(Autonomous)
Karakambadi Road, TIRUPATI – 517507
Bloom’s
Unit – 1 Cos
Level
1 List Java buzz words and explain about them L1 CO1
2 What is Type conversion and casting ? Explain with an
L2 CO2
example
3 What is class? Write a java simple program with
L2 CO2
Explanation.
4 What is method? How to call a method in java with
L2 CO2
suitable example.
Define Constructor? Write a sample program for
5 L2 CO1
overloading constructors.
6 Explain about static with simple program. L2 CO2
7 Explain about this keyword with suitable example. L2 CO2
8 What is String? Explain any five string class methods L2 CO2
Unit – 2
1 What is Inheritance? Its advantages? Explain with
L2 CO2
suitable example
2 Write a sample program to implement multilevel hierarchy. L2 CO2
3 Explain about super keyword with suitable example. L2 CO2
4 Compare and contrast method overloading and method
L3 CO2
overriding?
5 Define interface? how to implement two interface from
L1 CO2
one class.
6 Explain about abstract classes with suitable examples L2 CO2
7 Explain about Dynamic method Dispatch with example
L2 CO2
program.
8 Define package? How to create package with example
L2 CO2
program.
Unit-3
1 Define Exception? Explain How to handle exceptions with
L2 CO2
suitable example.
2 Write a sample program to implement try with multiple L2 CO1
catch blocks.
3 Write a sample java program to get
L2 CO2
ArrayIndexOutBoundsException in catch block?
4 Compare and contrast throw and throws with suitable
L3 CO2
example.
What is User defined Exception? Explain with a sample
5 L2 CO2
program
What is Exception? Explain about finally block importance
6 L2 CO2
in java.
Write a sample program to read and write console input
7 L2 CO2
and output in java.
Unit-4
1 What is Multithreading? What are the ways to create L1 CO$
multiple threads in java
2 Explain about Thread Life Cycle L2 CO5
3 Tell what is synchronization? Give its types and explain L1 CO5
4 Write about inter thread communication with example L6 CO4
5 Write the difference between String and StringBuffer L4 CO5
classes.
6 Write a java program that counts number of lines, words, L6 CO5
alphabets and special characters in a text file.
7 Explain in detail about thread methods L2 CO4
8 What are Collections ? Discuss any two collections with L2 CO5
their use.
Unit-5
Prepared by :