2 CPE17 Distributed Communication
2 CPE17 Distributed Communication
3. RPC provides a(an) _____ on the client-side, a separate one 6. DMA is used for __________
for each remote procedure. a) High speed devices(disks and communications network)
a) stub b) Low speed devices
b) identifier c) Utilizing CPU cycles
c) name d) All of the mentioned
d) process identifier
7. In a memory mapped input/output __________
4. What is stub? a) the CPU uses polling to watch the control bit constantly,
a) transmits the message to the server where the server side looping to see if a device is ready
stub receives the message and invokes procedure on the b) the CPU writes one data byte to the data register and sets a
server side bit in control register to show that a byte is available
b) packs the parameters into a form transmittable over the c) the CPU receives an interrupt when the device is ready for
network the next byte
c) locates the port on the server d) the CPU runs a user written code and does accordingly
d) all of the mentioned
8. In a programmed input/output(PIO) __________
5. To resolve the problem of data representation on different a) the CPU uses polling to watch the control bit constantly,
systems RPCs define _____________ looping to see if a device is ready
a) machine dependent representation of data b) the CPU writes one data byte to the data register and sets a
b) machine representation of data bit in control register to show that a byte is available
c) machine-independent representation of data c) the CPU receives an interrupt when the device is ready for
d) none of the mentioned the next byte
d) the CPU runs a user written code and does accordingly
6. What is the full form of RMI?
a) Remote Memory Installation 9. In an interrupt driven input/output __________
b) Remote Memory Invocation a) the CPU uses polling to watch the control bit constantly,
c) Remote Method Installation looping to see if a device is ready
d) Remote Method Invocation b) the CPU writes one data byte to the data register and sets a
bit in control register to show that a byte is available
7. The remote method invocation __________ c) the CPU receives an interrupt when the device is ready for
a) allows a process to invoke memory on a remote object the next byte
b) allows a thread to invoke a method on a remote object d) the CPU runs a user written code and does accordingly
c) allows a thread to invoke memory on a remote object
d) allows a process to invoke a method on a remote object 10. In the layered approach of Operating Systems __________
a) Bottom Layer(0) is the User interface
8. A process that is based on IPC mechanism which executes b) Highest Layer(N) is the User interface
on different systems and can communicate with other c) Bottom Layer(N) is the hardware
processes using message based communication, is called d) Highest Layer(N) is the hardware
________
a) Local Procedure Call 11. How does the Hardware trigger an interrupt?
b) Inter Process Communication a) Sending signals to CPU through a system bus
c) Remote Procedure Call b) Executing a special program called interrupt program
d) Remote Machine Invocation c) Executing a special program called system program
d) Executing a special operation called system call
Process Structures
12. Which operation is performed by an interrupt handler?
1. The initial program that is run when the computer is powered a) Saving the current state of the system
up is called __________ b) Loading the interrupt handling code and executing it
a) boot program c) Once done handling, bringing back the system to the original
b) bootloader state it was before the interrupt occurred
c) initializer d) All of the mentioned
d) bootstrap program