JDBC_Objective_Exam_2

Quiz
•
Computers
•
Professional Development
•
Hard

Naganjaneyulu S
Used 18+ times
FREE Resource
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which class or interface contains the transaction control methods setAutoCommit(),commit(), and rollback()?
Statement
Connection
ResultSet
none of the above
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which character is used to represent an input parameter in CallableStatement?
%-Percentage symbol
#-hash
?-Question Mark
*-star
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
When the message “No Suitable Driver” occurs ?
When the type 4 driver is used?
When the driver is not registered by Class.forName() method
When the JDBC database URL passed is not constructed properly
When the user name, password and the database does not match
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does setAutoCommit(false) do?
commits transaction after each query
explicitly commits transaction
does not commit transaction automatically after each query
never commits transaction
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
For inserting data into database Which Interface is used in JDBC Program?
Statement
PreparedStatement
CallableStatement
ParameterisedStatement
6.
FILL IN THE BLANK QUESTION
1 min • 1 pt
Write the code for loading a Type-4 driver in JDBC program.
7.
FILL IN THE BLANK QUESTION
1 min • 1 pt
What are different Exceptions thrown in JDBC?
Create a free account and access millions of resources
Similar Resources on Wayground
20 questions
PL SQL

Quiz
•
University - Professi...
10 questions
Redshift Immersion Day

Quiz
•
Professional Development
20 questions
IHDL_Finals Quiz

Quiz
•
Professional Development
12 questions
Java Selenium WebDriver

Quiz
•
Professional Development
10 questions
SQL Tuning Tools

Quiz
•
Professional Development
20 questions
ARM + PDT

Quiz
•
University - Professi...
10 questions
Oracle cloud 1

Quiz
•
Professional Development
10 questions
Game 1: Kiểm thử hiệu năng

Quiz
•
Professional Development
Popular Resources on Wayground
50 questions
Trivia 7/25

Quiz
•
12th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
11 questions
Negative Exponents

Quiz
•
7th - 8th Grade
12 questions
Exponent Expressions

Quiz
•
6th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
20 questions
One Step Equations All Operations

Quiz
•
6th - 7th Grade
18 questions
"A Quilt of a Country"

Quiz
•
9th Grade