Operating System

106503
Back to Operating System

Module 3: Inter-process Communication

  1. Q1b. Under direct communication, each process that wants to communicate must explicitly name the recipient or sender of the communication. This mechanism is known as ______ (i) Naming (ii) Message Passing (iii) Mailboxes (iv) Chatting20242m

    Module 3: Inter-process Communication

    Under direct communication, each process that wants to communicate must explicitly name the recipient or sender of the communication. This mechanism is known as ______
    (i) Naming
    (ii) Message Passing
    (iii) Mailboxes
    (iv) Chatting

    View this question on its own page →
  2. Q1e. Which of the following mechanisms is NOT typically used to achieve mutual exclusion? (i) Strict alternation (ii) Event counters (iii) Message passing (iv) Virtual memory20242m

    Module 3: Inter-process Communication

    Which of the following mechanisms is NOT typically used to achieve mutual exclusion?
    (i) Strict alternation
    (ii) Event counters
    (iii) Message passing
    (iv) Virtual memory

    View this question on its own page →
  3. Q1e. The Dining Philosopher Algorithm is a classic example of which problem? (i) CPU scheduling (ii) Memory fragmentation (iii) Process synchronization and deadlock (iv) File allocation20252m

    Module 3: Inter-process Communication

    The Dining Philosopher Algorithm is a classic example of which problem?

    (i) CPU scheduling
    (ii) Memory fragmentation
    (iii) Process synchronization and deadlock
    (iv) File allocation

    View this question on its own page →
  4. Q1f. To avoid race condition the maximum number of processes that may simultaneously be inside the critical section is: (i) No Limit (ii) Two (iii) Three (iv) One20232m

    Module 3: Inter-process Communication

    To avoid race condition the maximum number of processes that may simultaneously be inside the critical section is:
    (i) No Limit
    (ii) Two
    (iii) Three
    (iv) One

    View this question on its own page →
  5. Q1h. What is the main problem that the "Critical Section" concept aims to solve in concurrent programming? (i) Memory overflow (ii) Infinite loop termination (iii) Race condition between processes (iv) Lack of CPU resources20242m

    Module 3: Inter-process Communication

    What is the main problem that the "Critical Section" concept aims to solve in concurrent programming?
    (i) Memory overflow
    (ii) Infinite loop termination
    (iii) Race condition between processes
    (iv) Lack of CPU resources

    View this question on its own page →
  6. Q1j. In Peterson's solution for two processes, which condition ensures mutual exclusion? (i) Both processes wait infinitely (ii) Only one process enters the critical section at a time (iii) Both processes enter the critical section together (iv) The process with a higher ID always wins20242m

    Module 3: Inter-process Communication

    In Peterson's solution for two processes, which condition ensures mutual exclusion?
    (i) Both processes wait infinitely
    (ii) Only one process enters the critical section at a time
    (iii) Both processes enter the critical section together
    (iv) The process with a higher ID always wins

    View this question on its own page →
  7. Q4. What do you understand by race condition? Give few example of arising of race condition in concurrent processing.201914m

    Module 3: Inter-process Communication

    What do you understand by race condition?

    Give few example of arising of race condition in concurrent processing.

    View this question on its own page →
  8. Q4a. What do you understand by critical section problem. Discuss the requirements that a solution to the critical section problem must satisfy.20227m

    Module 3: Inter-process Communication

    What do you understand by critical section problem. Discuss the requirements that a solution to the critical section problem must satisfy.

    View this question on its own page →
  9. Q5. (a) Define semaphore. Give a scheme for implementation of semaphore primitives. (b) What do you mean by critical section problem? What is the solution to the critical section problem?201914m

    Module 3: Inter-process Communication

    (a) Define semaphore. Give a scheme for implementation of semaphore primitives.

    (b) What do you mean by critical section problem? What is the solution to the critical section problem?

    View this question on its own page →
  10. Q6a. What is Semaphore? Explain with algorithm the Dining-Philosophers Solution using Monitors.20247m

    Module 3: Inter-process Communication

    What is Semaphore? Explain with algorithm the Dining-Philosophers Solution using Monitors.

    View this question on its own page →
  11. Q7a. State producer-consumer problem. Give a solution to this problem using semaphore. Justify that your solution guarantees mutual exclusion.20236m

    Module 3: Inter-process Communication

    State producer-consumer problem. Give a solution to this problem using semaphore. Justify that your solution guarantees mutual exclusion.

    View this question on its own page →
  12. Q7a. Explain the Producer-Consumer problem and discuss how semaphores can be used to solve it.20257m

    Module 3: Inter-process Communication

    Explain the Producer-Consumer problem and discuss how semaphores can be used to solve it.

    View this question on its own page →
  13. Q7b. Discuss critical section problem. Illustrate the classic software-based solution to this problem known as Peterson's solution.20238m

    Module 3: Inter-process Communication

    Discuss critical section problem. Illustrate the classic software-based solution to this problem known as Peterson's solution.

    View this question on its own page →
  14. Q8b. Write an algorithm for Readers-Writers Problem solution using Semaphores.20257m

    Module 3: Inter-process Communication

    Write an algorithm for Readers-Writers Problem solution using Semaphores.

    View this question on its own page →
  15. Q9d. Write short notes on: Peterson's solution20227m

    Module 3: Inter-process Communication

    Write short notes on: Peterson's solution

    View this question on its own page →