Synchronization

Synchronization

University

5 Qs

quiz-placeholder

Similar activities

Use Case Model

Use Case Model

University

10 Qs

Q8 - BPM

Q8 - BPM

University

10 Qs

CD QUIZ S5 21-3-2022

CD QUIZ S5 21-3-2022

University

10 Qs

CSNP-04103 Chapter 5 - Loops

CSNP-04103 Chapter 5 - Loops

University

10 Qs

PSP Week3

PSP Week3

University

10 Qs

DSA quiz 3 set 1

DSA quiz 3 set 1

University

10 Qs

Arsitektur Komputer Pertemuan 2

Arsitektur Komputer Pertemuan 2

University

10 Qs

GPU Programming

GPU Programming

University

10 Qs

Synchronization

Synchronization

Assessment

Quiz

Computers

University

Practice Problem

Hard

Created by

Parveen Dhaliwal

Used 3+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

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

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?

Discover more resources for Computers