Operating Systems Concepts

Q1: A critical region is

A a program segment that has not been proved bug-free

B a program segment that often causes unexpected system crashes

C a program segment where shared resources are accessed

D one which is enclosed by a pair of P and V operations on semaphores

E none is the above

ANS:D - one which is enclosed by a pair of P and V operations on semaphores

C should be the Answer. Critical section is nothing but a "region" where there is data which is shared by many process. To deal with this and achieve synchronization and mutual exclusion semaphoroes are used.



img not found
img

For help Students Orientation
Mcqs Questions

One stop destination for examination, preparation, recruitment, and more. Specially designed online test to solve all your preparation worries. Go wherever you want to and practice whenever you want, using the online test platform.