Top 550+ Solved Operating System (OS) MCQ Questions Answer

From 91 to 105 of 659

Q. In the bounded buffer problem, there are the empty and full semaphores that

a. count the number of empty and full buffers

b. count the number of empty and full memory spaces

c. count the number of empty and full queues

d. none of the mentioned

  • a. count the number of empty and full buffers

Q. The dining – philosophers problem will occur in case of                          

a. 5 philosophers and 5 chopsticks

b. 4 philosophers and 5 chopsticks

c. 3 philosophers and 5 chopsticks

d. 6 philosophers and 5 chopsticks

  • a. 5 philosophers and 5 chopsticks

Q. A deadlock free solution to the dining philosophers problem                          

a. necessarily eliminates the possibility of starvation

b. does not necessarily eliminate the possibility of starvation

c. eliminates any possibility of any kind of problem further

d. none of the mentioned

  • b. does not necessarily eliminate the possibility of starvation

Q. A monitor is a type of                          

a. semaphore

b. low level synchronization construct

c. high level synchronization construct

d. none of the mentioned

  • c. high level synchronization construct

Q. A monitor is characterized by

a. a set of programmer defined operators

b. an identifier

c. the number of variables in it

d. all of the mentioned

  • a. a set of programmer defined operators

Q. If no process is suspended, the signal operation                          

a. puts the system into a deadlock state

b. suspends some default process execution

c. nothing happens

d. the output is unpredictable

  • c. nothing happens

Q. A collection of instructions that performs a single logical function is called

a. only one process can be active at a time within the monitor

b. n number of processes can be active at a time within the monitor (n being greater than 1)

c. the queue has only one process in it at a time

d. all of the mentioned

  • a. only one process can be active at a time within the monitor

Q. What are the operations that can be invoked on a condition variable?

a. wait & signal

b. hold & wait

c. signal & hold

d. continue & signal

  • a. wait & signal

Q. Which is the process of invoking the wait

a. transaction

b. operation

c. function

d. all of the mentioned

  • a. transaction

Q. Write ahead logging is a way

a. to ensure atomicity

b. to keep data consistent

c. that records data on stable storage

d. all of the mentioned

  • d. all of the mentioned

Q. The system periodically performs checkpoints that consists of the following operation(s)                          

a. putting all the log records currently in main memory onto stable storage

b. putting all modified data residing in main memory onto stable storage

c. putting a log record onto stable storage

d. all of the mentioned

  • d. all of the mentioned

Q. A locking protocol is one that

a. governs how locks are acquired

b. governs how locks are released

c. governs how locks are acquired and released

d. none of the mentioned

  • c. governs how locks are acquired and released

Q. The two phase locking protocol consists of                          

a. growing & shrinking phase

b. shrinking & creation phase

c. creation & growing phase

d. destruction & creation phase

  • a. growing & shrinking phase
Subscribe Now

Get All Updates & News