NAGARJUNA COLLEGE OF INFORMATION TECHNOLOGY
SET Shankhamul-9, Lalitpur
Full Marks:
A Pre-Board Examination-2082 60
Pass Marks:
Bachelor Level /Fourth Year/ Seventh Semester/ Science
Computer Science and Information Technology (CSC. 409)
(Advanced Java Programming)
Candidates are required to give their answer in their own words as far as practicable. The figures in the
margin indicate full marks.
Section A
Long Answer Questions
Attempt Any TWO questions. [2 × 10 =20]
1. Discuss steps of using JDBC in java. Write a program for login. Create a form for employee
information and save into mysql database using Swing and JDBC. [2+8]
2. Compare between Listener and Abstract class in Event Handling . Create a simple servelet that reads and
display data from JSP form. Assume JSP form with two fields firstname and lastname. [4+6]
3. Explain RMI Architecture layers in detail. Write a program using RMI to find product of two
numbers. [4+6]
Section B
Short Answer Questions
Attempt Any EIGHT Questions. [8 × 5 = 40]
4. Discuss about the JavaFX with their different components. [5]
5. Write a program to check odd or even number when any keyboard key is pressed. [5]
6. Why synchronization is essential in multithreading? Describe. [5]
7. Discuss about the Prepared Statements with example. [5]
8. Discuss about Window Event with example. [5]
9. Write a simple JSP program to display “Hello World” five times. [5]
10. Discuss about the customize exception handling with suitable Java program. [5]
11. Compare between RMI and CORBA. [5]
12. Write short notes. [2.5+2.5]
(a) Swing vs Awt
(b) Inheritance vs Interface
NAGARJUNA COLLEGE OF INFORMATION TECHNOLOGY
SET Shankhamul-9, Lalitpur
Full Marks:
B Pre-Board Examination-2082 60
Bachelor Level /Fourth Year/ Seventh Semester/ Science Pass Marks:
Computer Science and Information Technology (CSC. 409) 24
(Advanced Java Programming)
Candidates are required to give their answer in their own words as far as practicable. The figures in the
margin indicate full marks.
Section A
Long Answer Questions
Attempt Any TWO questions. [2 × 10 =20]
1. Discuss features of using JDBC in java. Write a program to take input from JSP and send to servlet
and display the result into the client side. [2+8]
2. Discuss about different types of Listeners in Swing . Write a program using Swing, add two numbers when
user press mouse and subtract if user release mouse. [2+8]
3. Discuss about the CORBA. Write a program using RMI to find sum of two numbers. [2+8]
Section B
Short Answer Questions
Attempt Any EIGHT Questions. [8 × 5 = 40]
4. Discuss about the Swing vs JavaFX with their different components. [5]
5. Write a program to check odd if mouse pressed or even number when any mouse is released. [5]
6. Discuss about the importance of synchronization in multithreading. [5]
7. Write a simple JSP program to print sum of any two numbers. [5]
8. Discuss about Action Event with example. [5]
9. Discuss about the user defined exception handling with suitable Java program. [5]
10. Write a program to read an input string from the user and write the vowels of that string in
[Link] and consonants in [Link] [5]
11. What is the task of Layout manager? Describe about default layout manager. [1 +4]
12. Write short notes. [2.5+2.5]
(a) RMI vs CORBA
(b) Abstract Class vs Key Listener