Wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

UCS18501: ADVANCED JAVA

Total questions: 12

Worksheet time: 6mins

Name
Class
Date
1.

1. RMI Stands for?

a)

Random Method Invocation

b)

Remote Memory Interface

c)

Remote Method Invocation

d)

Random Method Interface

2.

2. Which is an object, acts as a gateway for the client side, all the outgoing requests are routed through it and it resides at the client side and represents the remote object?

a)

Stub

b)

Skeleton

c)

Interface

d)

RMI

3.

3. Which package is used for RMI?

a)

java.lang.rmi

b)

java.lang.reflect

c)

java.applet

d)

java.rmi

4.

4. In the below statement, which type of query can be used with executeUpdate( ) method. statement.executeUpdate (query here)?

a)

Insert, Update, Delete

b)

Insert, Select, Delete

c)

Only Select

d)

Any Query

5.

5. Which of the following function is used to find the column count of the particular ResultSet?

a)

getMetadata( )

b)

metadata( )

c)

getColumnCount( )

d)

getCount( )

6.

6. Database Metadata are retrieved through _______________

a)

getDatabaseMetadata( )

b)

getMetaData( )

c)

getDBMetaData()

d)

getDatabaseMeta( )

7.

7. Which of the following function is used to find the column count of the particular ResultSet?

a)

getMetadata( )

b)

metadata( )

c)

getColumnCount( )

d)

getCount( )

8.

8.What is return type of the getSession() method?

a)

Session

b)

int

c)

HTTP session

d)

boolean

9.

9. A table of data which represents a data from table is called ___________

a)

MetaData

b)

ResultSetMetaData

c)

ResultSet

d)

Statement

10.

10. An RMI Server is responsible for _______

a)

A. Creating an instance of the remote object D. All mentioned above

b)

Exporting the remote object

c)

Binding the instance of the remote object to the RMI registry

d)

A,B,C

11.

11. CORBA is stands for_________________

a)

Common oriented request broker architecture

b)

Common object request break architecture

c)

. Common object request broker architecture

d)

Common object request broker access

12.

12. Which of these Exceptions is thrown by a remote method?

a)

RemoteException

b)

InputOutputException

c)

RemoteAccessException

d)

RemoteInputOutputException