Question
P1 P2
while (S1 = = S2); while (S1 = = S2);
critical section critical section
S1 = S2; S1 = S2;
Which one of the following statements describes the properties achieved ?
a.
Mutual exclusion but not progress
b.
Progress but not mutual exclusion
c.
Neither mutual exclusion nor progress
d.
Both mutual exclusion and progress
Posted under UGC NET computer science question paper Operating System
Engage with the Community - Add Your Comment
Confused About the Answer? Ask for Details Here.
Know the Explanation? Add it Here.
Q. Consider the methods used by processes P1 and P2 for accessing their critical sections. The initial values of shared Boolean variables S1 and S2 are randomly assigned, P1...
Similar Questions
Discover Related MCQs
Q. On a disk with 1000 cylinders (0 to 999) find the number of tracks, the disk arm must move to satisfy all the requests in the disk queue. Assume the last request service was at track 345 and the head is moving toward track 0. The queue in FIFO order contains requests for the following tracks :
123, 874, 692, 475, 105, 376
(Assume SCAN algorithm)
View solution
Q. Dijkestra banking algorithm in an operating system, solves the problem of
View solution
Q. The multiuser operating system, 20 requests are made to use a particular resource per hour, on an average the probability that no request are made in 45 minutes is
View solution
Q. The maximum amount of information that is available in one portion of the disk access arm for a removal disk pack (without further movement of the arm with multiple heads)
View solution
Q. A file organization component VSAM file is
View solution
Q. A relationship between processes such that each has some part (critical section) which must not be executed while the critical section of another is being executed, is known as
View solution
Q. How many states can a process be in ?
View solution
Q. Virtual memory is
View solution
Q. Optical storage is a
View solution
Q. WINDOWS is a …………… operating.
View solution
Q. Page making process from main memory to disk is called
View solution
Q. A Dead-lock in an Operating System is
View solution
Q. Match the following:
Set-I
(a) Disk scheduling
(b) Batch processing
(c) Time sharing
(d) Interrupt processing
Set-II
1. Round-robin
2. SCAN
3. LIFO
4. FIFO
Codes :
(a) (b) (c) (d)
View solution
Q. ………….. synchronizes critical resources to prevent dead lock.
View solution
Q. …………….. is one of pre-emptive scheduling algorithm.
View solution
Q. In order to allow only one process to enter its critical section, binary semaphore are initialized to
View solution
Q. Remote Computing Service involves the use of time sharing and …………..
View solution
Q. Applications-software
View solution
Q. At any given time Parallel Virtual Machine (PVM) has ……………. send buffer and …………… receive buffer.
View solution
Q. In the process management Round-robin method is essentially the pre-emptive version of …………
View solution
Suggested Topics
Are you eager to expand your knowledge beyond Operating System? We've curated a selection of related categories that you might find intriguing.
Click on the categories below to discover a wealth of MCQs and enrich your understanding of Computer Science. Happy exploring!