JDBC Quiz

JDBC Quiz

University

25 Qs

quiz-placeholder

Similar activities

Quiz I - Programming in C

Quiz I - Programming in C

University

20 Qs

Kuis Pelatihan API Kutim By GIZ

Kuis Pelatihan API Kutim By GIZ

University - Professional Development

20 Qs

Quiz Inf X.B

Quiz Inf X.B

10th Grade - University

20 Qs

DWDM-2

DWDM-2

University

20 Qs

GIS UNIT-3 Quiz

GIS UNIT-3 Quiz

University

20 Qs

PC Safety and Maintenance

PC Safety and Maintenance

University

20 Qs

IGH Test de Entrada

IGH Test de Entrada

University

20 Qs

UTS Web Lanjut

UTS Web Lanjut

University

20 Qs

JDBC Quiz

JDBC Quiz

Assessment

Quiz

Computers

University

Medium

Created by

Radhika Jindal

Used 2+ times

FREE Resource

25 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

1) 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 ResultSet

2.

MULTIPLE CHOICE QUESTION

45 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

45 sec • 1 pt

4) 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

i, iii, ii, v, iv, vii, vi, viii

ii, i, iii, iv, viii, vii, v, vi

i, iii, ii, iv, v, vi, vii, viii

4.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Parameterized queries can be executed by?

ParameterizedStatement

PreparedStatement

CallableStatement and Parameterized Statement

All kinds of Statements

5.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Which of the following is not a valid statement in JDBC?

Statement

PreparedStatement

QueryStatement

CallableStatement

6.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Stored procedure can be called by using the ????..?

CallableStatement

Statement

CalledStatement

PreparedStatement

7.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Which of the following driver is the fastest one?

JDBC-ODBC Bridge Driver

Native API Partly Java Driver

Network Protocol Driver

JDBC Net Pure Java Driver

Create a free account and access millions of resources

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?