Search Header Logo

Synchronization

Authored by Parveen Dhaliwal

Computers

University

Used 3+ times

Synchronization
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

5 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

How many semaphores are used to provide solution of producer-consumer problem

2 binary semaphore and 1 counting semaphore

1 binary semaphore and 2 counting semaphore

2 binary semaphore and 2 counting semaphore

3 counting semaphores

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which of the following statement is true for hardware synchronization

interrupt is disabled when critical section is in execution

interrupt is enabled when critical section is in execution

interrupt is enabled when critical section execution is completed

Multiprocessor system not provide this synchronization mechanism

3.

MULTIPLE SELECT QUESTION

1 min • 1 pt

  1. Consider a semaphore S, initialized with value 27. Which of the following options gives the final value of S=12?

Execution of 12 P() and 15 V()

Execution of 15 P()

Execution of 23 P() and 8 V()

Execution of 21 P() and 6 V()

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

A monitor is a module and monitor which of the following can encapsulates

procedures that operate on shared data structure

synchronization between concurrent procedure invocation

all of the mentioned

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

When high priority task is indirectly preempted by medium priority task effectively inverting the relative priority of the two tasks, the scenario is called

  priority inversion

  

priority removal

 

priority exchange

  

priority modification

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

Microsoft

Continue with Microsoft

or continue with

Facebook

Facebook

Apple

Apple

Others

Others

Already have an account?