BCA 6th Semester

Advance JAVA Programming 2023 Board Question Paper

Tribhuvan university logo

Tribhuvan university

Bachelor In Computer Application

Course Title: Advance JAVA Programming

Code No:CACS 354

Semester:VI

2023

Full Marks:60 Pass Marks:24 Time:3 hours

Candidates are required to answer the question in their own words as far as possible.

Group B
Attempt any SIX question.
[6x5=30]
11.

What is the role of Event Listener in event handling? List different event listeners provided by Java.

12.

What is KeyEvent? Explain with a proper example.

13.

What is the use of RowSet interface? Explain connected and disconnected rowsets.

14.

What are bounded and constrained properties in JavaBeans? Explain the advantages of Java beans.

15.

What are the key methods provided in HttpSession interface for handling sessions? Explain.

16.

Explain RMI architecture in Java in detail.

17.

Write short notes on (any two):
a) Adapter classes
b) CORBA
c) Life cycle of a servlet

Group C

Attempt any TWO questions

[2x10=20]
18.

How a frame can be created in Java? Explain. Write a program to create a GUI application in Java that identifies the smaller and greater number between two input numbers taken through two text fields and displays the result in a label. If the user presses the mouse it should display the smaller number and if the user releases the mouse it should display the greater number.

19.

Explain JDBC architecture. Write a program to insert three records into a table Item which is in the database Shop and contains the columns ItemID, Name, UnitPrice, Units and ExpiryDate.

20.

Differentiate between servlet and JSP. Create a servlet that computes and displays the factorial of an input number entered from a page when the button from that page is pressed by the user.