P age |1
ACE
Engineering College
(An Autonomous Institution)
ACE-R20
Question Paper Code: CS405PC
II B. Tech- II Semester Supplementary Examination- April/May -2023
JAVA PROGRAMMING
(Common to CSE, IT, CSM, CSD & CSO)
Time: 3 Hours Max. Marks: 70
H. T. No
Note: This question paper contains two parts A and B.
1.Part A is compulsory which carries 20 marks. Answer all questions in Part A.
2.Part B consists of 5 Units. Answer any one full question from each unit. Each question carries
10 marks and may have a, b as sub questions
PART- A MARKS: 10*2=20
Q.No: 1 Question Marks
a) Define Polymorphism? 2
b) What is abstract class? 2
c) What is package? 2
d) Define Autoboxing. 2
e) Define Exception? 2
f) Distinguish between process and thread? 2
g) Define collections? 2
h) Define Vector with syntax. 2
i) List the limitations of AWT. 2
j) Define Applet. 2
PART- B MARKS: 5*10=50
P age |2
Q.No Question Description Marks
2. Explain briefly about the features (buzzwords) of Java. 10
(OR)
3 Explain briefly about String class and discuss various methods in String class with an 10
example
4 Discuss in detail about creating and importing packages with an examples. 10
(OR)
5. Explain Character Streams with an example 10
6 What is an exception? How the exceptions are handled in Java programming? 10
Explain with suitable program.
(OR)
7 Define Thread and explain various methods of Thread class with an example. 10
8 What are the similarities and differences between ArrayList and Vector? Explain. 10
(OR)
9 Explain about Scanner class with an example. 10
10 Explain about FlowLayout, BorderLayout with an example 10
(OR)
11 Develop a java program to illustrate mouse handling events? 10