Question: 5 : 0 5 ) Select the correct statements regarding mutex lock to prevent race condition. 1 . a process must acquire the lock before

5:05) Select the correct statements regarding mutex lock to prevent race condition.
1. a process must acquire the lock before entering a critical section
II. a prOcess need not acquire the lock before entering a critical section
III. it releases the lock when it exits the critical section
IV. a process must acquire the lock when it exits the critical section
C) IlIl and IV
A) l and IlI
B) Il and IV
5.6) A deadlock situation in process synchronization arises when:
A) TWo processes compete for the same resource.
B) TWo or more processes wait indefinitely for resources held by each other.
C) A process is preempted by the operating system.
D) A memory access violation Occurs.
5.17) In non-preemptive approach, the kernel is
A) Free from race condition
C) Could allow process execution in parallelism fashion
D) I and IV
B) Could have race condition
D) None of the above

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!