Operating System Questions and Answers Part-15

1. To differentiate the many network services a system supports ______ are used.
a) Variables
b) Sockets
c) Ports
d) Service names

Answer: c
Explanation: Ports

2. RPC provides a(an) _____ on the client-side, a separate one for each remote procedure.
a) stub
b) identifier
c) name
d) process identifier

Answer: a
Explanation: RPC provides a(an) stub on the client-side, a separate one for each remote procedure.

3. What is stub?
a) transmits the message to the server where the server side stub receives the message and invokes procedure on the server side
b) packs the parameters into a form transmittable over the network
c) locates the port on the server
d) all of the mentioned

Answer: d
Explanation: all of the mentioned

4. To resolve the problem of data representation on different systems RPCs define _____________
a) machine dependent representation of data
b) machine representation of data
c) machine-independent representation of data
d) none of the mentioned

Answer: c
Explanation: To resolve the problem of data representation on different systems RPCs define machine-independent representation of data

5. What is the full form of RMI?
a) Remote Memory Installation
b) Remote Memory Invocation
c) Remote Method Installation
d) Remote Method Invocation

Answer: d
Explanation: Remote Method Invocation

6. The remote method invocation __________
a) allows a process to invoke memory on a remote object
b) allows a thread to invoke a method on a remote object
c) allows a thread to invoke memory on a remote object
d) allows a process to invoke a method on a remote object

Answer: b
Explanation: The remote method invocation allows a thread to invoke a method on a remote object

7. A process that is based on IPC mechanism which executes on different systems and can communicate with other processes using message based communication, is called ________
a) Local Procedure Call
b) Inter Process Communication
c) Remote Procedure Call
d) Remote Machine Invocation

Answer: c
Explanation: Remote Procedure Call

8. Which module gives control of the CPU to the process selected by the short-term scheduler?
a) dispatcher
b) interrupt
c) scheduler
d) none of the mentioned

Answer: a
Explanation: dispatcher

9. The processes that are residing in main memory and are ready and waiting to execute are kept on a list called _____________
a) job queue
b) ready queue
c) execution queue
d) process queue

Answer: b
Explanation: The processes that are residing in main memory and are ready and waiting to execute are kept on a list called ready queue

10. The interval from the time of submission of a process to the time of completion is termed as ____________
a) waiting time
b) turnaround time
c) response time
d) throughput

Answer: b
Explanation: The interval from the time of submission of a process to the time of completion is termed as turnaround time