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 2
Show/Hide Answers
OS Process Synchronization
Which of the following conditions must be satisfied to solve the critical section problem?
Mutual Exclusion
Progress
Bounded Waiting
All of the mentioned
Author:
rikazzz
Comment
OS Process Synchronization
Bounded waiting implies that there exists a bound on the number of times a process is allowed to enter its critical section ____________
after a process has made a request to enter its critical section and before the request is granted
when another process is in its critical section
before a process has made a request to enter its critical section
none of the mentioned
Author:
rikazzz
Comment
OS Process Synchronization
The signal operation of the semaphore basically works on the basic _______ system call.
continue()
wakeup()
getup()
start()
Author:
rikazzz
Comment
OS Process Synchronization
A procedure defined within a ________ can access only those variables declared locally within the _______ and its formal parameters.
process, semaphore
process, monitor
semaphore, semaphore
monitor, monitor
Author:
rikazzz
Comment
OS Process Synchronization
The two phase locking protocol consists of ____________
growing & shrinking phase
shrinking & creation phase
creation & growing phase
destruction & creation phase
Author:
rikazzz
Comment
OS Process Synchronization
TestAndSet instruction is executed ____________
after a particular process
periodically
atomically
none of the mentioned
Author:
rikazzz
Comment
OS Process Synchronization
Which is the process of invoking the wait operation?
suspended until another process invokes the signal operation
waiting for another process to complete before it can itself call the signal operation
stopped until the next process in the queue finishes execution
none of the mentioned
Author:
rikazzz
Comment
OS Process Synchronization
If no process is suspended, the signal operation ____________
puts the system into a deadlock state
suspends some default process execution
nothing happens
the output is unpredictable
Author:
rikazzz
Comment
OS Process Synchronization
Write ahead logging is a way ____________
to ensure atomicity
to keep data consistent
that records data on stable storage
all of the mentioned
Author:
rikazzz
Comment
OS Process Synchronization
The wait operation of the semaphore basically works on the basic _______ system call.
stop()
block()
hold()
wait()
Author:
rikazzz
Comment
Page navigation
Previous Page
Previous
1
2
3
4
…
6
Next Page
Next
Go to Page
Light
Dark
GK
Pakistan Studies
Current Affairs
Islamic Studies
English