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

Assignment 1, 2 and Punishment Assignment Questions

Very important

Uploaded by

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

Assignment 1, 2 and Punishment Assignment Questions

Very important

Uploaded by

ayman patil
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

B.L.D.E.Association’s VachanaPitamaha Dr. P.G.

Halakatti College of Engineering &


Technology, Vijayapur – 586 103
Department: Computer Science and Engineering
Program: B.E. Computer Science and Engineering Year: 2023-2024
ADVANCED JAVA AND J2EE (Subject Code 21CS642)
IMPORTANT QUESTIONS ON JDBC PROCESS (MODULE-IV and V)
Assignment-1 and punishment questions

1. Explain briefly the different types of JDBC drivers with its connection sequence.
2. Explain the following JDBC steps and Illustrate with syntax and example.
3. Illustrate with an example how statement object is created and used to execute a query.
4. Illustrate with an example the various methods used to implement database transaction.
5. Define DatabaseMetadata, ResultSetMetaData and write a program to display
DatabaseMetadata and ResultSetMetaData.
6. Write difference between jsp and servlets.
7. Explain with a syntax and example the different jsp tags.
8. Explain two types control statements used in JSP by suitable example.
9. What is cookie? Write a jsp program to create and add cookie at client machine.
10. Write a short note on session tracking in jsp.

Assignment-1 Punishment Deadline


Questions Assignment Questions 05/07/2024
B.L.D.E.Association’s VachanaPitamaha Dr. P.G. Halakatti College of Engineering &
Technology, Vijayapur – 586 103
Department: Computer Science and Engineering
Program: B.E. Computer Science and Engineering Year: 2023-2024
ADVANCED JAVA AND J2EE (Subject Code 21CS642)
IMPORTANT QUESTIONS ON JDBC PROCESS (MODULE-II)
Assignment-2

1. Explain briefly, what generics are and how generic classes are declared and used with a
syntax & example.
2. Write a Java program to demonstrate the generic class with two type parameters and explain
the operation performed for each step.
3. Illustrate with a program example what is the significance of using bounded types in generic
classes.
4. Why do we need wildcard arguments in defining methods, and how are they specified?
Explain with an example.
5. What are bounded wildcards? Explain with syntax and examples how upper and lower-bound
wildcards are specified in the program.
6. Explain with syntax and examples how generic methods are created in non-generic classes.
7. Write a program on how generic constructors are implemented in non-generic classes.
8. Explain with syntax and an example of how generic interfaces are implemented in a Java
program.
9. Write a short note on Legacy code.

Open book ASSIGNMENT TEST-2 will be


conducted in class on Friday, i.e., 05/07/2024,
during class hours.

You might also like