Pre-Board 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. Write a program to create tabbed pane? With proper example.

3. What is a java swing application? Explain JPassword and TextArea with proper example.

4. What is an event? What are the different classes and interfaces of event handlers?

5. Write a program to to connect database in java.

6. What is a layout Management? Write about any 3 java layouts.

7. What is scrollable and updatable result set explain with proper example.

8. WAP to create getters and setters in java with proper example.

Group C

9. Write a program to draw a rectangle using graphics in java. Write a java swing application that takes an input from text-field and displays whether it is prime or not prime.

10. Define RMI. What is stub and parameter marshalling. a. What is client server application using RMI to find factorial.

11. How do you set and get Cookies in servelets? Explain with suitable example. b. Write short on. I)Type 1 Driver II) Thin driver.