Download Visvesvaraya Technological University (VTU) BE ( Bachelor of Engineering) CSE 2017 Scheme 2020 January Previous Question Paper 5th Sem 17CS553 Advanced Java and J2EE
? ,
J.
/
k 17CS553
Fifth Semester B.E. Degree Examination, Dee.2019/Jan.2020
Advanced Java and J2EE
Time: 3 hrs. Max. Marks: 100
Note: Answer any FIVE full questions, choosing ONE full question from each module.
Module- 1
1 a. What are Enumerations? Explain values( ) and value0f( ) methods with an example
program. (05 Marks)
b. What is Autoboxing? Write a java program that demonstrates how autoboxing and unboxing
takes place in expression evaluation. (05 Marks)
c. What are Annotations? Explain the following Built-in annotations with an example program:
@Override @Inherited @Retention (10 Marks)
OR
2 a. Explain the following methods of java.lang.Enum with an example program.
(i) ordinal( ) (ii) compareTo( ) (iii) equals( )
b. Explain how to obtain Annotations at Run Time by use of Reflection.
(10 Marks)
(10 Marks)
Module-2
3 a. What is collection framework? Explain the methods defined by collection interface.
(10 Marks)
b. Explain the constructors of HashSet class with an example program. (10 Marks)
OR
4 a. Explain the constructors of TreeSet class and write java program to
collection.
b. Explain any four legacy classes olJava's collection framework.
Module-3
5 a. What is string in Java? Write a java program that demonstrates any four
String class.
b. Differentiate between equals( ) and == with respect to String comparison .
c. Explain any two character extraction methods of String class.
create TreeSet
(10 Marks)
(10 Marks)
constructors of
(10 Marks)
(05 Marks)
(05 Marks)
7 a.
b.
c.
Module-4
Explain the differences between Servlets and CGI programs.
Write a Java Servlet program that demonstrates how parameters can
HTML.
Explain any two Cookies methods.
(10 Marks)
(10 Marks)
(05 Marks)
be accessed from
(10 Marks)
(05 Marks)
OR
6 a. Explain any four String modification methods of String class.
b. Explain the following methods of StringBuffer class:
(i) append( ) (ii) insert( ) (iii) reverse( ) (iv) replace
1 of 2
FirstRanker.com - FirstRanker's Choice
CS?
? ,
J.
/
k 17CS553
Fifth Semester B.E. Degree Examination, Dee.2019/Jan.2020
Advanced Java and J2EE
Time: 3 hrs. Max. Marks: 100
Note: Answer any FIVE full questions, choosing ONE full question from each module.
Module- 1
1 a. What are Enumerations? Explain values( ) and value0f( ) methods with an example
program. (05 Marks)
b. What is Autoboxing? Write a java program that demonstrates how autoboxing and unboxing
takes place in expression evaluation. (05 Marks)
c. What are Annotations? Explain the following Built-in annotations with an example program:
@Override @Inherited @Retention (10 Marks)
OR
2 a. Explain the following methods of java.lang.Enum with an example program.
(i) ordinal( ) (ii) compareTo( ) (iii) equals( )
b. Explain how to obtain Annotations at Run Time by use of Reflection.
(10 Marks)
(10 Marks)
Module-2
3 a. What is collection framework? Explain the methods defined by collection interface.
(10 Marks)
b. Explain the constructors of HashSet class with an example program. (10 Marks)
OR
4 a. Explain the constructors of TreeSet class and write java program to
collection.
b. Explain any four legacy classes olJava's collection framework.
Module-3
5 a. What is string in Java? Write a java program that demonstrates any four
String class.
b. Differentiate between equals( ) and == with respect to String comparison .
c. Explain any two character extraction methods of String class.
create TreeSet
(10 Marks)
(10 Marks)
constructors of
(10 Marks)
(05 Marks)
(05 Marks)
7 a.
b.
c.
Module-4
Explain the differences between Servlets and CGI programs.
Write a Java Servlet program that demonstrates how parameters can
HTML.
Explain any two Cookies methods.
(10 Marks)
(10 Marks)
(05 Marks)
be accessed from
(10 Marks)
(05 Marks)
OR
6 a. Explain any four String modification methods of String class.
b. Explain the following methods of StringBuffer class:
(i) append( ) (ii) insert( ) (iii) reverse( ) (iv) replace
1 of 2
OR
8 a.
Define JSP. Explain different types of JSP tags by taking suitable example.
b. List and explain core classes and interfaces in javax.servlet package.
Mod ule-5
9 a. Explain the four types of JDBC drivers.
b. Describe the various steps of JDBC with code snippets.
OR
10 a. Write a Java program to execute a database transaction.
b. Explain :
(i) Callable Statement Object
(ii) Prepared Statement Object.
(10 Marks)
(10 Marks)
(10 Marks)
(10 Marks)
(10 Marks)
(10 Marks)
2 of 2
FirstRanker.com - FirstRanker's Choice
This post was last modified on 02 March 2020