Tribhuvan University
Bachelor of Information Technology
Semester 7 · TU Board 2081
Course Title: Advanced Java Programming (BIT401)
Full Marks: 60Pass Marks: 24Time: 3 hours
Candidates are required to give their answers in their own words as far as practicable.
Group A
Attempt any Two questions.(2 × 10 = 20)
- 1.10
Discuss about any four servlet APIs. Design a form in JSP to take the necessary information about an employee and when the user click submit button, it will be displayed in second page.
- 2.10
When do we use JPanel? How do you add mnemonics and accelerators to menu items? Explain.
- 3.10
How do you create inner class and anonymous inner class? Create a class EMPLOYEE with data members Emp_ID, Name and Occupation, and write those objects to the file DOC.DAT whose occupations is doctor.
Group B
Attempt any Eight questions(8 × 5 = 40)
- 4.5
Describe about any three types of JavaFX layouts.
- 5.5
Write a program to design a form with a button and label, such that the number of times the button is clicked will be displayed in label.
- 6.5
Explain the architecture of RMI.
- 7.5
Write a program to show the use of mouse event.
- 8.5
Define package. What is the use of final keyword and finally block?
- 9.5
Explain the architecture of JDBC and list the JDBC driver types.
- 10.5
Write the steps of writing socket program using UDP.
- 11.5
Define scriplets. Discuss about JSP access models.
- 12.5
Why do we need ports in socket programming? What types of instructions are written in try block?
— The End —