EXP-9(VIVA_VOCE)

EXP-9(VIVA_VOCE)

University

17 Qs

quiz-placeholder

Similar activities

Technology For Learning 1 Examination

Technology For Learning 1 Examination

University

20 Qs

Smart Home Devices Quiz

Smart Home Devices Quiz

8th Grade - University

20 Qs

Cloud Computing Quiz

Cloud Computing Quiz

12th Grade - University

15 Qs

Building Information Modelling (BIM) Quiz

Building Information Modelling (BIM) Quiz

University

20 Qs

OSS (QUIZ 7) Input/Output Systems

OSS (QUIZ 7) Input/Output Systems

University

20 Qs

DSA (QUIZ 2) Stacks and Queues Quiz

DSA (QUIZ 2) Stacks and Queues Quiz

University

15 Qs

Domain 4 - Network Security

Domain 4 - Network Security

10th Grade - University

16 Qs

Electronic Diary Systems Assessment

Electronic Diary Systems Assessment

10th Grade - University

15 Qs

EXP-9(VIVA_VOCE)

EXP-9(VIVA_VOCE)

Assessment

Quiz

Information Technology (IT)

University

Hard

Created by

Narasimhulu M

FREE Resource

17 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A deadlock avoidance algorithm dynamically examines the __________ to ensure that a circular wait condition can never exist.

a) resource allocation state

b) system storage state

c) operating system

d) resources

Answer explanation

A deadlock avoidance algorithm examines the resource allocation state to prevent circular wait conditions. By monitoring this state, it can ensure that resources are allocated in a way that avoids deadlocks.

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A state is safe, if ____________

a) the system does not crash due to deadlock occurrence

b) the system can allocate resources to each process in some order and still avoid a deadlock

c) the state keeps the system protected and safe

d) all of the mentioned

Answer explanation

A state is safe if the system can allocate resources to each process in some order and still avoid a deadlock. This ensures that all processes can complete without getting stuck, making option b the correct choice.

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A state is safe, if ____________

a) the system does not crash due to deadlock occurrence

b) the system can allocate resources to each process in some order and still avoid a deadlock

c) the state keeps the system protected and safe

d) all of the mentioned

Answer explanation

A state is safe if the system can allocate resources to each process in some order and still avoid a deadlock. This ensures that all processes can complete without getting stuck, making option b the correct choice.

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is a necessary condition for a deadlock to occur?

a) mutual exclusion

b) hold and wait

c) no preemption

d) all of the mentioned

Answer explanation

A deadlock requires all four conditions: mutual exclusion, hold and wait, no preemption, and circular wait. Therefore, the correct answer is d) all of the mentioned, as all are necessary for a deadlock to occur.

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In a deadlock situation, which of the following resources cannot be released?

a) resources held by a process

b) resources in the system

c) resources that are not allocated

d) none of the mentioned

Answer explanation

In a deadlock, resources held by a process cannot be released because the process is waiting for other resources to become available. Thus, option a) is correct, as these resources are tied to the process's execution.

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the primary goal of deadlock detection algorithms?

a) to prevent deadlocks from occurring

b) to identify deadlocks when they occur

c) to recover from deadlocks

d) to allocate resources efficiently

Answer explanation

The primary goal of deadlock detection algorithms is to identify deadlocks when they occur (choice b). Unlike prevention or recovery methods, detection focuses on recognizing existing deadlocks to take appropriate action.

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following strategies can be used to prevent deadlocks?

a) resource allocation graph

b) wait-die scheme

c) wound-wait scheme

d) all of the mentioned

Answer explanation

All the strategies listed—resource allocation graph, wait-die scheme, and wound-wait scheme—are effective methods to prevent deadlocks in operating systems, making 'd) all of the mentioned' the correct choice.

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?