KEMBAR78
Advance Java-BIS402 | PDF | Programming Paradigms | Systems Architecture
0% found this document useful (0 votes)
70 views2 pages

Advance Java-BIS402

The document outlines an examination structure for a course (BIS402) with a maximum score of 100 marks, divided into five modules. Each module contains multiple questions focusing on Java programming concepts, including collection frameworks, string manipulation, Swing components, servlets, and JDBC. The exam assesses both theoretical knowledge and practical implementation skills through programming tasks and explanations.

Uploaded by

sunanditha24
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
70 views2 pages

Advance Java-BIS402

The document outlines an examination structure for a course (BIS402) with a maximum score of 100 marks, divided into five modules. Each module contains multiple questions focusing on Java programming concepts, including collection frameworks, string manipulation, Swing components, servlets, and JDBC. The exam assesses both theoretical knowledge and practical implementation skills through programming tasks and explanations.

Uploaded by

sunanditha24
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

BIS402

Max. Marks: 100

Module-l M L C
Q.l a. What IS collection framework? Explain the methods define by the 7 L2 COl
collection interface.
b. Implement a java program to demonstrate creating an ArrayList, adding 8 L4 COl
elements, removing elements, sorting elements of Arravl.ist.
c. Demonstrate with an example how accessing a collection Via an Iterator 5 L2 COl
can be done.

OR
Q.2 a. Explain the following map classes: (i) HashMap (ii) TreeMap. 8 L2 COl
b. Explain ArrayList class and explain the following methods: 8 L2 COl
(i) binarysearch (ii) Copy (iii) equals (iv) fill
c. Explain legacy classes. 4 L2 COl

Module - 2
Q.3 a. What is string in Java? Implement a Java program to illustrate the use of 8 L3 CO2
any four constructors of string class.
b. Explain the following stringBuffer methods with an example: 8 L2 CO2
(i) insert (ii) append (iii) replace (iv) substrinz.
c. Differentiate between equals ( ) and = = with respect to string comparison. 4 L2 CO2

OR
Q.4 a. Explain the following string butfer class with examples: 8 L2 CO2
(i) Capacity
(ii) Reverse
(iii) CharAt ()
(iv) deleteCharAt ( ).
b. Implement a java program to remove duplicate characters from a given 8 L3 CO2
string and display the resultant string.
c. How CompareTo ( ) method differs from Compare To Ignoret.ase ( ) 4 L2 CO2
method?

Module -3
Q.5 a. What are differences between swing and A WT? Why Swing components 8 L2 C03

b.
are called light weight component?
Explain the following with suitable code: 12 L2 C03
-
JButton, JLable, JTextField, JCombobox.

OR
Q.6 a. Explain the paint package in swings 6 L2 C03

10f2
BIS402

b. Create a swing application having two buttons named alpha and beta. When 10 L4 C03
either of buttons pressed, it should display "alpha pressed" and "beta
pressed" respectively.
c. Write short note on MVC connection. 4 L2 C03

Module-4
Q.7 a. Explain the Iife cycle of Servlet. 4 L2 C04
b. Describe the core interfaces that are provided In Javax, Servlet, http 8 L2 C04
package.
c. Implement a Servlet program to display the name, USN and total marks by 8 L3 C04
accepting student detail.

OR
Q.8 a. What is JSP? Explain the various types ofJSPtags with examples. 10 L2 C04
b. What are cookies? How cookies are handled in JSP? Write a .ISP program 10 L3 C04
to create and read cookie.

Module- S
Q.9 a. What are database drives? Explain the different JDBC driver types. 6 L2 COS
b. Describe the various steps of JDBC with code snippets. 10 L2 COS
c. Write any two syntax of established a connection to a database. 4 L2 COS

OR
Q.IO 3. Describe the following concepts: 10 L2 COS
(i) Scrollable Resultset
(ii) Callable statement.
(iii) Transaction processing
(iv) Undatable ResuItset.
b. What IS connection pooling? Explain connection pooling with code 6 L2 COS
snippets.
c. Explain different kinds of exceptions in Database. 4 L2 COS

*****

20f2

You might also like