WorksheetsUCS18501: ADVANCED JAVA
Total questions: 12
Worksheet time: 6mins
1. RMI Stands for?
Random Method Invocation
Remote Memory Interface
Remote Method Invocation
Random Method Interface
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?
Stub
Skeleton
Interface
RMI
3. Which package is used for RMI?
java.lang.rmi
java.lang.reflect
java.applet
java.rmi
4. In the below statement, which type of query can be used with executeUpdate( ) method. statement.executeUpdate (query here)?
Insert, Update, Delete
Insert, Select, Delete
Only Select
Any Query
5. Which of the following function is used to find the column count of the particular ResultSet?
getMetadata( )
metadata( )
getColumnCount( )
getCount( )
6. Database Metadata are retrieved through _______________
getDatabaseMetadata( )
getMetaData( )
getDBMetaData()
getDatabaseMeta( )
7. Which of the following function is used to find the column count of the particular ResultSet?
getMetadata( )
metadata( )
getColumnCount( )
getCount( )
8.What is return type of the getSession() method?
Session
int
HTTP session
boolean
9. A table of data which represents a data from table is called ___________
MetaData
ResultSetMetaData
ResultSet
Statement
10. An RMI Server is responsible for _______
A. Creating an instance of the remote object D. All mentioned above
Exporting the remote object
Binding the instance of the remote object to the RMI registry
A,B,C
11. CORBA is stands for_________________
Common oriented request broker architecture
Common object request break architecture
. Common object request broker architecture
Common object request broker access
12. Which of these Exceptions is thrown by a remote method?
RemoteException
InputOutputException
RemoteAccessException
RemoteInputOutputException
