Bachelors Level/Fourth Year/Seventh Semester/Science bit/seventh semester/advanced java programming/syllabus wise questions

Bachelors In Information Technology

Institute of Science and Technology, TU

Advanced Java Programming (BIT401)

Year Asked: 2081, syllabus wise question

Event Handling
1.
Write a program to show the use of mouse event. [5]
GUI with JavaFX
1.
Describe about any three types of JavaFX layouts. [5]
Java Database Connectivity
1.
Explain the architecture of JDBC and list the JDBC driver types. [5]
Network Programming
1.
Write the steps of writing socket program using UDP. [5]
2.
Why do we need ports in socket programming? What types of instructions are written in try block? [5]
Programming in Java
1.
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. [10]
2.
Define package. What is the use of final keyword and finally block? [5]
RMI and CORBA
1.
Explain the architecture of RMI. [5]
Servlets and Java Server pages
1.
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. [10]
2.
Define scriptlets. Discuss about JSP access models. [5]
User Interface Components with Swing
1.
When do we use JPanel? How do you add mnemonics and accelerators to menu items? Explain. [10]
2.
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. [5]