Mid-Term examination question paper set for Advanced Java Programming from the year 2025.

Tribhuvan University
Faculty of Humanities & Social Sciences
OFFICE OF THE DEAN
2026
Bachelor in Computer Applications

Paper detail Value
Course Advanced Java Programming
Code No. CACS354
Semester VIth
Full marks 60
Pass marks 24
Time 3 hours

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

Group B

2. Explain Swing components and Swing containers.

3. What is layout management in GUI? Explain about border layout management in swing with example.

4. Why do we need an adapter class in event handling? Explain with example.

5. What is meant by row set? Differentiate between ResultSet and Rowset objects.

6. What is Java bean? Explain the characteristics of Java beans with example.

7. What is JDBC? Differentiate between Statement and PreparedStatement interfaces in JDBC.

Group C

8. Write a GUI application in swing to find the simple interest. Use text fields for inputs and button to display the result in a dialog box.

9. Create a form in swing to take product id, product name and product price and save them into a database table when save button is clicked.