Search Header Logo

AJP Vidyalankar Polytechnic CHP 5 Part 3

Authored by Daksh Patel

Other

University

Used 2+ times

AJP Vidyalankar Polytechnic CHP 5 Part 3
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

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

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Microsoft

Continue with Microsoft

or continue with

Facebook

Facebook

Apple

Apple

Others

Others

Already have an account?