Skip to content
MCQtimes.com
GK
Pakistan Studies
Current Affairs
Islamic Studies
English
MCQtimes.com
Toggle Menu
OS Process Synchronization
Home
/
Computer Science
/
Operating System
/
OS Process Synchronization
- Page 6
Show/Hide Answers
OS Process Synchronization
What are the two atomic operations permissible on semaphores?
wait
stop
hold
none of the mentioned
Author:
rikazzz
Comment
OS Process Synchronization
A locking protocol is one that ____________
governs how locks are acquired
governs how locks are released
governs how locks are acquired and released
none of the mentioned
Author:
rikazzz
Comment
OS Process Synchronization
The monitor construct ensures that ____________
only one process can be active at a time within the monitor
n number of processes can be active at a time within the monitor (n being greater than 1)
the queue has only one process in it at a time
all of the mentioned
Author:
rikazzz
Comment
OS Process Synchronization
If the semaphore value is negative ____________
its magnitude is the number of processes waiting on that semaphore
it is invalid
no operation can be further performed on it until the signal operation is performed on it
none of the mentioned
Author:
rikazzz
Comment
OS Process Synchronization
The bounded buffer problem is also known as ____________
Readers – Writers problem
Dining – Philosophers problem
Producer – Consumer problem
None of the mentioned
Author:
rikazzz
Comment
OS Process Synchronization
In the bounded buffer problem, there are the empty and full semaphores that ____________
count the number of empty and full buffers
count the number of empty and full memory spaces
count the number of empty and full queues
none of the mentioned
Author:
rikazzz
Comment
OS Process Synchronization
A minimum of _____ variable(s) is/are required to be shared between processes to solve the critical section problem.
one
two
three
four
Author:
rikazzz
Comment
OS Process Synchronization
In the bounded buffer problem ____________
there is only one buffer
there are n buffers ( n being greater than one but finite)
there are infinite buffers
the buffer size is bounded
Author:
rikazzz
Comment
Page navigation
Previous Page
Previous
1
…
4
5
6
Go to Page
Light
Dark
GK
Pakistan Studies
Current Affairs
Islamic Studies
English