Search Header Logo

JDBC Quiz

Authored by Hoang Khoa

Information Technology (IT)

12th Grade

JDBC Quiz
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

18 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

What does JDBC stand for?

Java Database Connectivity

Java Data Base Connection

Java Database Connection

Java Data Connectivity

2.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Loại driver JDBC nào bị khuyến cáo không nên sử dụng do driver mỏng?

Driver gốc

Driver giao thức mạng

JDBC-ODBC Bridge

Driver mỏng

3.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Phương pháp nào được sử dụng để thiết lập kết nối cơ sở dữ liệu trong JDBC?

Statement.executeQuery()

Connection.createStatement()

ResultSet.next()

DriverManager.getConnection()

4.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Which of the following is NOT a method of the Connection interface?

prepareStatement()

createStatement()

executeQuery()

setAutoCommit()

5.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

What is the default auto-commit mode of a Connection object?

Not defined

Depends on the driver

True

False

6.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Phương pháp nào được sử dụng để thực thi một lô lệnh trong JDBC?

executeUpdate()

addBatch()

executeQuery()

executeBatch()

7.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Mục đích của PreparedStatement là gì?

Quản lý giao dịch

Chỉ thực thi SQL tĩnh

Thực thi các truy vấn có tham số

Tạo một cơ sở dữ liệu mới

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?