CS/IT MCQ Collections

MCQ On Fundamentals Of Process Management In OS Part-1

Pinterest LinkedIn Tumblr

Here are the collections of MCQ on fundamentals of process management in OS including multiple-choice questions about process management in the operating system. It includes objective-type questions on the two-state process model, the five-state model for the creation and termination of processes, and the characteristics of the suspended process.

1. Which of the following is/are the reasons for the execution of the process in the two-state process model?
i) A process is created when a user at a terminal logs on to the system.
ii) A process is created in response to the submission of a job
iii) A process is created to perform a function on behalf of a user program
A) i and ii only
B) ii and iii only
C) i and iii only
D) All i, ii and iii

2. In the two-stage process model, a process is terminated when
i) A piece of data is of the wrong type or is not initialized
ii) The process attempts to use an instruction reserved for the operating system
iii) The child process was terminated
iv) The process has waited longer than the specified time.
A) i, ii and iii only
B) ii, iii and iv only
C) i, ii and iv only
D) All i, ii, iii and iv

3. Which of the following is/are states in the five-state model for the creation and termination of processes?
i) Running  ii) Ready  iii) Blocked  iv) Paused  v) Exit
A) i, ii, iii and iv only
B) ii, iii, iv and v only
C) i, ii, iii and v only
D) All i, ii, iii, iv and v

4. In five state process model …………………… state is a process that is prepared to execute when given the opportunity.
A) Ready
B) Paused
C) Queued
D) Blocked

5. In five state process model ……………….. state is a process then that can not execute until some event occurs, such as the completion of an I/O operation.
A) Ready
B) Paused
C) Queued
D) Blocked

6. In ………………….. state of five state process model, a process that has been released from the pool of executable process by the OS either because it halted or because it aborted for some reason.
A) Blocked
B) Exit
C)  Released
D) Ready

7.  …………………….. transition occurs when it is time to select a new process to run, the operating system chooses one of the processes in the ready state.
A) Null → Ready
B) Ready → Running
C) New → Ready
D) Running → Ready

8. In the transaction of five state process models, if a parent terminates, all child processes associated with that parent may be terminated.
A) Running → Exit
B) Blocked → Exit
C) Ready → Exit
D) New → Exit

9. With the use of swapping, an I/O operation, one other state must be added to the process behavior model called the ……………… state.
A) Paused
B) Blocked
C) Swapped
D) Suspend

10. When all of the processes in main memory are in …………………. state, the operating system can suspend one process by putting it in the suspend state and transferring it to the disk.
A) Blocked
B) Exit
C) Suspend
D) Paused

11.  When the operating system has performed a …………….. operation, it has two choices for selecting a process either admitting a newly created process or bringing in a previously suspended process.
A) Swapping-in
B) Swapping-out
C) Blocked-in
D) Blocked-out

12. In ………………. state, the process is in secondary memory but it is available for execution as soon as it is loaded into main memory.
A) Ready
B) Blocked
C) Blocked/Suspend
D) Ready/Suspended

13. In …………………… state, the process is in secondary memory and awaiting an event.
A) Ready
B) Blocked
C) Blocked/Suspend
D) Ready/Suspended

14. A process in the ………………….. state is moved to the ……………….. state when the event for which it has been waiting occurs.
A) blocked, blocked/suspend
B) ready, ready/suspend
C) blocked/suspend, ready/suspend
D) ready/suspend, ready

15. A process in the ……………….. state is moved to the ………….. state if there are no ready processes, then at least one blocked process is swapped out to make room for another process that is not blocked.
A) blocked, blocked/suspend
B) ready, ready/suspend
C) blocked/suspend, ready/suspend
D) ready/suspend, ready

16.  A process in the ………………… state is moved to the …………….. when there are no ready processes in main memory, the operating system will need to bring one in to continue execution.
A) blocked, blocked/suspend
B) ready, ready/suspend
C) blocked/suspend, ready/suspend
D) ready/suspend, ready

17. A process will ……………….. while it is running, either because it has been completed or because of some fatal fault condition.
A) Suspend
B) Terminate
C) Blocked
D) Ready

18. A ……………… process is moved to the ready state when its time allocation expires.
A) New
B) Blocked
C) Running
D) Suspend

19. Which of the following is/are the characteristics of the suspended process?
i) The process is not immediately available for execution.
ii) The process may or may not be waiting on an event
iii) The process will remove from this state whether the agent explicitly orders the removal or not.
A) i and ii only
B) ii and iii only
C) i and iii only
D) All i, ii and iii

20. Which of the following is/are the reasons for the process suspension
i) The operating system needs to release sufficient main memory to bring in a process that is ready to execute.
ii) The operating system may suspend a background or utility process or a process that is suspected for causing a problem.
iii) A user may wish to suspend the execution of a program for purposes of debugging or in connection with the use of resources.
A) i and ii only
B) ii and iii only
C) i and iii only
D) All i, ii and iii

Answers

1. D) All i, ii and iii
2. C) i, ii and iv only
3. C) i, ii, iii and v only
4. A) Ready
5. D) Blocked
6. B) Exit
7. B) Ready → Running
8. C) Ready → Exit
9. D) Suspend
10. A) Blocked
11. B) Swapping-out
12. D) Ready/Suspended
13. C) Blocked/Suspend
14. C) blocked/suspend, ready/suspend
15. A) blocked, blocked/suspend
16. D) ready/suspend, ready
17. B) Terminate
18. C) Running
19. A) i and ii only
20. D) All i, ii and iii

 Read Next: MCQ On Fundamental Of Process Management In OS Part-2 

Author

Shuseel Baral is a web programmer and the founder of InfoTechSite has over 8 years of experience in software development, internet, SEO, blogging and marketing digital products and services is passionate about exceeding your expectations.

Comments are closed.