Q3-PROGRAMMING-SUMMATIVE-TEST-SY2023-2024

Q3-PROGRAMMING-SUMMATIVE-TEST-SY2023-2024

12th Grade

40 Qs

quiz-placeholder

Similar activities

JavaScript

JavaScript

12th Grade

37 Qs

SQL

SQL

12th Grade

45 Qs

java

java

10th - 12th Grade

40 Qs

A Level Quiz

A Level Quiz

12th Grade

40 Qs

Databases

Databases

12th Grade

40 Qs

Тест на знание компьютера

Тест на знание компьютера

9th - 12th Grade

38 Qs

Latihan USP PPL, Basda, PBO

Latihan USP PPL, Basda, PBO

12th Grade

45 Qs

JavaScript_T3_Revision

JavaScript_T3_Revision

12th Grade

40 Qs

Q3-PROGRAMMING-SUMMATIVE-TEST-SY2023-2024

Q3-PROGRAMMING-SUMMATIVE-TEST-SY2023-2024

Assessment

Quiz

Computers

12th Grade

Hard

Created by

Rhoychie Roy

Used 1+ times

FREE Resource

40 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What is JDBC?

Joint Driver for Basic Connection

JDBC is a java-based protocol.

JDBC is a specification to tell how to connect to a database.

JDBC is a standard Java API for database-independent connectivity between the Java programming language and a wide range of databases.

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which of the following encapsulates an SQL statement which is passed to the database to be parsed, compiled, planned and executed?

JDBC driver

Statement

DriverManager

Connection

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which of the following is not a valid type of statement in JDBC?

QueryStatement  

PreparedStatement

Statement

CallableStatement  

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What is true about getConnection() method?

It is a non static method from DriverManager class

It is a static method from DriverManager interface

It is a static method from DriverManager class

It is a non static method from DriverManager interface

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

How can you execute DML statements (i.e. insert, delete, update) in the database?

By making use of the execute(…) statement of the DataModificationStatement object

By invoking the execute(…) or executeUpdate(…) method of a normal Statement object or a sub-interface object thereof

By invoking the executeInsert(…), executeDelete(…) or executeUpdate(…) methods of the DataModificationStatement object

By making use of the InsertStatement, DeleteStatement or UpdateStatement classes

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What is the return type of executeUpdate() method?

short

byte

int

long

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What is true about getConnection() method?

It is a non static method from DriverManager interface

It is a non static method from DriverManager class

It is a static method from DriverManager interface

It is a static method from DriverManager class

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?

Discover more resources for Computers