Which of the following statements are TRUE about mutual exclusion in concurrent programming?
(A) Mutual exclusion ensures that only one process can be in a critical section at any given time.
(B) Mutual exclusion is designed to prevent conflicts and ensure that only one process can access shared resources at a time.
(C) Mutual exclusion can use various algorithms to ensure that processes do not enter the critical section simultaneously.
(D) Mutual exclusion allows multiple processes to access the critical section simultaneously to improve performance.
Choose the correct answer from the options given below:
Pick an option to check yourself, or open the answer below.
Show answer & explanation
Correct answer: A. (A), (B), (C) Only
Explanation
A, B and C describe mutual exclusion (implemented with algorithms like Peterson's, semaphores or locks). D contradicts its definition.More System Software and Operating System questions
- Which of the following statements are TRUE about privileged instructions? (A) They can only be executed by the operating system kernel and…
- Match List I (Algorithms) with List II (Characteristics)List I List II (A) First Come First Served (FCFS) (I) Each process is assigned a pr…
- Match List I (operating system concepts) with List II (characteristics)List I List II (A) Paging (I) Evicts least recently used page (B) LR…
- Which of the following statements are TRUE about the Process Control Block (PCB)? (A) The PCB contains information about the process state,…
- Which of the following is NOT a requirement for the Banker's algorithm to grant a resource request?
- Which data structures does the Banker's Algorithm use to maintain the state of available, maximum and allocated resources?