What is the classical problem used to test newly-proposed synchronization schemes?

Operating System Concepts Quiz

Quiz
•
Other
•
University
•
Hard
Juliet Rozario
FREE Resource
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Dining-Philosophers Problem
Readers and Writers Problem
Cache Coherence Problem
Bounded-Buffer Problem
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In the Bounded-Buffer Problem, what is the initial value of the semaphore 'full'?
1
0
n
Unspecified
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What do readers do in the Readers-Writers Problem?
Block other processes
Perform updates on the data set
Both read and write the data set
Only read the data set
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In the Dining-Philosophers Problem, how many philosophers sit at the round table?
4
5
6
3
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the structure of the producer process in the Bounded-Buffer Problem?
wait(mutex); wait(full); signal(empty); signal(mutex);
wait(empty); wait(mutex); signal(mutex); signal(full);
wait(full); wait(mutex); signal(mutex); signal(empty);
wait(mutex); wait(empty); signal(full); signal(mutex);
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the problem with the Dining-Philosophers Problem algorithm?
Infinite Loop
Deadlock
Race Condition
Starvation
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the shared data in the Readers-Writers Problem?
Semaphore chopstick [5] initialized to 1
Semaphore rw_mutex initialized to 1
Integer read_count initialized to 0
Data set
Create a free account and access millions of resources
Similar Resources on Quizizz
12 questions
Indikator

Quiz
•
University
10 questions
DEADLOCK

Quiz
•
University
20 questions
OPTICAL FIBERS AND THEIR PROPERTIES

Quiz
•
University
15 questions
CL.3 BK.3-3-Weather and Daily Life

Quiz
•
3rd Grade - University
15 questions
Operating System Concepts - Chapter 6 Quiz

Quiz
•
University
13 questions
Name That Logo - Social Media Logo

Quiz
•
4th Grade - Professio...
10 questions
Driving Theory Test: Attitude

Quiz
•
KG - Professional Dev...
20 questions
DSL-206 Chap 20: Quiz

Quiz
•
University
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade