Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Modern Database Management

Authors: Jeff Hoffer, Ramesh Venkataraman, Heikki Topi

13th Edition Global Edition

1292263350, 978-1292263359

More Books

Students also viewed these Databases questions

Question

What is readily determinable fair value as per FAS 115?

Answered: 1 week ago