Here is the module-wise compilation of all questions from the 4 VTU “Advanced Java” question
papers, each question marked with the paper number and marks:
✅ Module 1: Collection Framework
🔹 Paper 1 (June/July 2024 Main)
1. a. What is Java Framework? Explain methods of Collection, List, SortedSet, Queue. (10M)
b. What is Legacy Classes? Explain any four legacy classes with program. (10M)
2. a. How collectors can be accessed using Iterator with example. (5M)
b. Recent changes in Collection framework. (5M)
c. Program to store user-defined classes in collection. (10M) (Paper 1)
🔹 Paper 2 (Model Question Paper-I, 2023–24)
1. a. Explain any four legacy classes of Collection Framework. (10M)
b. Create STUDENT class & store 3 objects using LinkedList, display data. (10M)
2. a. Explain methods of NavigableSet with sample program. (10M)
b. What is Collection Framework? Explain methods. (10M) (Paper 2)
🔹 Paper 3 (June/July 2024 Supplementary)
1. a. What is Collection Framework? Explain methods of Collection interface. (10M)
b. Java program to store user-defined class in collection. (10M)
2. a. What are comparators? Program to demonstrate working of comparators. (10M)
b. Explain any four legacy collection classes. (10M) (Paper 3)
🔹 Paper 4 (June/July 2025 – BCS613D-M)
1. a. What is Collection Framework? Explain methods of Collection, List, Set, Queue. (10M)
b. Define Comparator. Mention its methods. (5M)
c. Program to sort TreeSet in reverse order. (5M)
d. Array class methods with example. (5M)
2. a. What are legacy classes? Explain any four with program. (10M)
b. What is Spliterator? Key methods and example. (10M) (Paper 4)
✅ Module 2: Strings and StringBuffer
🔹 Paper 1
3. a. Any two character extraction methods of String class. (5M)
b. String constructors with examples. (10M)
c. Additional String methods. (5M)
4. a. Special String operations with syntax and examples. (10M)
b. Methods of StringBuffer: capacity(), append(), insert(), reverse() with example. (10M)
c. Four string modification methods. (10M) (Paper 1)
🔹 Paper 2
3. a. Explain String comparison methods. (10M)
b. Program to remove duplicate characters in String. (10M)
4. a. What is String? Demonstrate any six constructors with program. (10M)
b. Methods of StringBuffer: append(), insert(), reverse(), replace(). (10M) (Paper 2)
🔹 Paper 3
3. a. What is a String? Explain string constructors with example. (10M)
b. Program to remove duplicate characters from a string. (10M)
4. a. Program to demonstrate different StringBuffer methods. (10M)
b. Explain: getChars(), regionMatches(), concat(), lastIndexOf() with example. (10M) (Paper 3)
🔹 Paper 4
3. a. StringBuffer: append(), insert(), reverse(), delete() with example. (10M)
b. Describe String comparison methods with examples. (5M)
c. Difference: String, StringBuffer, StringBuilder (mutability, performance, thread-safety). (5M)
4. a. Overloaded String constructors with code. (10M)
b. Explain behavior of constructors. (5M)
c. String modification methods with examples. (5M)
d. indexOf() and lastIndexOf() usage. (5M) (Paper 4)
✅ Module 3: Swing GUI Programming
🔹 Paper 1
5. a. Explain four Swing buttons with demonstration program. (10M)
b. Explain MVC Connector Architecture. (10M)
c. Two key Swing features. (10M)
6. a. Explain jLabel, ImageIcon, JTextField. (10M)
b. Program to demonstrate simple Swing application. (10M) (Paper 1)
🔹 Paper 2
5. a. Key features of Swing with sample program. (10M)
b. Program using JButton & JToggleButton to display timepiece name on press. (10M)
6. a. Program for arithmetic calculator using Swing and layout. (10M)
b. Event handling in Swing with program. (10M) (Paper 2)
🔹 Paper 3
5. a. What are Swings? Explain key features and MVC architecture. (10M)
b. Program to handle button clicks (“Alpha”, “Beta”) with event handling. (10M)
6. a. Explain JScrollPane, ImageIcon, JTextField. (10M)
b. Program for radio buttons (Radio1–Radio4) selection. (10M) (Paper 3)
🔹 Paper 4
5. a. Explain four commonly used Swing buttons with examples. (10M)
b. Describe MVC connection in Swing apps. (5M)
c. Explain painting in Swing with program. (5M)
6. a. What is Swing? Evolution and key features. (10M)
b. Explain JLabel, JTextField, JScrollPane, JTable with program. (10M) (Paper 4)
✅ Module 4: Servlet and JSP
🔹 Paper 1
7. a. Explain servlet life cycle. (10M)
b. Core interfaces in Jakarta Servlet/HTTP package. (10M)
c. What is JSP? Explain types of tags with example. (10M)
8. a. Any two cookie methods. (5M)
b. Handle HTTP GET and POST requests with code. (10M)
c. Cookie handling using servlets. (5M) (Paper 1)
🔹 Paper 2
7. a. Core classes & interfaces in javax.servlet package. (10M)
b. Java + HTML code to take two numbers and display sum. (10M)
8. a. JSP tags with example program. (10M)
b. Servlet lifecycle with diagram. (10M)
c. Program to create cookie “Username=XYZ” and display. (10M) (Paper 2)
🔹 Paper 3
7. a. What is Servlet? Explain lifecycle. (10M)
b. Servlet program to accept and use parameters. (10M)
8. a. What is JSP? Explain tag types with example. (10M)
b. Program to create and read cookie: name “EMPID”, value “AN2356”. (10M) (Paper 3)
🔹 Paper 4
7. a. Define JSP. Explain:
i) JSP Directives ii) JSP Scripting elements. (10M)
b. Lifecycle of servlets with example. (5M)
c. Session tracking with example. (5M)
8. a. Interfaces & classes in Jakarta Servlet package. (10M)
b. Any 2 cookie methods + cookie handling in servlets. (10M) (Paper 4)
✅ Module 5: JDBC
🔹 Paper 1
9. a. Steps of JDBC with code snippet. (10M)
b. Database Metadata methods. (5M)
c. Three kinds of JDBC exceptions. (5M)
10. a. Steps to associate database with JDBC/ODBC bridge. (10M)
b. Four types of JDBC drivers. (10M) (Paper 1)
🔹 Paper 2
9. a. What is Statement object? Explain:
i) CallableStatement ii) PreparedStatement (10M)
b. Transaction processing in JDBC. (10M)
c. Syntax to connect to DB (any two). (10M)
10. a. Four types of JDBC drivers. (10M)
b. DB connection with code snippets. (10M) (Paper 2)
🔹 Paper 3
9. a. Steps of JDBC with code. (10M)
b. Explain four JDBC drivers. (10M)
10. a. Program to insert data to student DB, and update, delete, search. (10M)
b. Write short notes on:
i) JTable ii) Transaction processing (10M) (Paper 3)
🔹 Paper 4
9. a. Concepts of JDBC + types of drivers. (8M)
b. Steps to associate JDBC-ODBC bridge via ODBC Administrator. (12M)
10. a. Overview of JDBC process. (10M)
b. Discuss: Metadata, ResultSet Metadata, Data Types, Exceptions. (10M) (Paper 4)