JDBC_Objective_Exam_2
Quiz
•
Computers
•
Professional Development
•
Practice Problem
•
Hard

Naganjaneyulu S
Used 18+ times
FREE Resource
Enhance your content in a minute
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
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
19 questions
SC-900_Módulo 4
Quiz
•
Professional Development
10 questions
A glimpe of a microprocessor vs microcontroller
Quiz
•
University - Professi...
15 questions
Systems Architecture GCSE
Quiz
•
Professional Development
15 questions
Web Technology - Web Essentials
Quiz
•
Professional Development
20 questions
Installing and Configuring Computer Systems 2
Quiz
•
Professional Development
14 questions
AZ-900 Modulo 2
Quiz
•
KG - Professional Dev...
18 questions
CONSULTAS_SQL_2324
Quiz
•
Professional Development
15 questions
15 question Security+ Quiz March 2023
Quiz
•
Professional Development
Popular Resources on Wayground
10 questions
Honoring the Significance of Veterans Day
Interactive video
•
6th - 10th Grade
9 questions
FOREST Community of Caring
Lesson
•
1st - 5th Grade
10 questions
Exploring Veterans Day: Facts and Celebrations for Kids
Interactive video
•
6th - 10th Grade
19 questions
Veterans Day
Quiz
•
5th Grade
14 questions
General Technology Use Quiz
Quiz
•
8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
Circuits, Light Energy, and Forces
Quiz
•
5th Grade
19 questions
Thanksgiving Trivia
Quiz
•
6th Grade
