Exam Details
Subject | advanced java – i | |
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 (CGPA) Examination Oct/Nov- 2017
ADVANCED JAVA I
Day Date: Thursday, 09-11-2017 Max. Marks: 70
Time: 10.30 AM to 01.00 PM
Instructions: Q.1 and Q.7 are compulsory.
Solve any two questions from Q. 2 to Q.4.
Solve any one question from Q. 5 and Q.6.
Figures to the right indicate full marks.
Q.1 Choose the single correct alternatives: 14
method will be called repeatedly whenever request is send to servlet.
init start()
service() repeat()
How many JDBC technology-based drivers are exist?
2 3
4 5
Which method is used for an SQL statement that is executed frequently?
prepareStatement prepareCall
createStatement None of the above
method is called only once during the life cycle of an applet
stop() paint()
init() destroy()
Related transaction between single client and server along a specific interval of
time is called
cokkie session
transaction none of these
The RequestDispatcher class is in pacgake.
java.awt javax.applet
java.sql javax.servlet
is used for validating xml document.
DTD schema
Both A and B None of these
The servlet can obtain information about client environment using
Response Request
Context Post
Page 2 of 2
SLR-CD-17
Which packages represent interfaces and classes for servlet API?
javax.servlet javax.sql
Both A and B None of the above
10) Which methods are used to bind the objects on HttpSession instance and get
the objects?
setAttribute getAttribute
Both A and B None of the above
11) Which method is used to perform DML statement in JDBC
execute() executeQuery()
executeUpdate() executeResult()
12) is an optional attribute of an applet tag.
code width
height alt
13) Servlet technology is basically used for applications.
Desktop Web
Standalone None of these
14) In file we define a servlet mapping.
web.xml code.xml
servlet.xml mapping.xml
Q.2 Explain different steps for JDBC. 05
Explain the different methods of applet life cycle. 05
What is applet tag? What are its attributes? 04
Q.3 What is xml schema? Explain types of elements 05
Explain cookies in servlet with example. 05
Explain the XML attributes with example. 04
Q.4 Explain the use of prepared statement with example. 05
Explain the methods of ResultSet interface 05
What is the different between GenericServlet and HttpServlet? 04
Q.5 Write a JDBC program to insert information of employee and display the
inserted information.
07
Write a Servlet program for session tracking using hidden form field. 07
Q.6 Design an applet to display the rectangle, circle and oval. 07
Write a program for handling doGet method 07
Q.7 Write short notes on the following (Any two) 14
Connection interface in JDBC.
XML DTD.
JDBC architecture.
ADVANCED JAVA I
Day Date: Thursday, 09-11-2017 Max. Marks: 70
Time: 10.30 AM to 01.00 PM
Instructions: Q.1 and Q.7 are compulsory.
Solve any two questions from Q. 2 to Q.4.
Solve any one question from Q. 5 and Q.6.
Figures to the right indicate full marks.
Q.1 Choose the single correct alternatives: 14
method will be called repeatedly whenever request is send to servlet.
init start()
service() repeat()
How many JDBC technology-based drivers are exist?
2 3
4 5
Which method is used for an SQL statement that is executed frequently?
prepareStatement prepareCall
createStatement None of the above
method is called only once during the life cycle of an applet
stop() paint()
init() destroy()
Related transaction between single client and server along a specific interval of
time is called
cokkie session
transaction none of these
The RequestDispatcher class is in pacgake.
java.awt javax.applet
java.sql javax.servlet
is used for validating xml document.
DTD schema
Both A and B None of these
The servlet can obtain information about client environment using
Response Request
Context Post
Page 2 of 2
SLR-CD-17
Which packages represent interfaces and classes for servlet API?
javax.servlet javax.sql
Both A and B None of the above
10) Which methods are used to bind the objects on HttpSession instance and get
the objects?
setAttribute getAttribute
Both A and B None of the above
11) Which method is used to perform DML statement in JDBC
execute() executeQuery()
executeUpdate() executeResult()
12) is an optional attribute of an applet tag.
code width
height alt
13) Servlet technology is basically used for applications.
Desktop Web
Standalone None of these
14) In file we define a servlet mapping.
web.xml code.xml
servlet.xml mapping.xml
Q.2 Explain different steps for JDBC. 05
Explain the different methods of applet life cycle. 05
What is applet tag? What are its attributes? 04
Q.3 What is xml schema? Explain types of elements 05
Explain cookies in servlet with example. 05
Explain the XML attributes with example. 04
Q.4 Explain the use of prepared statement with example. 05
Explain the methods of ResultSet interface 05
What is the different between GenericServlet and HttpServlet? 04
Q.5 Write a JDBC program to insert information of employee and display the
inserted information.
07
Write a Servlet program for session tracking using hidden form field. 07
Q.6 Design an applet to display the rectangle, circle and oval. 07
Write a program for handling doGet method 07
Q.7 Write short notes on the following (Any two) 14
Connection interface in JDBC.
XML DTD.
JDBC architecture.
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