Exam Details

Subject advanced java – i
Paper
Exam / Course b.c.a
Department
Organization solapur university
Position
Exam Date March, 2018
City, State maharashtra, solapur


Question Paper

B.C.A. (Semester (CGPA) Examination Mar/Apr-2018
ADVANCED JAVA I
Time: 2½ Hours
Max. Marks: 70
Instructions: Q.1 and Q.7 are compulsory. Attempt any two questions from Q. 2 to Q. 4. Solve any one questions from Q.5 and Q.6. Figures to the right indicate full marks.
Q.1
Choose the correct alternatives:
14
Which method is used to perform DDL statements in JDBC?
execute()
executeQuery()
executeUpdate()
executeResult()
Which driver is called thin driver.
Type-1
Type-2
Type-3
Type-4
To display status on applet window method is used.
showString()
drawString()
showStatus()
printString()
Which package contains Graphics class?
java.applet
java.graphics
java.lang
java.awt
What does XML stand for?
extra Modern Link
extensible Markup Language
example Markup Language
X-Markup Language
What is the correct syntax of the declaration which defines the XML version?
<xml version="1.0"
version="1.0"
version="1.0"?>
None of the above
Which packages represent interfaces and classes for JDBC API?
java.sql.*
javax.sql.*
Both A and B
None of the above
To run an applet command is used.
java
javac
applet
appletviewer
Sessions is a part of the SessionTracking and it is for maintaining the client state at side.
client
server
both a and b
none of the above
10) Which of the method does not define the Applet class?
init()
start()
update()
destroy()
11) Clean up process in servlet is handled by method.
start()
stop()
init()
destroy()
Page 2 of 2
SLR-CV-12
12) Which is the correct xml comment?



All of these
13) class is used to call stored procedures and function.
StoredStatement
PreparedStatement
CallableStatement
None of these
14) Cookies are stored at side.
server
client
Both A and B
None of these
Q.2
Explain JDBC drivers.
05
Explain the applet life cycle.
05
What is XML? What are the uses of XML?
04
Q.3
Explain the servlet life cycle.
05
Explain session management in servlet.
05
What are the attributes of applet tag?
04
Q.4
Explain the methods of ResultSet interface.
05
Explain the elements and attributes in XML.
05
What is the difference between doGet and doPost methods?
04
Q.5
Write a JDBC program to update the price of the book.
07
Write a Servlet program to forward request to another servlet.
07
Q.6
Write a program to demonstrate parameter passing in applet.
07
Write a servlet program for handling doPost() method.
07
Q.7
Write a short note on the following:- (any
14
Steps in JDBC connectivity
Types of Applet
XML validation


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