Computer Fundamentals Questions and Answers – Client-Server Computing

This set of Computer Fundamentals Multiple Choice Questions & Answers (MCQs) focuses on “Client-Server Computing”.

1. RMI stands for?
a) Remote Mail Invocation
b) Remote Message Invocation
c) Remaining Method Invocation
d) Remote Method Invocation
View Answer

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
View Answer

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
View Answer

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.
advertisement
advertisement

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
View Answer

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
View Answer

Answer: d
Explanation: The stub or skeleton layer provides the interface that client and server application objects use for interaction with each other.
Note: Join free Sanfoundry classes at Telegram or Youtube

6. A layer which is the binary data protocol layer.
a) stub layer
b) skeleton layer
c) remote layer
d) transport protocol
View Answer

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
View Answer

Answer: d
Explanation: The remote reference layer is the middleware between the stub/skeleton layer and underlying transport protocol.
advertisement

8. An object acting as a gateway for the client side.
a) skeleton
b) stub
c) remote
d) server
View Answer

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
View Answer

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.
advertisement

10. RMI uses stub and skeleton for communication with the ________ object.
a) client
b) remote
c) server
d) any
View Answer

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.

Sanfoundry Global Education & Learning Series – Computer Fundamentals.

To practice all areas of Computer Fundamentals, here is complete set of 1000+ Multiple Choice Questions and Answers.

If you find a mistake in question / option / answer, kindly take a screenshot and email to [email protected]

advertisement
advertisement
Subscribe to our Newsletters (Subject-wise). Participate in the Sanfoundry Certification contest to get free Certificate of Merit. Join our social networks below and stay updated with latest contests, videos, internships and jobs!

Youtube | Telegram | LinkedIn | Instagram | Facebook | Twitter | Pinterest
Manish Bhojasia - Founder & CTO at Sanfoundry
Manish Bhojasia, a technology veteran with 20+ years @ Cisco & Wipro, is Founder and CTO at Sanfoundry. He lives in Bangalore, and focuses on development of Linux Kernel, SAN Technologies, Advanced C, Data Structures & Alogrithms. Stay connected with him at LinkedIn.

Subscribe to his free Masterclasses at Youtube & discussions at Telegram SanfoundryClasses.