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?

  1. A.

    Shared memory model

  2. B.

    Message passing model

  3. C.

    Shared memory and message passing model

  4. 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.

Explore the full course: Nta Ugc Net Paper 2

Loading lesson…