1. Why is message passing relatively fast compared to shared memory based IPC? (a) Message passing is relatively free from synchronisation overheads (b) Message passing does not involve any OS...


1. Why is message passing relatively fast compared to shared memory based IPC? (a) Message passing is relatively free from synchronisation overheads (b) Message passing does not involve any OS intervention (c) All of these (d) None of these


2. In asynchronous messaging, the message posting thread just posts the message to the queue and will not wait for an acceptance (return) from the thread to which the message is posted. State ‘True’ or ‘False’ (a) True (b) False


3. Which of the following is a blocking message passing call in Windows? (a) PostMessage (b) PostThreadMessage (c) SendMessage (d) All of these (e) None of these


4. Under Windows operating system, the message is passed through _____ for Inter Process Communication (IPC) between processes? (a) Message structure (b) Memory mapped object (c) Semaphore (d) All of these


5. Which of the following is true about ‘Signals’ for Inter Process Communication? (a) Signals are used for asynchronous notifi cations (b) Signals are not queued (c) Signals do not carry any data (d) All of these


6. Which of the following is true about Racing or Race condition? (a) It is the condition in which multiple processes compete (race) each other to access and manipulate shared data concurrently (b) In a race condition the fi nal value of the shared data depends on the process which acted on the data fi nally (c) Racing will not occur if the shared data access is atomic (d) All of these

May 18, 2022
SOLUTION.PDF

Get Answer To This Question

Submit New Assignment

Copy and Paste Your Assignment Here