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 3
Show/Hide Answers
OS Process Synchronization
Semaphores are mostly used to implement ____________
System calls
IPC mechanisms
System protection
None of the mentioned
Author:
rikazzz
Comment
OS Process Synchronization
Serializable schedules are ones where ____________
concurrent execution of transactions is equivalent to the transactions executed serially
the transactions can be carried out one after the other
a valid result occurs after execution transactions
none of the mentioned
Author:
rikazzz
Comment
OS Process Synchronization
In the bakery algorithm to solve the critical section problem ____________
each process is put into a queue and picked up in an ordered manner
each process receives a number (may or may not be unique) and the one with the lowest number is served next
each process gets a unique number and the one with the highest number is served next
each process gets a unique number and the one with the lowest number is served next
Author:
rikazzz
Comment
OS Process Synchronization
situation :
a deadlock will occur
processes will starve to enter critical section
several processes maybe executing in their critical section
all of the mentioned
Author:
rikazzz
Comment
OS Process Synchronization
A collection of instructions that performs a single logical function is called ____________
transaction
operation
function
all of the mentioned
Author:
rikazzz
Comment
OS Process Synchronization
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
Author:
rikazzz
Comment
OS Process Synchronization
Concurrent access to shared data may result in ____________
data consistency
data insecurity
data inconsistency
none of the mentioned
Author:
rikazzz
Comment
OS Process Synchronization
The shrinking 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
At a particular time of computation the value of a counting semaphore is 7.Then 20 P operations and 15 V operations were completed on this semaphore. The resulting value of the semaphore is? (GATE 1987)
42
2
7
12
P represents Wait and V represents Signal. P operation will decrease the value by 1 every time and V operation will increase the value by 1 every time.
Author:
rikazzz
Comment
OS Process Synchronization
What are Spinlocks?
CPU cycles wasting locks over critical sections of programs
Locks that avoid time wastage in context switches
Locks that work better on multiprocessor systems
All of the mentioned
Author:
rikazzz
Comment
Page navigation
Previous Page
Previous
1
2
3
4
5
6
Next Page
Next
Go to Page
Light
Dark
GK
Pakistan Studies
Current Affairs
Islamic Studies
English