Search Header Logo

UNIT 1-Deadlock prevention

Authored by PRIYANGA S

Computers

University

Used 1+ times

UNIT 1-Deadlock prevention
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

7 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

1.For Mutual exclusion to prevail in the system ____________

a) at least one resource must be held in a non sharable mode

b) the processor must be a uniprocessor rather than a multiprocessor

c) there must be at least one resource in a sharable mode

d) all of the mentioned

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

2.For non sharable resources like a printer, mutual exclusion ____________

a) must exist

b) must not exist

c) may exist

d) none of the mentioned

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

3.Deadlock prevention is a set of methods ____________

a) to ensure that at least one of the necessary conditions cannot hold

b) to ensure that all of the necessary conditions do not hold

c) to decide if the requested resources for a process have to be given or not

d) to recover from a deadlock

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

4.The request and release of resources are ___________

a) command line statements

b) interrupts

c) system calls

d) special programs

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

5.What are Multithreaded programs?

a) lesser prone to deadlocks

b) more prone to deadlocks

c) not at all prone to deadlocks

d) none of the mentioned

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

6.The disadvantage of a process being allocated all its resources before beginning its execution is ____________

a) Low CPU utilization

b) Low resource utilization

c) Very high resource utilization

d) None of the mentioned

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

7.For a deadlock to arise, which of the following conditions must hold simultaneously?

a) Mutual exclusion

b) No preemption

c) Hold and wait

d) All of the mentioned

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?