
Java Programming Section 6
Authored by Ferdy Aditya
Computers
University
Used 6+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
14 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
You must explicitly close ResultSet and Statement objects once they are no longer in use.
True
False
2.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Which of the following is a valid JDBC URL?
oracle:thin:localhost@dfot/dfot:1521/xepdb1
jdbc::oracle-thin:dfot/dfot@oracle:1521/xepdb1
jdbc:oracle:thin:dfot/dfot@localhost:1521/xepdb1
oracle:thin:jdbc:dfot/dfot@localhost:1521/xepdb1
3.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Given the following code, assume there are rows of data in the table EMP. What is the result?
Compiler error on line 2
Runtime error on line 3
2
0
Compile error on line 1
4.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
Which of the following classes or interfaces are included in the database vendor driver library? (Choose two)
Statement interface implementation
Java.sql.Connection
Javax.sql.Datasource
Javax.sql.DataSource implementation
Java.sql.DriverManager implementation
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is NOT a JDBC interface used to execute SLQ statements?
Statement Interface
PreparedStatement Interface
PrePreparedStatement Interface
CallableStatement Interface
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What type of JDBC driver will convert the database invocation directly into network protocol?
Type 1 driver
Type 2 driver
Type 3 driver
Type 4 driver
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
To execute a stored SQL procedure, which JDBC interface should be used?
Statement Interface
PreparedStatement Interface
PrepreparedStatement Interface
CallableStatement Interface
Access all questions and much more by creating a free account
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
Already have an account?
Similar Resources on Wayground
10 questions
Programacion Orientada a Objetos
Quiz
•
12th Grade - University
10 questions
Quiz Modul 10 - User Forms (1110)
Quiz
•
University
18 questions
PBO Inheritance Episode 2
Quiz
•
University
15 questions
bootstrap let's play
Quiz
•
University
15 questions
AV1/R1 2TEC_PM_1 A 11_História e Reconhecimento da UX
Quiz
•
1st Grade - University
10 questions
Seatwork for Data Storage
Quiz
•
University
15 questions
ITP Review Quiz
Quiz
•
University
10 questions
Java Quiz 1
Quiz
•
University
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade