CS/IT MCQ Collections

MCQ On Fundamentals Of Process Management In OS Part-3

Pinterest LinkedIn Tumblr
This set of MCQ on fundamentals of process management in the operating system includes the collections of multiple-choice questions on process management. It includes MCQ questions on the functions of an operating system kernel, the memory management function of an operating system, and the process management function of an operating system kernel.

1. …………… in Pentium EFLAGS register control operating mode bits represents carrying or borrowing between half-bytes or an 8-bit arithmetic or logic operation.
A) Carry flag
B) Overflow flag
C) Nested task flag
D) Virtual interrupt flag

2. Less-privileged mode in the mode of processor execution normally associated with the operating system is often referred to as the …………… mode.
A) System mode
B) Control mode
C) Kernel-mode
D) User mode

3. Which of the following is/are the typical functions of an operating system kernel
i) Process Management   ii) Memory Management  iii) I/O Management  iv) Support Functions
A) i, ii and iii only
B) ii, iii and iv only
C) i, iii and iv only
D) All i, ii, iii and iv

4. The process management function of an operating system kernel includes
i) Process creation and termination   ii) Process Switching  iii) Swapping  iv) Process Scheduling and Dispatching
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

5. The memory management function of an operating system includes
i) Allocation of address space to processes ii) Swapping  iii) Process Switching  iv) Page and segment management
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

6. The support functions of an operating system kernel include
i) Interrupt handling   ii) Buffer Management  iii) Accounting   iv) Monitoring
A) i, ii and iii only
B) i, iii and iv only
C) i, ii and iv only
D) All i, ii, iii and iv

7. Once the operating system decides, to create a new process, it can be processed as the order of the following steps.
i) initialize the process control block
ii) Assign a unique process identifier to the new process
iii) Allocate space for the process
iv) Create or expand other data structures
v) Set the appropriate linkages
A) ii, iii, i, v and iv
B) i, iii, v and iv
C) i, ii, iii, v and iv
D) ii, iv, v and iii

8. ………… may occur any time that the operating system has gained control from the currently running process.
A) Process Scheduling
B) Process Creation
C) Process Switching
D) Process Synchronization

9. With an ordinary …………, control is first transferred to an …………handler, which does some basic housekeeping and then branches to an operating system routine.
A) Interrupt
B) Trap
C) Supervisor Call
D) Memory Fault

10. With a …………….., the operating system determines if the error or exception condition is fatal.
A) Interrupt
B) Trap
C) Supervisor Call
D) Memory Fault

11.  If an interrupt is pending, the processor does which of the following
i) It saves the context of the current program being executed
ii) It sets the program counter to the starting address of an interrupt  handler program
iii) It switches from user mode to kernel mode
A) i and ii only
B) ii and iii only
C) i and iii only
D) All i, ii and iii

12. Order the following steps involved in a full process switch
i) Select another process for execution
ii) Update the process control block
iii) Save the context of the processor
iv) Move the process control block
A) iv, iii, i and ii
B) iii, ii, iv and i
C) i, iii, iv and ii
D) ii, iii, iv and i

13. …………. is the process state recognized by the UNIX operating system in which the process is awaiting an event and has been swapped to secondary storage.
A) Sleeping, swapped
B) Preempted
C) Zombie
D) Ready to run, Swapped

14. ………….. is the process state recognized by the UNIX operating system in which the process is returning from kernel to user mode, but the kernel preempts it and does a process switch to schedule another process.
A) Sleeping, swapped
B) Preempted
C) Zombie
D) Ready to run, Swapped

15. ………….. is the process state recognized by the UNIX operating system in which the process no longer exists, but it leaves a record for its parent process to collect.
A) Sleeping, swapped
B) Preempted
C) Zombie
D) Ready to run, Swapped

16. The ………….. contains the basic elements of a user’s program and can be generated directly from a compiled object file.
A) User-level context
B) Register context
C) System-level context
D) Memory level context

17. …………. consists of a static part, which is fixed in size and stays with a process throughout its lifetime and the dynamic part which varies in size through the life of the process.
A) User-level context
B) Register context
C) System-level context
D) Memory level context

18. While process creation in UNIX when a process issues a fork request, the OS performs which of the following functions.
i) It allocates a slot in the process table for new process
ii) It assigns a unique process ID to the child process
iii) It makes a copy of the process image of the parent.
A) i and ii only
B) ii and iii only
C) i and iii only
D) All i, ii and iii

Answers

1. A) Carry flag
2. D) User mode
3. D) All i, ii, iii and iv
4. C) i, ii and iv only
5. C) i, ii and iv only
6. B) i, iii and iv only
7. A) ii, iii, i, v and iv
8. C) Process Switching
9. A) Interrupt
10. B) Trap
11. D) All i, ii and iii
12. B) iii, ii, iv and i
13. A) Sleeping, swapped
14. B) Preempted
15. C) Zombie
16. A) User-level context
17. C) System-level context
18. D) All i, ii and iii

Read Next: MCQ Questions on Threads, SMP And Microkernels Part-1

Please follow and like us:
RSS
Follow by Email
X (Twitter)
Visit Us
Follow Me
YouTube
YouTube
LinkedIn
linkedIn | MCQ On Fundamentals Of Process Management In OS Part-3
Share

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.

Write A Comment

RSS
Follow by Email
X (Twitter)
Visit Us
Follow Me
YouTube
YouTube
LinkedIn
Share