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
Show/Hide Answers
OS Process Synchronization
times will P0 print ‘0’?
At least twice
Exactly twice
Exactly thrice
Exactly once
Author:
rikazzz
Comment
OS Process Synchronization
The growing phase is a phase in which?
A transaction may obtain locks, but does not release any
A transaction may obtain locks, and releases a few or all of them
A transaction may release locks, but does not obtain any new locks
A transaction may release locks, and does obtain new locks
Author:
rikazzz
Comment
OS Process Synchronization
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 of the mentioned
Author:
rikazzz
Comment
OS Process Synchronization
The undo and redo operations must be _________ to guarantee correct behaviour, even if a failure occurs during recovery process.
idempotent
easy
protected
all of the mentioned
Idempotent – Multiple executions of an operation have the same result as does one execution.
Author:
rikazzz
Comment
OS Process Synchronization
What will happen if a non-recursive mutex is locked more than once?
Starvation
Deadlock
Aging
Signaling
If a thread which had already locked a mutex, tries to lock the mutex again, it will enter into the waiting list of that mutex, which results in a deadlock. It is because no other thread can unlock the mutex.
Author:
rikazzz
Comment
OS Process Synchronization
An un-interruptible unit is known as ____________
single
atomic
static
none of the mentioned
Author:
rikazzz
Comment
OS Process Synchronization
What are the operations that can be invoked on a condition variable?
wait & signal
hold & wait
signal & hold
continue & signal
Author:
rikazzz
Comment
OS Process Synchronization
The dining – philosophers problem will occur in case of ____________
5 philosophers and 5 chopsticks
4 philosophers and 5 chopsticks
3 philosophers and 5 chopsticks
6 philosophers and 5 chopsticks
Author:
rikazzz
Comment
OS Process Synchronization
Spinlocks are intended to provide __________ only.
Mutual Exclusion
Bounded Waiting
Aging
Progress
Author:
rikazzz
Comment
OS Process Synchronization
The state of the data accessed by an aborted transaction must be restored to what it was just before the transaction started executing. This restoration is known as ________ of transaction.
safety
protection
roll – back
revert – back
Author:
rikazzz
Comment
Page navigation
1
2
3
…
6
Next Page
Next
Go to Page
Light
Dark
GK
Pakistan Studies
Current Affairs
Islamic Studies
English