VTU Previous Year Question Papers BE CS Seventh Semester Java and J2EE January 2013

VTU Previous Year Question Papers BE CS

Seventh Semester Java and J2EE January 2013

 

Note: Answer FIVE full questions, selecting at least TWO questions from each part.

PART-A

1 a. List and explain The java buzzwords.

b. Haw arrays defined and used in Java?

C. Discuss the labeled break and continue statements.

 

2 a. What is meant by instance variable hiding? How to overcome it?

b. WAP in JAVA  to implement a stack that can hold 10 integer values.

c. What is an exception? Give an example for nested try statements.

d. List Applet initialization and termination methods. Write a Java Applet that sets the background color to cyan and foreground color to red and outputs a string message “A simple Applet”.

 

3 a. What is multithreading? Write a program to create multiple threads in JAVA.

b. Discuss the significance of synchronization in Java.

c. Briefly explain the role of:

i) Act ion Event class ii) Adjustment Event class.

 

4 a. Differentiate between AWT and swings.

b. Explain the MVC architecture of swings.

c. Describe the different types of swing buttons.

 PART-B

 5 a. Explain J2EE multitier architecture with a neat diagram.

b. Describe the various steps of JDBC process with code snippets,

c. What is meant by scrollable result set? Explain.

 

6 a. Write a program using servlet which contains HTML page to accept username and display greeting message as “Hello username, How are you?” in the browser window.

b. Briefly explain the following:

i) Servlet interface  ii) Generic servlet class  iii) Cookie class

c. illustrate the use of session information in servlets.

 

7 a. Define JSP. Explain the two types of control statements used in JSP by taking suitable examples.

b. Write a JSP program to create and read a cookie called 4 EMPID’7 that has a value of AN2356.

c. What is RMI? Briefly explain the working of RMI in JAVA.

 

8  a. Describe the concept of deployment descriptors.

b. Explain the functions of LJB transaction attributes.

c. Briefly discuss the significance of session Java Bean.

2 thoughts on “VTU Previous Year Question Papers BE CS Seventh Semester Java and J2EE January 2013”

Leave a Comment