VTU Information Science (Semester 7)
JAVA and J2EE
December 2016
Total marks: --
Total time: --
INSTRUCTIONS
(1) Assume appropriate data and state your reasons
(2) Marks are given to the right of every question
(3) Draw neat diagrams wherever necessary


1(a) List and explain JAVA buzzwords.
5 M
1(b) Explain how arrays are defined and used in JAVA with an example.
5 M
1(c) List and explain access specifiers in java and their scope.
6 M
1(d) Explain: i) >>> ii) foreach.
4 M

2(a) What are command line arguments? While a Java program to read a number as command line argument and cehck whether it is prime or not.
4 M
2(b) What is an exception? Explain the usage of throw keyword with an example.
6 M
2(c) What is an applet? Write an applet program to display the message "A SIMPLE APPLET".
6 M
2(d) Distinguish between method overloading and method overriding.
4 M

3(a) What is thread? Explain two ways of creating a thread in JAVA with example.
10 M
3(b) What is the need of synchronization? Explain with an example how synchronization is implemented in JAVA.
6 M
3(c) What is delegation event model?
4 M

4(a) Describe the different types of swing buttons.
10 M
4(b) Write the steps to create J-table. Write a program to create a table with column heading "Name, USN and age". Insert at least 5 records into the table and display.
10 M

5(a) Describe the various steps of JDBC with code snippets.
8 M
5(b) What are transactions? Write a Java program to execute database transaction.
8 M
5(c) Explain: i) Prepared statement ii) Callable statement
4 M

6(a) Explain the servlet life cycle with example.
6 M
6(b) Define a cookie. Write a servlet program to add a cookie.
7 M
6(c) Write a program to describe paramaker reading using servlets.
7 M

7(a) Define JSP. Explain different types of JSP tags.
10 M
7(b) What is RMI? Explain the server side and client side methods.
10 M

8(a) Write short notes on: EJB transaction attreibutes
5 M
8(b) Session java bean
5 M
8(c) Stateless and stateful session bean
5 M
8(d) Message driven bean.
5 M



More question papers from JAVA and J2EE
SPONSORED ADVERTISEMENTS