
JDBC
Quiz
•
Professional Development
•
•
Practice Problem
•
Hard
Sheeja R
Used 2+ times
FREE Resource
Student preview

5 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What are the major components of the JDBC?
DriverManager, Driver, Connection, Statement, and ResultSet
DriverManager, Driver, Connection, and Statement
DriverManager, Statement, and ResultSet
DriverManager, Connection, Statement, and ResultSe
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Select the packages in which JDBC classes are defined?
jdbc and javax.jdbc
rdb and javax.rdb
jdbc and java.jdbc.sql
sql and javax.sql
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Thin driver is also known as?
Type 3 Driver
Type-2 Driver
Type-1 Driver
Type-4 Driver
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the correct sequence to create a database connection?
i. Import JDBC packages.
ii. Open a connection to the database.
iii. Load and register the JDBC driver.
iv. Execute the statement object and return a query resultset.
v. Create a statement object to perform a query.
vi. Close the resultset and statement objects.
vii. Process the resultset.
viii. Close the connection.
i, ii, iii, v, iv, vii, viii, vi
ii, i, iii, iv, viii, vii, v, vi
i, iii, ii, iv, v, vi, vii, viii
i, iii, ii, v, iv, vii, vi, viii
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following method is used to perform DML statements in JDBC?
executeResult()
xecuteUpdate()
executeQuery()
e
execute()
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