0% found this document useful (0 votes)
3 views

2 CPE17 Distributed Communication

Reviewer

Uploaded by

Jonel Paleracio
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
3 views

2 CPE17 Distributed Communication

Reviewer

Uploaded by

Jonel Paleracio
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 1

CPE17: DISTRIBUTED COMMUNICATION d) Executing a special program called interrupt trigger program

Remote Procedure Calls 3. What is a trap/exception?


a) hardware generated interrupt caused by an error
1. Remote Procedure Calls are used ____________ b) software generated interrupt caused by an error
a) for communication between two processes remotely c) user generated interrupt caused by an error
different from each other on the same system d) none of the mentioned
b) for communication between two processes on the same
system 4. What is an ISR?
c) for communication between two processes on separate a) Information Service Request
systems b) Interrupt Service Request
d) none of the mentioned c) Interrupt Service Routine
d) Information Service Routine
2. To differentiate the many network services a system
supports ______ are used. 5. What is an interrupt vector?
a) Variables a) It is an address that is indexed to an interrupt handler
b) Sockets b) It is a unique device number that is indexed by an address
c) Ports c) It is a unique identity given to an interrupt
d) Service names d) None of the mentioned

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

2. How does the software trigger an interrupt?


a) Sending signals to CPU through bus
b) Executing a special operation called system call
c) Executing a special program called system program

You might also like