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: 2082, syllabus wise question

Event Handling
1.
Write a program to illustrate the concept of Mouse Events. [5]
GUI with JavaFX
1.
Describe any two JavaFX layouts. [5]
Java Database Connectivity
1.
How do you handle multiple results in JDBC? Explain. [5]
2.
What is Type 0 JDBC driver? Discuss about UDP. [5]
Network Programming
1.
Mention the steps to write the socket program using TCP. [5]
Programming in Java
1.
List some features of Java. What are the types of exception? Write a program to take input an integer from the user and if the given integer is negative throw the exception. [10]
2.
How do you access file randomly? Give an example. [5]
RMI and CORBA
1.
Differentiate between RMI and CORBA. [5]
Servlets and Java Server pages
1.
What are the purposes of JSP implicit objects? Describe the methods of writing servlet program with example. [10]
2.
How do you connect database using JSP? [5]
User Interface Components with Swing
1.
Distinguish between component and containers. What do you mean by keyboard mnemonics and accelerators? Illustrate the concept of Grid layout with an example. [10]
2.
Design a form that contains two text fields and two buttons with caption 'OK' and 'CANCEL' using AWT. [5]