Social Sciences, asked by Iris5911, 1 year ago

Which set of requirements must be followed by a solution to the critical- section problem?
(1) Mutual exclusion, Progress and Bounded waiting
(2) Mutual exclusion, Delayed Progress and Zero waiting
(3) Mutual exclusion, Delayed Progress and Unbouaded waiting
(4) Mutual exclusion, Livelock and Zero waiting

Answers

Answered by kishan4581
0

logo

« Prev Page Next Page »

Operating System Questions and Answers – The Critical Section (CS) Problem and Solutions

This set of Operating System Multiple Choice Questions & Answers (MCQs) focuses on “The Critical Section (CS) Problem and Solutions”.

1. Concurrent access to shared data may result in :

a) data consistency

b) data insecurity

c) data inconsistency

d) none of the mentioned

View Answer

advertisement

2. A situation where several processes access and manipulate the same data concurrently and the outcome of the execution depends on the particular order in which access takes place is called :

a) data consistency

b) race condition

c) aging

d) starvation

View Answer

3. The segment of code in which the process may change common variables, update tables, write into files is known as :

a) program

b) critical section

c) non – critical section

d) synchronizing

View Answer

4. The following three conditions must be satisfied to solve the critical section problem :

a) Mutual Exclusion

b) Progress

c) Bounded Waiting

d) All of the mentioned

View Answer

advertisement

5. Mutual exclusion implies that :

a) if a process is executing in its critical section, then no other process must be executing in their critical sections

b) if a process is executing in its critical section, then other processes must be executing in their critical sections

c) if a process is executing in its critical section, then all the resources of the system must be blocked until it finishes execution

d) none of the mentioned

View Answer

6. Bounded waiting implies that there exists a bound on the number of times a process is allowed to enter its critical section :

a) after a process has made a request to enter its critical section and before the request is granted

b) when another process is in its critical section

c) before a process has made a request to enter its critical section

d) none of the mentioned

View Answer

7. A minimum of _____ variable(s) is/are required to be shared between processes to solve the critical section problem.

a) one

b) two

c) three

d) four

View Answer

advertisement

8. In the bakery algorithm to solve the critical section problem

Answered by anishjaiswal460
0

Answer:

1

Explanation:

Similar questions