Pre-Board examination question paper set for Advanced Java Programming from the year 2081.

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 about any 5 java swing components.

3. What is a java swing application? Explain JTextField and JTextArea with proper example.

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

5. Write a complete program to insert (name, address, phone) of a student in database. Note: name of database: bca, name of table: student_record.

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 Menu in java.

Group C

9. 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 prime number.

11. How do you set and get Cookies in servelets? Explain with suitable example. b) Write short note on: i) Marshalling and ii) Unmarshalling.