Mock Quiz Hub

Mock Quiz Hub

Recent Updates
Added: OS Mid 1 Quiz
Added: OS Mid 2 Quiz
Added: OS Lab 1 Quiz
Time: 00:00

Quiz

Navigate through questions using the controls below

0%
Question 1 of 25 Quiz ID: q1
What is the Mutual Exclusion Problem?
Question 2 of 25 Quiz ID: q2
What are the two protocols added to solve mutual exclusion?
Question 3 of 25 Quiz ID: q3
Which property requires that if a process is trying to enter its critical section, it will eventually succeed?
Question 4 of 25 Quiz ID: q4
What is starvation in the context of mutual exclusion?
Question 5 of 25 Quiz ID: q5
In the First Attempt solution, what is the purpose of the variable 'turn'?
Question 6 of 25 Quiz ID: q6
Why does the First Attempt solution suffer from starvation in the absence of contention?
Question 7 of 25 Quiz ID: q7
In the Second Attempt, what does ci == 0 signify?
Question 8 of 25 Quiz ID: q8
Why does the Second Attempt fail to ensure mutual exclusion?
Question 9 of 25 Quiz ID: q9
In the Third Attempt, where is the assignment ci = 0 placed?
Question 10 of 25 Quiz ID: q10
What problem does the Third Attempt introduce?
Question 11 of 25 Quiz ID: q11
What is Dekker's Algorithm designed to avoid?
Question 12 of 25 Quiz ID: q12
In Dekker's Algorithm, what does the variable 'turn' resolve?
Question 13 of 25 Quiz ID: q13
What is the key idea behind Dekker's Algorithm?
Question 14 of 25 Quiz ID: q14
Which atomic instructions are assumed in these solutions?
Question 15 of 25 Quiz ID: q15
What is a critical section?
Question 16 of 25 Quiz ID: q16
What is the requirement for a process halting in its non-critical section?
Question 17 of 25 Quiz ID: q17
What does deadlock mean in mutual exclusion?
Question 18 of 25 Quiz ID: q18
What is the minimal overhead requirement in the absence of contention?
Question 19 of 25 Quiz ID: q19
In the First Attempt, how is mutual exclusion proven?
Question 20 of 25 Quiz ID: q20
Why is the First Attempt's proof of no starvation flawed?
Question 21 of 25 Quiz ID: q21
In the Second Attempt, what interleaving leads to a violation of mutual exclusion?
Question 22 of 25 Quiz ID: q22
In the Third Attempt, what interleaving causes deadlock?
Question 23 of 25 Quiz ID: q23
What additional variable does Dekker's Algorithm introduce compared to the First Three Attempts?
Question 24 of 25 Quiz ID: q24
How does Dekker's Algorithm prevent deadlock?
Question 25 of 25 Quiz ID: q25
What is the overall goal of a mutual exclusion solution?

Quiz Summary

Review your answers before submitting

25
Total Questions
0
Answered
25
Remaining
00:00
Time Spent