0% found this document useful (0 votes)
19 views

Advanced Java Programming

The document outlines important questions for the Advanced Java Programming course, covering various units including JDBC, servlets, AngularJS, MVC architecture, and Hibernate. It includes both theoretical questions and practical programming tasks across different parts of each unit. The questions aim to assess understanding of concepts, programming skills, and application of frameworks in Java development.

Uploaded by

Purushoth
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
19 views

Advanced Java Programming

The document outlines important questions for the Advanced Java Programming course, covering various units including JDBC, servlets, AngularJS, MVC architecture, and Hibernate. It includes both theoretical questions and practical programming tasks across different parts of each unit. The questions aim to assess understanding of concepts, programming skills, and application of frameworks in Java development.

Uploaded by

Purushoth
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 3

FACULTY OF COMPUTER APPLICATIONS

IMPORTANT QUESTIONS

SUBJECT CODE: CMCA22003 SUB.NAME: ADVANCED JAVA PROGRAMMING


DEGREE : MCA BRANCH: COMPUTER APPLICATIONS
YEAR/SEMESTER: I/II SECTION/COMMON TO : - ALL

UNIT - 1
PART – A

1. What is JDBC? List out its different types of drivers.


2. What are the steps involved in Java Database Connectivity?
3. Describe the concept of a static method in Java and discuss its benefits and
limitations.

PART – B

1. What is exception ? Explain the syntax of try block and catch block with a suitable
example.
2. Define method overloading. Explain with an example program.
3. Write a Java program using inheritance to create a base class Employee and a sub
class Manager. Manager extends the department, Name, Age and salary of an
Employee.
4. Define constructor. Explain its types with suitable example.
5. Explain the performance implications of using different types of JDBC drivers.
6. What is Inheritance? Explain with examples of all types of inheritances supported in
Java.

UNIT - 2
PART – A

1. Differentiate between a generic servlet and an HTTP servlet in Java.


2. Discuss the concept of a cookie in the context of web applications.
3. Give a brief note on JSP action tag.
PART – B

1. Write short note on the following concepts:


i.) GenericServlet and HttpServlet.
ii.) Cookie.
iii.)Session Tracking.
2. Identify and explain the components of a JSP page, including directives, scripting
elements, and actions.
3. Describe the process of building a servlet including the necessary steps and
configuration.
4. Write a program to develop basic arithmetic function using JSP.
5. Explain the concept of JDBC (Java Database Connectivity) in JSP and discuss its usage
for database operations.
6. What is Servlet? Explain the architecture and different features of Servlet.

UNIT - 3
PART – A

1. List out and give a note on Angular JS directives.


2. List out the features of ReactJS.
3. How is React different from AngularJS?

PART – B

1. what is React JS? Explain the suitable block diagram for the React architecture
2. Discuss the concept of AngularJS modules and their role in structuring and
organizing an angularJS application.
3. Discuss in detail about ReactJS components.
4. Demonstrate the usage of ng-model and ng-submit directives in an AngularJS form to
capture user input and perform form submission.

UNIT - 4
PART – A

1. Describe Model-View-Controller (MVC) architecture.


2. Summarize the different struts HTML tags.
3. List down the Limitations of AJAX.
PART – B

1. Explain the key components of the Struts framework, including Action classes,
Action Forms, and Struts configuration files.
2. Examine Struts architecture and what are the steps involved in implementation of
Struts.
3. Identify common security threats in web applications and explain how authentication
and authorization help mitigate these threats?
4. What is AJAX? Discuss about the features of AJAX for building interactive
applications for the Web.

UNIT - 5
PART – A

1. Write down the advantages of hibernate framework.


2. Examine and give a note on ORM tool.
3. Write a short note on life cycle of entity bean.

PART – B

1. Create a web application that fetches the Student information from Student
database using hibernate.
2. Discuss the benefits of using Hibernate in database operations, such as improved
productivity, database independence and performance optimizations.
3. Explain the concept of bean scope and bean life cycle in the Spring Framework and
discuss different scopes available.
4. Illustrate an introduction to Aspect-Oriented Programming (AOP) and explain its
significance in software development.

You might also like