Cse-Vii-java and J2EE (10cs753) - Question Paper
Cse-Vii-java and J2EE (10cs753) - Question Paper
Cse-Vii-java and J2EE (10cs753) - Question Paper
com 1
QUESTION BANK
UNIT 1
INTRODUCTION TO JAVA
1. How ‘compile once and run anywhere’ is implemented in Java, Explain. (4M)
[July 2014, July 2016]
2. List and explain the Java buzzwords. (6M) [July 2014, July 2016]
3. Explain : i) >>> ii) short circuit logical operators iii) for each. (6M) [July 2014]
5. Explain arrays in java with examples(6M) [July 2016,July 2014 Jan 2015]
UNIT 2
CLASSES, INHERITANCE, EXCEPTIONS, APPLETS
3. Write an applet program to display the message “VTU BELGAUM”. Set the
background color to cyan and foreground color to red. (6M)
[Jan 2014,Jan 2016, July 2016]
4. Why overriding methods are used in java? Example(8M) [July 2016, July 2015]
public static void main (String args[]) { Motorcycle m = new Motorcycle(); m.make
= "Yamaha RZ350"; (4M) [July 2014,Jan 2016]
UNIT 3
MULTI THREADED PROGRAMMING, EVENT HANDLING
3. What is delegation event model? Describe the significance of adapter class, with an
example. (6M) [Jan 2014, Jan 2016,July 2016]
5. What is meant by thread priority? How it is assigned(6M) [July 2014 Jan 2015]
6. Explain action event class & adjustment event class(4M) [July 2014 Jan 2015]
7. Short notes on static, Final, Abstract, Native (10M) [July 2015,Jan 2016]
UNIT 4
S WI N G S
1. What is swing? List the main swing features. Explain the different types of panes of
swing containers. (10M) [Jan 2014, July 2016, July 2015 ]
2. Create a swing application having two buttons named alpha and beta. When either
of the buttons pressed, it should display “alpha pressed” and “beta pressed”
respectively. (10M) [Jan 2014,July 2015,Jan 2016]
3. List the different types of swing buttons. Write a program to create four types of
buttons on JApplet. Use suitable events to show actions on the buttons and use
JLabel to display the action invoked. (10M) [Jan 2014, July 2016]
4. Write the steps to create Jtable. WAP to create a table with the column headings
Name, USN, age, address & insert records and display(10M) [July 2014,Jan 2015]
UNIT-5
J2EE OVERVIEW, DATABASE ACCESS
1. Explain the four types of JDBC drivers. (10M) [ July 2014,July 2016]
2. Describe the various steps of JDBC with code snippets. (10M) [Jan 2015, July 2014].
3. Explain : i) callable statement ii) prepared statement. (10M) [ Jan 2014,Jan 2016]
UNIT-6
SERVLETS
2. What is a cookie? List out the methods defined by cookie. Write a program to add a
cookie. (8M) [Jan 2014, July 2016, July 2015, Jan 2015]
6. Write short nots on HTTP request & HTTP response (5M) [July 2014]
UNIT-7
J SP , R M I
1. Define JSP. Explain the different types of JSP tags by taking suitable examples.
(10 M) [Jan 2014, July 2016 , Jan 2015]
2. What is RMI? Describe with code snippet RMI at server side. (10M)
[Jan 2014, July 2014, Jan 2015,Jan 2016]
3. Difference between servlet and JSP?(6M) [July 2016, July 2015,Jan 2016]
5. WAP to create & read cookie called EMPIDthat has a value of AN2356 (10M)
[July 2015,Jan 2016]
UNIT-8
E N T E RP R I SE J A V A B E A NS
1. What is deployment descriptor? List the deployment descriptor for EJB1. (6M)
[Jan 2014, July 2016, Jan 2015]
2. With a skeleton, explain entity Java bean. (6M) [Jan 2014, July 2016 , Jan 2016]
3. Explain : i) JAR file ii) Stateless bean versus stateful bean. (8M)
[Jan 2014, July 2016, Jan 2015]
4. Difference between stateless and stateful session bean(4M) [July 2014, Jan 2016]