Mid-Term examination question paper for Advanced Java Programming.
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. What is the use of WindowEvent? List different methods of WindowListener interface with its uses.
3. What is layout management in GUI? Explain about grid layout management in swing with example.
4. Explain about different types of tags in JSP with examples.
5. What is meant by row set? Differentiate between ResultSet and Rowset objects.
6. Why do we need to create JavaBeans? Explain the steps involved in the creation of a JavaBean.
7. What is the use of RowSet interface? Explain connected and disconnected row sets.
8. Explain RMI architecture in detail.
Group C
9. Write a GUI application in swing to find the simple interest. Use text fields for inputs and a button to display the result in a dialog box.
10. 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.
11. 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.