Synchronization

Synchronization

University

5 Qs

quiz-placeholder

Similar activities

C-21 IV Sem OS Quiz-1 Jan2024

C-21 IV Sem OS Quiz-1 Jan2024

University

10 Qs

operating system

operating system

University

6 Qs

CPU Scheduling Introduction Quiz

CPU Scheduling Introduction Quiz

University

10 Qs

Thread Priorities

Thread Priorities

University

10 Qs

Mid Model Viva

Mid Model Viva

University

10 Qs

Ppl

Ppl

University

8 Qs

Operating Systems

Operating Systems

University

10 Qs

PPL

PPL

University

8 Qs

Synchronization

Synchronization

Assessment

Quiz

Computers

University

Hard

Created by

Parveen Dhaliwal

Used 3+ times

FREE Resource

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

Discover more resources for Computers