tl BUA
NOVEMBER/DECEMBER 2019
BCA31 — JAVA PROGRAMMING
Time : Three hours Maximum : 75 marks
10.
SECTION A — (10 x 2 = 20 marks)
Answer ALL questions.
What is Java Virtual Machine?
List out various separators used in Java.
Distinguish: between Abstract class and Concrete
class.
What are Parameterized constructors?
Mention the use of ‘extends’ keyword.
Define Thread.
Give any two AWT Controls in Java.
What is the use of Applet Viewer?
Expand JDBC and ODBC.
Write the syntax for creating connection to a
database
28041.
12,
13.
14,
16.
@)
&)
@)
©)
(@)
)
(@)
©
@
©
SECTION B — (6 x 5 = 25 marks)
‘Answer ALL questions.
Deseribe the usage of Enumerated data
type? Give exmaples.
Or
How do you define a class in JAVA? How do
you create its instances and refer to them?
Expalin,
Explain the different forms of Inheritance in
Java,
or
With suitable program deseribe the usage of
‘super’ keyword.
Elucidate the overriding method with a
suitable example program.
Or
Discuss on’ stopping and blocking threads.
Give an overview on applet life eycle with
suitable example.
Or
Discuss on Action event with an example.
Explain the various types of resultset object.
Or
Deseribe about the types of JDBC Driver.
2 2804
16,
17.
18,
19.
20.
Answer any THREE questions.
Write detailed note on branching and looping
statements in Java.
How to define and access a package? Explain with
examples.
Describe the various techniques to handle
Exceptions in Java.
Give an account on Layout manager in java.
Write an example program using JDBC
3 ponsNOVEMBER/DECEMBER 2017
UCA41— JAVA PROGRAMMING
Time : Three hours Maximum : 75 marks
re ee SECTION A — (10 x 2 = 20 marks)
i 4
BRARY : \ 4 ,, Answer ALL the questions.
e the term - Array.
What is Scanner Class?
3. Distinguish between: Class and Object.
4. What is Method Overriding?
5. Mention the use of JPanel,
6. What is Mouse Event Handling?
7. Define the term - Graphics Objects.
8. What is JSlider?
9. Define the term - Multithrending,
10. What is Random file?
10734,
13,
M.
@
&)
(@)
)
@
&)
(@)
SECTION B— (6 «5 = 25 marks)
Answer ALL the questions
Give a brief note features of Java.
Or
Discuss on Data types and method of
declaring Variables,
Describe the importance of Abstract cliss
with example. :
Or
Explain the features of Constructors.
handling techniques,
Or
Describe the common GUI Event types and
Listener interfaces.
Discuss on k
Explain the FlowLayout arid BorderLayout
Managers.
Or
Discuss on the methods of drawing Lines
Rectangles and Ovals.
Deseribe the concept of Exception handling.
Or
Explain the importance of Interfaces with
example.
1073
16,
1,
18,
19,
20,
SECTION C— (3 10 = 0 marks)
Answer any THREE questions
Discuss on Object-oriented concepts,
Explain the concept of Inheritance with suitable
example.
Describe the features of JButton, JCheckBox,
IComboBox and JList, "
Discuss the method of using Menus with Frames,
Explain the process of creating, importing and
using Packages with example.
3 1073An
BA
\
APRIL/MAY 2020
BCA31 — JAVA PROGRAMMING
Time : Three hours Maximum : 75 marks
SECTION A — (10 x 2 = 20 marks)
Answer ALL questions.
1. Differentiate Break and Continue Statement.
2. Define — Constructor.
3. Define — Polymorphism.
4.. Write the purpose of new operator? Give | an
example.
5. State the use of ‘implements’ keyword.
6. Distinguish between String and StringBuffer
class.
7. What is Event Handling?
8. Expand —- AWT and GUI
Kae
9. Define - Database metadata. GOMES A Sag Se
we
10. What is JDBC?
BRAY,17.
18.
19,
SECTION C — (3 » 10 = 30 marks)
Answer any THREE questions.
Write a Java Program to find the value of nt,
where n is a given integer.
Illustrate the concept of single inheritance with an
example.
How are exceptions handled in Java
programming? Discuss.
Describe the