AJP Vidyalankar Polytechnic CHP 5 Part 3

AJP Vidyalankar Polytechnic CHP 5 Part 3

University

48 Qs

quiz-placeholder

Similar activities

AJP Vidyalankar Polytechnic CHP 3 Part 1

AJP Vidyalankar Polytechnic CHP 3 Part 1

University

47 Qs

UTS PEMROGRAMAN MOBILE

UTS PEMROGRAMAN MOBILE

University

50 Qs

CDL Practice

CDL Practice

University

50 Qs

What Starbucks drink is this

What Starbucks drink is this

KG - Professional Development

45 Qs

Review - Quiz 1 and 2

Review - Quiz 1 and 2

University

43 Qs

Chemical Process Industry

Chemical Process Industry

University

44 Qs

MID TERM EXAM FTTEC 1105 LAB. A

MID TERM EXAM FTTEC 1105 LAB. A

University

50 Qs

Advance Processors 1

Advance Processors 1

12th Grade - University

50 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?