OPERATING SYSTEM
105403Module 3: Inter-process Communication
Q1d. What operations can be performed on a semaphore?20222m
Module 3: Inter-process Communication
View this question on its own page →What operations can be performed on a semaphore?
Q3b. How is a process different from a program? With an example explain why Process synchronization is necessary in multiprocessing operating system?20245m
Module 3: Inter-process Communication
View this question on its own page →How is a process different from a program? With an example explain why Process synchronization is necessary in multiprocessing operating system?
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
View this question on its own page →What do you understand by race condition? Give few example of arising of race condition in concurrent processing.
Q5a. Define semaphore. Give a scheme for implementation of semaphore primitives.20197m
Module 3: Inter-process Communication
View this question on its own page →Define semaphore. Give a scheme for implementation of semaphore primitives.
Q5b. What do you mean by critical section problem? What is the solution to the critical section problem?20197m
Module 3: Inter-process Communication
View this question on its own page →What do you mean by critical section problem? What is the solution to the critical section problem?
Q6a. What is Reader-Writer problem? Explain how Semaphore is used to resolve the problem of process synchronization.20247m
Module 3: Inter-process Communication
View this question on its own page →What is Reader-Writer problem? Explain how Semaphore is used to resolve the problem of process synchronization.
Q7. A bridge on a busy highway is damaged by a flood. One-way traffic is to be instituted on the bridge by permitting vehicles traveling in opposite directions to use the bridge alternately. The following rules are formulated for use of the bridge: (a) At any time, the bridge is used by vehicle(s) traveling in one direction only. (b) If vehicles are waiting to cross the bridge at both ends, only one vehicle from one end is allowed to cross the bridge before a vehicle from the other end starts crossing the bridge. (c) If no vehicles are waiting at one end, then any numbers of vehicles from the other end are permitted to cross the bridge. Develop a concurrent system to implement these rules.202214m
Module 3: Inter-process Communication
View this question on its own page →A bridge on a busy highway is damaged by a flood. One-way traffic is to be instituted on the bridge by permitting vehicles traveling in opposite directions to use the bridge alternately. The following rules are formulated for use of the bridge:
(a) At any time, the bridge is used by vehicle(s) traveling in one direction only.
(b) If vehicles are waiting to cross the bridge at both ends, only one vehicle from one end is allowed to cross the bridge before a vehicle from the other end starts crossing the bridge.
(c) If no vehicles are waiting at one end, then any numbers of vehicles from the other end are permitted to cross the bridge.
Develop a concurrent system to implement these rules.Q7a. What do you mean by critical section problem. Discuss a solution for critical section problem.20237m
Module 3: Inter-process Communication
View this question on its own page →What do you mean by critical section problem. Discuss a solution for critical section problem.