
JDBC
Quiz
•
Computers
•
University
•
Practice Problem
•
Hard
Srisailam R
Used 84+ times
FREE Resource
Student preview

31 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
What is the return type of executeUpdate() method?
byte
short
int
long
2.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
What is the return type of executeQuery() method?
int
ResultSet
array
none of the above
3.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
what is the package name of "Class"?
java.util
java.sql
java.lang
java.io
4.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
What is true about DriverManager class?
It is class from java.lang package
It is a class from java.sql package
It is a interface from java.sql package
It is a class from java.lang package
5.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
What is JDBC?
JDBC is a java based protocol.
JDBC is a standard Java API for database-independent connectivity between the Java programming language and a wide range of databases.
JDBC is a specification to tell how to connect to a database.
Joint Driver for Basic Connection
6.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Which of the following encapsulates an SQL statement which is passed to the database to be parsed, compiled, planned and executed?
DriverManager
JDBC driver
Connection
Statement
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is not a valid type of statement in JDBC?
Statement
PreparedStatement
CallableStatement
QueryStatement
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade