1,792 views

1 Answer

Best answer
4 4 votes
  1. Yes, This is why we use message passing so that one system can communicate with another system. Ex :- Email from one computer to another and a system cannot modify other's data as there are concurrency issues like shared memory as in shared memory system, processes communicate by reading/writing to shared memory, which is handled by reader/ writer locks
  2. This also comes from the definition of message passing as it is only useful for exchanging smaller amounts of data.
  3. Shared memory happens at memory speeds whereas message passing happens at link speed by which systems are connected to other hence, MP is slower than SM . Also, in message passing, kernel intervention is there which increases the time to coomunicate whereas kernel has no intervention in shared memory systems.

Hence, i will go with option D) as false statement.

• selected by
Position:
Show:

Related questions

1 1 vote
1 1 answer
3.1k
3.1k views
Na462 asked Dec 2, 2018
3,105 views
Consider the following statements:S1 : Interprocess communication and sharing is easier in process rather than threads.S2 : There is no protection between threads of same...
0 0 votes
1 1 answer
901
901 views
Diksha Aswal asked Sep 17, 2017
901 views
which of the following statements is correct for two processes executing this code?A) Given program provide mutual exclusion.B) Given program does not provide mutual excl...
1 1 vote
1 1 answer
100
100 views
GO Classes asked Aug 26
100 views
Which statement about pipe-based IPC is correct?A conventional pipe directly provides simultaneous bidirectional communication. Pipe capacity is limited only by available...
2 2 votes
1 1 answer
163
163 views
GO Classes asked Jul 25
163 views
Why may two processes prefer shared memory over message passing for communication?Shared memory automatically prevents race conditions. Shared memory is often faster beca...