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

GUI with JavaFX
1.
Discuss the steps of writing JavaFX programs. [5]
Java Database Connectivity
1.
How prepared statements differs from statements? Explain use of prepared statements with example. [5]
Network Programming
1.
Write a socket program using TCP where client sends an integer to server and server response whether it is positive or negative. [5]
Programming in Java
1.
Why do we need interface? Define an interface named shape with area ( ) method. Create a class named Rectangle with length and breadth circle with radius that implements shape interface. Now create the object of both classes and display their area. [10]
2.
Describe the chain of constructor with example. [5]
3.
Write a Java program to create a multi-threaded programs by extending Thread class. Create at least three threads. [5]
4.
Describe about exception handlings with example. [5]
5.
Write short notes on a. Final keyword b. Object class [5]
RMI and CORBA
1.
How distributed programs can be written in Java? Explain RMI architecture. [5]
Servlets and Java Server pages
1.
What are the various tags used in writing JSP programs? How HTML forms can be processed using JSP? Explain with example. [10]
User Interface Components with Swing
1.
Write a Java program to create a UI with three labels and three text boxes for First Number, Second Number and Result. Also put Four buttons (Add, Subtract, Multiply, and Divide) in the form and handle the event accordingly. [10]
2.
What is layout manager? Explain working of flow layout with example. [5]