Top 550+ Solved Operating System (OS) MCQ Questions Answer
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
Q. Process synchronization can be done on
a. hardware level
b. software level
c. both hardware and software level
d. none of the mentioned
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
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
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
Q. A parent process calling system call will be suspended until children processes terminate.
a. wait
b. fork
c. exit
d. exec
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
Q. In UNIX, each process is identified by its
a. process control block
b. device queue
c. process identifier
d. none of the mentioned
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
Q. The child process completes execution, but the parent keeps executing, then the child process is known as
a. orphan
b. zombie
c. body
d. dead
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
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
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
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
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