Font size
WorksheetsOperating system revision quiz1(semaphores)
Total questions: 10
Worksheet time: 6mins
Which of the following is not an operating system?
Linux
Unix
windows
microsoft office
Concurrent access to shared data may result in _
data consistency
data insecurity
data inconsistency
None
A situation where several processes access and manipulate the same data concurrently and the outcome of the execution depends on the particular order in which access takes place is called ____________
data consistency
race condition
aging
starvation
Semaphore is a/an _______ to solve the critical section problem.
hardware for a system
special program for a system
integer variable
none of the mentioned
What is atomic operations permissible on semaphores?
wait
stop
hold
none
What are the two kinds of semaphores?
mutex & counting
binary & counting
counting & decimal
decimal & binary
What is a mutex?
is a binary mutex
must be accessed from only one process
can be accessed from multiple processes
none of the mentioned
A binary semaphore is a semaphore with integer values
(a)
The bounded buffer problem is also known as ____________
Readers – Writers problem
Dining – Philosophers problem
Producer – Consumer problem
none
To ensure difficulties do not arise in the readers – writers problem _______ are given exclusive access to the shared object.
readers
writers
readers and writers
None
