Operating System

Operating System Questions and Answers MCQ– Process Creation

This set of Operating System Interview Questions and Answers focuses on “Process Creation” and will also be useful for interview preparations.

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

View Answer

Answer: c
Explanation: None.

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

View Answer

Answer: a
Explanation: None.

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 the mentioned

View Answer

Answer: a
Explanation: None.

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

View Answer

Answer: d
Explanation: None.

5. In UNIX, each process is identified by its __________
a) Process Control Block
b) Device Queue
c) Process Identifier
d) None of the mentioned

View Answer

Answer: c
Explanation: None.

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

View Answer

Answer: c
Explanation: None.

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

View Answer

Answer: a
Explanation: None.

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

View Answer

Answer: b
Explanation: None.

NEXT

Related Articles

Leave a Reply

Your email address will not be published. Required fields are marked *

Back to top button