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

From 46 to 60 of 659

Q. When high priority task is indirectly preempted by medium priority task effectively inverting the relative priority of the two tasks, the scenario is called

a. priority inversion

b. priority removal

c. priority exchange

d. priority modification

  • a. priority inversion

Q. Process synchronization can be done on

a. hardware level

b. software level

c. both hardware and software level

d. none of the mentioned

  • c. both hardware and software level

Q. A monitor is a module that encapsulates

a. shared data structures

b. procedures that operate on shared data structure

c. synchronization between concurrent procedure invocation

d. all of the mentioned

  • d. all of the mentioned

Q. To enable a process to wait within the monitor                      

a. a condition variable must be declared as condition

b. condition variables must be used as boolean objects

c. semaphore must be used

d. all of the mentioned

  • a. a condition variable must be declared as condition

Q. Restricting the child process to a subset of the parent’s resources prevents any process from                      

a. overloading the system by using a lot of secondary storage

b. under-loading the system by very less cpu utilization

c. overloading the system by creating a lot of sub-processes

d. crashing the system by utilizing multiple resources

  • c. overloading the system by creating a lot of sub-processes

Q. Cascading termination refers to termination of all child processes before the parent terminates              

a. normally

b. abnormally

c. normally or abnormally

d. none of the mentioned

  • a. normally

Q. In UNIX, each process is identified by its

a. process control block

b. device queue

c. process identifier

d. none of the mentioned

  • c. process identifier

Q. The child process can                      

a. be a duplicate of the parent process

b. never be a duplicate of the parent process

c. cannot have another program loaded into it

d. never have another program loaded into it

  • a. be a duplicate of the parent process

Q. What is Inter process communication?

a. allows processes to communicate and synchronize their actions when using the same address space

b. allows processes to communicate and synchronize their actions without using the same address space

c. allows the processes to only synchronize their actions without communication

d. none of the mentioned

  • b. allows processes to communicate and synchronize their actions without using the same address space

Q. Message passing system allows processes to                      

a. communicate with one another without resorting to shared data

b. communicate with one another by resorting to shared data

c. share data

d. name the recipient or sender of the message

  • a. communicate with one another without resorting to shared data

Q. Which of the following two operations are provided by the IPC facility?

a. write & delete message

b. delete & receive message

c. send & delete message

d. receive & send message

  • d. receive & send message

Q. Messages sent by a process                      

a. have to be of a fixed size

b. have to be a variable size

c. can be fixed or variable sized

d. none of the mentioned

  • c. can be fixed or variable sized

Q. The link between two processes P and Q to send and receive messages is called

a. communication link

b. message-passing link

c. synchronization link

d. all of the mentioned

  • a. communication link
Subscribe Now

Get All Updates & News