Full Stack development quiz 17

Full Stack development quiz 17

University

10 Qs

quiz-placeholder

Similar activities

OODBMS & ORDBMS

OODBMS & ORDBMS

University

10 Qs

METHODOLOGIES

METHODOLOGIES

University

15 Qs

India-Finland Trivia

India-Finland Trivia

University

15 Qs

Kommertsiya Quizholic Level 3

Kommertsiya Quizholic Level 3

University

15 Qs

Java Core

Java Core

University

10 Qs

01 Databases Overview

01 Databases Overview

University

10 Qs

DIM Chapter 4 - RDBMS

DIM Chapter 4 - RDBMS

University

7 Qs

Coding Quiz

Coding Quiz

6th Grade - Professional Development

14 Qs

Full Stack development quiz 17

Full Stack development quiz 17

Assessment

Quiz

Other

University

Hard

Created by

Gnaneshwar Reddy

Used 2+ times

FREE Resource

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

 What are the major components of the JDBC?

  1. DriverManager, Driver, Connection, Statement, and ResultSet

  1. DriverManager, Driver, Connection, and Statement

  1. DriverManager, Statement, and ResultSet

  1. DriverManager, Connection, Statement, and ResultSet

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Select the packages in which JDBC classes are defined?

  1. jdbc and javax.jdbc

  1. rdb and javax.rdb

  1. jdbc and java.jdbc.sql

  1. sql and javax.sql

3.

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.

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

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

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

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

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following method is used to perform DML statements in JDBC?

  1. executeResult()

  1. executeQuery()

  1. executeUpdate()

  1. execute()

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which methods are required to load a database driver in JDBC?

  1. getConnection()

  1. registerDriver()

  1. forName()

  1. Both b and c

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What should be the correct order to close the database resource?What should be the correct order to close the database resource?

  1. Connection, Statements, and then ResultSet

  1. ResultSet, Connection, and then Statements

  1. Statements, ResultSet, and then Connection

  1. ResultSet, Statements, and then Connection

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

JDBC-ODBC driver is also known as?

  1. Type 4

  1. Type 3

  1. Type 1

  1. Type 2

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?