Q3-PROGRAMMING-SUMMATIVE-TEST-SY2023-2024

Q3-PROGRAMMING-SUMMATIVE-TEST-SY2023-2024

12th Grade

40 Qs

quiz-placeholder

Similar activities

adders

adders

12th Grade

45 Qs

Computer Programming Language

Computer Programming Language

12th Grade

35 Qs

SUMMATIVE TEST IN COMPUTER PROGRAMMING - 2nd Qtr-1-23-2023

SUMMATIVE TEST IN COMPUTER PROGRAMMING - 2nd Qtr-1-23-2023

12th Grade

40 Qs

Extension Java Database Connectivity

Extension Java Database Connectivity

12th Grade

41 Qs

JavaScript Control Flow and Loops.

JavaScript Control Flow and Loops.

10th Grade - University

35 Qs

Verifica SQL 5B marzo fila A

Verifica SQL 5B marzo fila A

12th Grade

35 Qs

SAD2 TSA1

SAD2 TSA1

9th - 12th Grade

44 Qs

Test Out Chapter 7 and 8 programming and databases

Test Out Chapter 7 and 8 programming and databases

10th - 12th Grade

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