Computer Fundamentals Multiple choice Questions and Answers on Client-Server Computing for Freshers

1. RMI stands for?

a) Remote Mail Invocation
b) Remote Message Invocation
c) Remaining Method Invocation
d) Remote Method Invocation
Answer: d

Explanation: The RMI (Remote Method Invocation) is an API that provides a mechanism to create distributed applications.
2. A remote object is an object whose method can be invoked from another virtual environment.

a) True
b) False
Answer: a

Explanation: The statement is true. JVM is java virtual environment. RMI uses stub and skeleton object for communication with the remote object. A remote object is an object whose method can be invoked from another virtual environment.
3. A typical _________ program creates some remote objects, makes references to these objects accessible, and waits for clients to invoke methods on these objects.

a) Server
b) Client
c) Thread
d) Concurrent
Answer: a

Explanation: A server program creates remote objects. It gives reference to these objects and then waits for clients to invoke methods on these objects.
4. A typical __________ program obtains a remote reference to one or more remote objects on a server and then invokes methods on them.

a) Server
b) Client
c) Thread
d) Concurrent
Answer: b

Explanation: A client program obtains a remote reference to one or more remote objects on a server. It then invokes methods on them.
5. The ___________ layer, which provides the interface that client and server application objects use to interact with each other.

a) Increasing
b) Count
c) Bit
d) Stub/skeleton
Answer: d

Explanation: The stub or skeleton layer provides the interface that client and server application objects use for interaction with each other.
6. A layer which is the binary data protocol layer.

a) stub layer
b) skeleton layer
c) remote layer
d) transport protocol
Answer: d

Explanation: The transport protocol layer is the binary data protocol that sends remote object requests over the wire. A client is any remote application that communicates with these server objects.
7. A middleware layer between the stub skeleton and transport.

a) remote layer
b) instruction layer
c) reference layer
d) remote reference layer
Answer: d

Explanation: The remote reference layer is the middleware between the stub/skeleton layer and underlying transport protocol.
8. An object acting as a gateway for the client side.

a) skeleton
b) stub
c) remote
d) server
Answer: b

Explanation: The stub is an object that acts as a gateway for the client side. The outgoing requests are passed through the stub.
9. A gateway for the server side object.

a) skeleton
b) stub
c) remote
d) server
Answer: a

Explanation: The skeleton is an object, acts as a gateway for the server side object. All the incoming requests are routed through it.
10. RMI uses stub and skeleton for communication with the ________ object.

a) client
b) remote
c) server
d) any
Answer: b

Explanation: RMI uses stub and skeleton object for communication with the remote object. A remote object is an object whose method can be invoked from another JVM.

Related

Multiple Choice Questions 4823271210811446796

Post a Comment

emo-but-icon

item