Operating System MCQs – Process Creation & Synchronization

September 5, 2017
Mubashir

This page contains the 18 most important Multiple Choice Questions and Answers about Process Creation & Synchronization from subject of operating system and domain of computer science.

1) 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

2) A parent process calling _____ system call will be suspended until children processes terminate.
a) wait
b) fork
c) exit
d) exec

3) Cascading termination refers to termination of all child processes before the parent terminates ______.
a) Normally
b) Abnormally
c) Normally or abnormally
d) None of these

4) With ……………. only one process can execute at a time; meanwhile all other process are waiting for the processor. With ………….. more than one process can be running simultaneously each on a different processor.
a) Multiprocessing, Multiprogramming
b) Multiprogramming, Uniprocessing
c) Multiprogramming, Multiprocessing
d) Uniprogramming, Multiprocessing

5) In UNIX, each process is identified by its :
a) Process Control Block
b) Device Queue
c) Process Identifier
d) None of these

6) In UNIX, the return value for the fork system call is _____ for the child process and _____ for the parent process.
a) A Negative integer, Zero
b) Zero, A Negative integer
c) Zero, A nonzero integer
d) A nonzero integer, Zero

7) The child process can : (choose two)
a) be a duplicate of the parent process
b) never be a duplicate of the parent process
c) have another program loaded into it
d) never have another program loaded into it

8) 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

9. Which process can be affected by other processes executing in the system?
a) cooperating process
b) child process
c) parent process
d) init process

10. When several processes access the same data concurrently and the outcome of the execution depends on the particular order in which the access takes place, is called
a) dynamic condition
b) race condition
c) essential condition
d) critical condition

11. If a process is executing in its critical section, then no other processes can be executing in their critical section. This condition is called
a) mutual exclusion
b) critical exclusion
c) synchronous exclusion
d) asynchronous exclusion

12. Which one of the following is a synchronization tool?
a) thread
b) pipe
c) semaphore
d) socket

13. A semaphore is a shared integer variable
a) that can not drop below zero
b) that can not be more than zero
c) that can not drop below one
d) that can not be more than one

14. Mutual exclusion can be provided by the
a) mutex locks
b) binary semaphores
c) both (a) and (b)
d) none of the mentioned

15. 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

16. Process synchronization can be done on
a) hardware level
b) software level
c) both (a) and (b)
d) none of the mentioned

17. 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

18. 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

Previous ——————— Next

Must Read – Process Creation & Synchronization

No comments

Leave a Reply