JDBC Quiz # 2

Instructions
Quiz: JDBC Quiz # 2
Subject: Basic Jdbc
Total Questions: 30 MCQs
Time: 30 Minutes

Note

  • Do not refresh the page while taking the test.
  • Results along with correct answers will be shown at the end of the test.
JDBC Quiz # 2
Question 1 of 30
00:00
  • When a Driver Class is loaded, it creates an instance of itself and registers it with:

  • True or False? If executing a Statement object many times, a PreparedStement object will reduce execution time.

  • True or False? SQLWarning objects are a subclass of SQLException.

  • _______ extends the RowSet interface.

  • If the column you are interested in viewing contains an int, which of the following methods of Resultset can be used?

  • The Class.forname() method is used to:

  • If the ResultSet type is TYPE_FORWARD_ONLY, it implies:

  • A ______ object lets you access the data returned by an SQL statement.

  • Which of the following is NOT needed to set up a JDBC Environment:

  • The SQLXML interface provides the _____ method to access its internal content.

  • In order to commit changes to the database, use:

  • If a database operation fails, JDBC raises an:

  • JDBC stands for _______.

  • What kind of database is the command jdbc:mysql:://localhost:3306/ is connecting to?

  • True or False? JDBC will work with many different database management systems.

  • You must register your JDBC driver in your program before using it? True or False

  • Which package contains the JDBC classes?

  • In the syntax {ts 'yyyy-mm-dd hh:mm:ss'}, ts stands for

  • The most common exception you'll deal with JDBC:

  • In order to undo the previous transaction, use

  • Autocommit must be set to false when using batch processing with Statement object? True or Flase

  • ________ is NOT a step you must perform to process an SQL statement.

  • A _______ is used to access the data in a ResultSet.

  • True or False? JDBC is an API to connect object and XML data sources.

  • _______ driver type(s) are for use over communication networks.

  • _______ JDBC driver type(s) can be used in either applet or servlet code.

  • _______ driver type(s) can be used in a three-tier architecture and if the web server and DBMS are running on the same machine.

  • _______ driver type is the JDBC-ODBC bridge?

  • Transaction_read_committed (one example of transaction isolation level) does not alow:

  • If you are going to use Static SQL statements at runtime, the best JDBC interface to use is:

Liked this quiz? Share it with friends:

JDBC Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it