
Quiz on Operating System -UNIT-II
Authored by BASKAR M
Computers
University

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
25 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the primary purpose of the critical section in concurrent programming?
Improve CPU utilization
Protect shared resources from concurrent access
Speed up execution time
Increase parallelism
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is NOT a requirement for solving the critical section problem?
Mutual Exclusion
Progress
Deadlock
Bounded Waiting
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is mutual exclusion?
Allowing multiple threads to access the same resource
Preventing concurrent access to shared resources
A type of scheduling algorithm
A form of recursion
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In Peterson's Algorithm, which data structure ensures turn-based access to critical section?
Stack
Queue
Array
Turn variable
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Peterson’s algorithm works for how many processes?
Any number
2 only
3 only
4 only
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which one is a software solution to mutual exclusion?
Peterson’s Algorithm
Mutex lock
Semaphore
Monitor
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In Lamport's Bakery Algorithm, each process gets a:
Random number
Unique token
Ticket number
Priority queue
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?