JDBC Quiz

JDBC Quiz

Professional Development

10 Qs

quiz-placeholder

Similar activities

02. Quiz Sosialisasi

02. Quiz Sosialisasi

Professional Development

15 Qs

Kuis BO Periode Januari 2023

Kuis BO Periode Januari 2023

Professional Development

10 Qs

TryOut Karyawan Mar'22

TryOut Karyawan Mar'22

Professional Development

10 Qs

Pretest Hari Kedua LKMM-TMxSK

Pretest Hari Kedua LKMM-TMxSK

Professional Development

10 Qs

Pelatihan Excellent Service

Pelatihan Excellent Service

Professional Development

15 Qs

AWS ACF Módulo 1  - Visão geral dos conceitos de nuvem

AWS ACF Módulo 1 - Visão geral dos conceitos de nuvem

Professional Development

10 Qs

Soal PPPK Manajerial 5

Soal PPPK Manajerial 5

Professional Development

15 Qs

Repaso Clase 4 y 5 - Entorno financiero

Repaso Clase 4 y 5 - Entorno financiero

Professional Development

10 Qs

JDBC Quiz

JDBC Quiz

Assessment

Quiz

Professional Development

Professional Development

Practice Problem

Medium

Created by

Surekha Rajeshwari

Used 1+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Which of the following is not true about JDBC-ODBC Bridge Driver?

It uses ODBC driver to connect to the database
It converts JDBC method calls into the ODBC function calls
Performance is upgraded because JDBC method call is converted into the ODBC function calls.
It can be easily connected to any database

2.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Identify the correct way to instantiate DatabaseMetaData object:

DatabaseMetaData ob = new DatabaseMetaData();
DatabaseMetaData ob = connection.getDatabaseMetaData();
DatabaseMetaData ob = connection.getMetaData();
DatabaseMetaData ob = resultset.getDatabaseMetaData();

3.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Which of the following Statement interface is the best option to choose for calling procedures with OUT parameters from DB?

Statement
PreparedStatement
CallableStatement
All the above

4.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Which of the following is advantage of using PreparedStatement in Java?

It allows different arguments to run on the same execution plan
It increases the performance
it is more secure with binding variables and avoids sql injection
All the above

5.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Which method is used to stop the action of committing every sql statement as it is executed from statement object?

con.setAutoCommit(true)
con.setAutoCommit(false)
con.commit()
con.commit(true)

6.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Which of the following methods are used for batch processing?

addBatch() and execute()
addBatch() and executeBatch()
setBatch() and execute()
setBatch() and executeBatch()

7.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Which all of the below actions are done by the Statement object of JDBC?

A Statement object encapsulates an SQL statement which is passed to the database to be

1. parsed

2. compiled

3. planned

4. executed

1,2,3,4
1,2,3
2,3,4
1,2,4

Access all questions and much more by creating a free account

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

Already have an account?

Discover more resources for Professional Development