AJP Vidyalankar Polytechnic CHP 5 Part 3

AJP Vidyalankar Polytechnic CHP 5 Part 3

University

48 Qs

quiz-placeholder

Similar activities

Practice Test

Practice Test

University

53 Qs

Java Loops Quiz

Java Loops Quiz

University

53 Qs

PAS ADMINISTRASI SISTEM JARINGAN KELAS 11 SMSTR GENAP

PAS ADMINISTRASI SISTEM JARINGAN KELAS 11 SMSTR GENAP

11th Grade - University

45 Qs

tổng hợp kiến thức React

tổng hợp kiến thức React

University

44 Qs

IT Fundamentals Test Part 1

IT Fundamentals Test Part 1

KG - University

49 Qs

Operating System Concepts Quiz

Operating System Concepts Quiz

University

45 Qs

ComProg final

ComProg final

University

46 Qs

Chemical Process Industry

Chemical Process Industry

University

44 Qs

AJP Vidyalankar Polytechnic CHP 5 Part 3

AJP Vidyalankar Polytechnic CHP 5 Part 3

Assessment

Quiz

Other

University

Medium

Created by

Daksh Patel

Used 2+ times

FREE Resource

48 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

For execution of INSERT SQL query in JDBC, ............. method must be used.

executeUpdate()

executeStatement()

executeQuery()

Execute()

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

For execution of SELECT SQL query in JDBC, _________________ method must be used.

executeQuery()

Execute()

executeUpdate()

executeAll()

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

forName is a _______________________ type method

Static

Dynamic

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

getConnection() method is of which class

DriverManager

Statement

Connection

None of above

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How many JDBC driver types are available by sun Microsystem?

6

4

5

3

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

If a PreparedStatement is a SQL SELECT statement, you execute the statement using ________.

PreparedStatement.execute();

Statement.executeQuery();

PreparedStatement.executeQuery();

PreparedStatement.executeUpdate();

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

If you need to use a stored procedure with output parameters, which of the following statement type should be used to call the procedure?

CallableStatement

PreparedStatement

Statement

ProcedureStatement

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?