
UNIT - 1
Authored by Reshma Sunil
Other
University

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
45 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following best describes JDBC?
A protocol
A programming language
An API to connect Java to a database
A database management system
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which layer in the JDBC architecture is responsible for managing the list of database drivers?
JDBC API
Java Application
JDBC Driver
JDBC Driver Manager
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
JDBC provides what type of database connectivity?
Platform-specific
Database-specific
Platform-independent and database-independent
Platform-independent only
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is NOT a responsibility of the JDBC API?
Connect to a database
Compile Java code
Execute SQL queries
Retrieve results from a database
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the correct order of steps to establish a JDBC connection?
Create statement → Register driver → Execute query → Close
Register driver → Create connection → Create statement → Execute query → Close
Execute query → Register driver → Create connection → Close
Create connection → Register driver → Execute query → Close
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which JDBC driver uses an ODBC driver internally?
Type-1
Type-2
Type-3
Type-4
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which JDBC driver provides the best performance and is platform-independent?
Type-1
Type-2
Type-3
Type-4
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?