BCS402 – Advanced Java Solved Previous Year Question Paper

BCS402 – Advanced Java Solved Previous Year Question Paper

Module 1

1] What is Collection Framework? Explain the methods defined by the following interfaces:

  • Collection
  • List
  • Sorted Set
  • Queue

2] What are Legacy Classes? Explain any four legacy classes of Java’s collection framework with a suitable program.

3] Explain how collections can be accessed using an iterator with an example.

4] What are the various changes that the Collection Framework underwent recently?

5] With an example program, explain how to store user-defined classes in collections.


Module 2

1] Explain any two character extraction methods of String class.

2] Explain the various string constructors used in Java with examples.

3] Explain additional string methods.

4] Briefly describe special string operations with syntax and examples.

5] Explain the following methods of StringBuffer class with examples:

  • Capacity
  • Length
  • Append
  • Insert
  • Reverse

6] Explain any four string modification methods of String class.


Module 3

1] Explain the four types of swing buttons with demonstration program.

2] Explain MVC (Model-View-Controller) concept architecture.

3] What are the two key swing features? Discuss.

4] Explain the following:

  • JFileChooser
  • Image Icon

5] Write a program to demonstrate a simple swing application.


Module 4

1] Explain the life cycle of Servlets.

2] Describe the core interfaces that are provided in Jakarta (Javax) Servlet HTTP package.

3] Define JSP. Explain the different types of JSP tags by taking suitable example.

4] Explain any two cookies methods.

5] With a code, explain how to handle HTTP get request and HTTP post request.

6] Explain how sessions can be handled using servlets.


Module 5

1] Explain different steps involved in JDBC process with a code snippet.

2] List and elaborate Database Metadata Object methods.

3] List and explain three kinds of exceptions raised in JDBC.

4] Mention all steps to create the association between the database and JDBC-ODBC bridge.

5] Explain the four types of JDBC drivers.

Leave a Reply

Your email address will not be published. Required fields are marked *