This week we will be covering Operating System Process Management topic. Early computers allowed only one program to be executed at a time. This single program completely controlled computer with access to all its resources. Contemporary computer systems allow multiple programs to be loaded into memory, executing concurrently. This evolution requires management of the multiple programs. While the main concern of computer systems is the generally execution of user programs, the system must also complete various system tasks that are done within the kernel. Please check the second module for more details.

Process Management

Process Management

Assignment 2

  • What is swapping? What is its purpose?                                        10%
  • What is the purpose of preemption?                                                  10%
  • List the functions performed during Unix process creation                         10%
  • Why is a mode switch between threads cheaper than a mode switch between processes?                                                 10%
  • List 2 advantages and 2 disadvantages of ULTs vs KLTs.           10%
  • List the 5 states in the 5 state model                                           10%
  • Explain each state within the 5 state model 10%
  • List 5 components of Process Control Block 10%
  • Explain each of the 5 components of the Process Control Block 10%
  • Describe the difference between a process and a thread                   10%

OS Module Two Assignment

  1. Swapping and its Purpose?

Swapping in Operating Systems (OS) is a technique used in memory management (McHoes & Flynn, 2013). It involves removing (swapping out) blocked or idle processes from the main memory to the secondary memory and swapping in processes from the secondary memory to the primary one when they are ready for execution

  1. The Purpose of Preemption     

Preemption regards the temporary interruption of a process without seeking its cooperation, intending to shortly resume its execution

  1. Mode Switch Between Threads vs. a Mode Switch Between Processes

Mode switching between threads is cheaper than switching between processes because threads share the memory and resources (McHoes & Flynn, 2013). Thus, less processing is needed in switching between threads.

Order to get your custom answer to the above question or to any other operating system question