Exam Details
Subject | advanced java – ii | |
Paper | ||
Exam / Course | b.c.a | |
Department | ||
Organization | solapur university | |
Position | ||
Exam Date | November, 2017 | |
City, State | maharashtra, solapur |
Question Paper
B.C.A. (Semester VI) Examination Oct/ Nov-2017
ADVANCED JAVA II
Day Date: Friday, 10-11-2017 Max. Marks: 80
Time: 10.30 AM to 01.30 PM
Instructions: Q.1 and Q.7 are compulsory.
Attempt any two questions from Q. 3 and 4.
Attempt any one question from Q. 5 and 6.
Figures to the right indicate full marks.
Q.1 Choose correct alternatives: 08
A JSP is transformed into
Java applet Java servlet
Both a and b None of these
Which programming language or scripting language does Java Server
Pages support?
VBScript Jscript
Java All of these
In JSP Action tags which tags are used for bean development?
jsp:useBean jsp:setProperty
jsp:getProperty All of these
An Object Relational Mapping tool simplifies which of these?
Data creation Data manipulation
Data access All of these
In Hibernate inheritance mapping which is used when tables are created
as per class but related by foreign key, so there are no duplicate columns?
Table per Hierarchy Table Per Concrete Class
Table Per Subclass None of these
We can do One to One mapping in hibernate by
By many-to-one element By one-to-one element
Both a and b None of these
What is Dependency Injection?
It is a design pattern which implements Inversion of Control for
software applications.
It is one of the spring module.
It is a technique to get dependencies of any project
It is used to promote tight coupling in code.
Which class is used to map a database row to a java object in spring?
ResultSet RowMapper
RowSetMapper ResultSetMapper
Page 2 of 2
SLR-CD-26
Q.1 Fill in the blanks: 04
In JSP exception that is typically a user error or a problem that
cannot be foreseen by the programmer
tag is used to execute java source code in JSP
class can be used to execute Sql queries in spring
is used to get object of a service in spring framework.
Q.1 State True/False: 04
The Jsp include directive is used to include the contents of the resource.
JSP's does not provide better facilities for separation of page code and
template data by means of Java beans, EJBs and custom tag libraries.
Hibernate Query Language is not same as Structured Query
Language (SQL).
A bean encapsulates many objects into one object, so we can access this
object from multiple places.
Q.2 Explain the life cycle of JSP. 08
Explain the architecture of hibernate. 08
Q.3 Explain the dependence injection by constructor with example? 08
Explain JDBC template in spring with example. 08
Q.4 Write a program to demonstrate jsp:include and jsp:forward action tag. 08
Explain the architecture of WAP. 08
Q.5 Explain the JSTL core tags in JSP with example. 08
Write a program to insert Student record and display using hibernate. 08
Q.6 Explain Table per Concrete inheritance mapping with example. 08
Write a program to fetch employee records by using RowMapper. 08
Q.7 Write short notes on (Any Four) 16
One-to-many mapping in hibernate.
Applications WAP
Advantages of JSTL over scriptlet.
Request and response implicit objects in jsp.
Inheritance bean in spring.
ADVANCED JAVA II
Day Date: Friday, 10-11-2017 Max. Marks: 80
Time: 10.30 AM to 01.30 PM
Instructions: Q.1 and Q.7 are compulsory.
Attempt any two questions from Q. 3 and 4.
Attempt any one question from Q. 5 and 6.
Figures to the right indicate full marks.
Q.1 Choose correct alternatives: 08
A JSP is transformed into
Java applet Java servlet
Both a and b None of these
Which programming language or scripting language does Java Server
Pages support?
VBScript Jscript
Java All of these
In JSP Action tags which tags are used for bean development?
jsp:useBean jsp:setProperty
jsp:getProperty All of these
An Object Relational Mapping tool simplifies which of these?
Data creation Data manipulation
Data access All of these
In Hibernate inheritance mapping which is used when tables are created
as per class but related by foreign key, so there are no duplicate columns?
Table per Hierarchy Table Per Concrete Class
Table Per Subclass None of these
We can do One to One mapping in hibernate by
By many-to-one element By one-to-one element
Both a and b None of these
What is Dependency Injection?
It is a design pattern which implements Inversion of Control for
software applications.
It is one of the spring module.
It is a technique to get dependencies of any project
It is used to promote tight coupling in code.
Which class is used to map a database row to a java object in spring?
ResultSet RowMapper
RowSetMapper ResultSetMapper
Page 2 of 2
SLR-CD-26
Q.1 Fill in the blanks: 04
In JSP exception that is typically a user error or a problem that
cannot be foreseen by the programmer
tag is used to execute java source code in JSP
class can be used to execute Sql queries in spring
is used to get object of a service in spring framework.
Q.1 State True/False: 04
The Jsp include directive is used to include the contents of the resource.
JSP's does not provide better facilities for separation of page code and
template data by means of Java beans, EJBs and custom tag libraries.
Hibernate Query Language is not same as Structured Query
Language (SQL).
A bean encapsulates many objects into one object, so we can access this
object from multiple places.
Q.2 Explain the life cycle of JSP. 08
Explain the architecture of hibernate. 08
Q.3 Explain the dependence injection by constructor with example? 08
Explain JDBC template in spring with example. 08
Q.4 Write a program to demonstrate jsp:include and jsp:forward action tag. 08
Explain the architecture of WAP. 08
Q.5 Explain the JSTL core tags in JSP with example. 08
Write a program to insert Student record and display using hibernate. 08
Q.6 Explain Table per Concrete inheritance mapping with example. 08
Write a program to fetch employee records by using RowMapper. 08
Q.7 Write short notes on (Any Four) 16
One-to-many mapping in hibernate.
Applications WAP
Advantages of JSTL over scriptlet.
Request and response implicit objects in jsp.
Inheritance bean in spring.
Other Question Papers
Subjects
- advance programming in c
- advanced java – i
- advanced java – ii
- advanced programming in ‘c’
- advanced web technology
- basics of ‘c’ programming
- business communication
- business statistics
- communication skills
- computer graphics
- computer oriented statistics
- core java
- cyber laws and security control
- data structure using ‘c’
- data structures using ‘c’
- data warehouse and data mining
- database management system
- dbms with oracle
- development of human skills
- digital electronics
- discrete mathematics
- e-commerce
- e-governance
- financial accounting with tally
- financial management
- fundamentals of computer
- fundamentals of financial accounting
- introduction to data mining & warehousing
- introduction to information technology
- linux and shell programming
- management information system
- networking & data communication
- networking and data communication
- object oriented programming with c++
- oop with c++
- operating system
- operations research
- operting system
- procedural programming through ‘c’
- python
- rdbms with oracle
- software engineering
- software project management
- software testing
- theory of computation
- visual programming
- web technology
- web technology – ii
- web technology – iii