Total Pageviews

Thursday, October 28, 2010

OPERATING SYSTEM ASSIGNMENT 3

UNIT 2
Q1. What is the meaning of the term busy waiting? What other kinds of waiting are there in an operating system? Can busy waiting be avoided altogether?
Q2. Show that, if the wait() and signal() semaphore operations are not executed atomically, then mutual exclusion may be violated.
Q3. What is semaphore ?Explain with an example.
Q4. What is critical section problem?What are the three requirements of solution to this problem?
Q5.What is principle of concurrency and mutual exclusion?How are they related?
Q6.What classical problem of synchronization?Explain Dining Philosopher problem with solution.
Q7.Explain Peterson solution.Proof that this solution satisfies all three requirements of solution to critical section problem?

1 comment: