Which of the following interprocess communication model is used to exchange…
2019
Which of the following interprocess communication model is used to exchange messages among co-operative processes?
- A.
Shared memory model
- B.
Message passing model
- C.
Shared memory and message passing model
- D.
Queues
Attempted by 49 students.
Show answer & explanation
Correct answer: C
Interprocess Communication (IPC) provides mechanisms that allow cooperating processes to exchange information and synchronize their activities.
The two fundamental IPC models are:
Shared Memory Model – processes communicate by accessing a common shared memory region.
Message Passing Model – processes communicate by explicitly sending and receiving messages.
Therefore, both shared memory and message passing are used for communication among cooperating processes.
A video solution is available for this question — log in and enroll to watch it.