📢 Too many exams? Don’t know which one suits you best? Book Your Free Expert 👉 call Now!


    Question

    Which of the following IPC mechanisms allows two

    unrelated processes to communicate by mapping a region of physical memory into their respective virtual address spaces?
    A Pipes Correct Answer Incorrect Answer
    B Message Queues Correct Answer Incorrect Answer
    C Sockets Correct Answer Incorrect Answer
    D Shared Memory Correct Answer Incorrect Answer
    E Semaphores Correct Answer Incorrect Answer

    Solution

    Shared memory is a highly efficient IPC mechanism where processes can directly read from and write to a common region of memory. It is suitable for both related and unrelated processes (with proper setup and synchronization).

    Practice Next
    ask-question