Tribhuwan University

Institute of Science and Technology

2082

Bachelor Level / Fourth Year / Seventh Semester / Science

Bachelors in Information Technology (BIT401)

(Advanced Java Programming)

Full Marks: 60

Pass Marks: 24

Time: 3 Hours

Candidates are required to give their answers in their own words as for as practicable.

The figures in the margin indicate full marks.

Section A

Long Answers Questions

Attempt any TWO questions.
[2*10=20]
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.
Distinguish between component and containers. What do you mean by keyboard mnemonics and accelerators? Illustrate the concept of Grid layout with an example.[10]
3.
What are the purposes of JSP implicit objects? Describe the methods of writing servlet program with example.[10]
Section B

Short Answers Questions

Attempt any Eight questions.
[8*5=40]
4.
How do you access file randomly? Give an example. [5]
5.
Design a form that contains two text fields and two buttons with caption 'OK' and 'CANCEL' using AWT. [5]
6.
How do you connect database using JSP? [5]
7.
Write a program to illustrate the concept of Mouse Events. [5]
8.
Describe any two JavaFX layouts. [5]
9.
How do you handle multiple results in JDBC? Explain. [5]
10.
Mention the steps to write the socket program using TCP. [5]
11.
Differentiate between RMI and CORBA. [5]
12.
What is Type 0 JDBC driver? Discuss about UDP. [5]