Model Question Paper Advanced Java
Model Question Paper Advanced Java
Note: Answer any FIVE full questions, choosing at least ONE question from each MODULE.
*Bloom’s
Module -1 Taxonomy Marks
Level
a Explain any four legacy classes of Java’s Collection Framework. L2 10 M
Q.01 b Create a class STUDENT with two private members: USN, Name using
LinkedList class in Java. Write a program to add at least 3 objects of above L3 10 M
STUDENT class and display the data.
OR
a Explain the methods of NavigableSet class with a sample program. L2 10 M
Q.02 b What is a Collection Framework? Explain the methods defined by
L2 10 M
Collections Framework.
Module-2
a List and explain the various String comparison methods. L2 10 M
b Write a program to remove duplicate characters from a given String and
Q. 03
display the String. L3 10 M
OR
a What is String in Java? Write a Java program that demonstrates any six
L1, L3 10 M
constructors of String class.
Q.04
b Explain the following methods of StringBuffer class:
i)append() ii) insert() iii) reverse() iv)replace() L2 10 M
Module-3
a Explain the key features of Swing with a sample program. L2 10 M
Q. 05 b Write a program to demonstrate icons representing timepiece using JButton
and JToggleButton. When the button is pressed, name of that timepiece in L3 10 M
the label.
OR
a Write a program to create a frame for a simple arithmetic calculator using
swing components and layout mangers. L3 10 M
Q. 06
b Explain the event handling mechanism used by Swing with an example
program. L2 10 M
Page 01 of 02
BIS402
Module-4
a
List and explain the core classes and interfaces in javax.servlet package. L2 10 M
Q. 07 b Write a java servlet program to accept two parameters from webpage, find
the sum of them and display the result in the webpage. Also give necessary L3
10 M
html script to create webpage.
OR
a Explain different JSP tags with a program to demonstrate all tags. L2 10 M
Q. 08 b Explain the Life Cycle of Servlets with a neat diagram. L2 4M
c What are cookies? Write a program to create cookie with name “User name”
and value: “xyz”. Also display stored cookie in webpage. L2 6M
Module-5
a What is statement object in JDBC? Explain the following statement objects
i) Callable statement object L1,L2 10 M
ii) Prepare statement object
Q. 09
b Explain transaction processing in JDBC. L2 6M
c Write any two syntax of establishing a connection to database. L1 4M
OR
a Explain the four types of JDBC drivers. L2 10 M
Q. 10
c Explain connection pooling with neat diagram and code snippets.
L2,L3 10 M
*Bloom’s Taxonomy Level: Indicate as L1, L2, L3, L4, etc. It is also desirable to indicate the COs and POs to be
attained by every bit of questions.
Page 02 of 02