Online Quiz On Unit 3&4

Online Quiz On Unit 3&4

University

10 Qs

quiz-placeholder

Similar activities

Pop Quiz

Pop Quiz

University

10 Qs

Chapter 8 Review

Chapter 8 Review

University

10 Qs

Operating Systems 1 Day 1

Operating Systems 1 Day 1

University

11 Qs

DBMS Quiz2

DBMS Quiz2

University - Professional Development

10 Qs

Cisco 1, Module 8

Cisco 1, Module 8

University

13 Qs

Network Fundamentals-IOS Operating System Part 1

Network Fundamentals-IOS Operating System Part 1

9th Grade - University

9 Qs

SOKCET

SOKCET

University

10 Qs

"Troubleshooting Computer Problems

"Troubleshooting Computer Problems

11th Grade - University

15 Qs

Online Quiz On Unit 3&4

Online Quiz On Unit 3&4

Assessment

Quiz

Computers

University

Medium

Created by

Rahul Badgujar

Used 3+ times

FREE Resource

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Which of the following methods is used to establish a connection with the database in JDBC?

connect()

openConnection()

DriverManager.getConnection()

getConnection()

2.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Which of the following is NOT a type of JDBC driver?

Type-1 Driver

Type-2 Driver

Type-3 Driver

Type-5 Driver

3.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

What does the executeQuery() method in JDBC do?

Executes SQL update commands like INSERT, UPDATE, or DELETE

Executes a SQL SELECT statement

Closes the connection to the database

Executes any SQL statement, including creating or dropping tables

4.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Which interface is used to retrieve data from the database after executing a query?

Statement

ResultSet

Connection

PreparedStatement

5.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

What is the purpose of the RMI Registry?

It acts as a database for storing remote objects.

It manages the remote method invocations.

It allows clients to locate remote objects by name.

It is used to create remote objects.

6.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

What does a stub represent in RMI?

It is an actual implementation of a remote object.

It acts as a proxy on the client side to forward requests to the remote object.

It manages the RMI Registry.

It stores the remote object on the server side.

7.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Which method is used by the client to locate and obtain a reference to a remote object from the RMI Registry?

Naming.lookup()

Naming.rebind()

Registry.getReference()

Remote.lookup()

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?