Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

State transition diagram used for operating system management of the Process Control Block has the following states A New (Create) In this step, process is

State transition diagram used for operating system management of the Process Control Block has the following states

A
  • New (Create) In this step, process is about to be created but not yet created, it is the program which is present in secondary memory that will be picked up by OS to create the process.
  • Ready -> Ready to run. After creation of a process, the process enters the ready state i.e. the process is loaded into the main memory. The process here is ready to run and is waiting to get the CPU time for its execution. Processes that are ready for execution by the CPU are maintained in a queue for ready processes.
  • Run when the OS allows a process to compete for resource allocation.
  • Blocked or wait Whenever the process requests access to I/O or needs an input from user or needs access to a critical region(the lock for which is already acquired) it enters the blocked or wait state. The process continues to wait in the main memory and does not require CPU. Once the I/O operation is completed the process goes to ready state.
  • Terminated or completed Process is killed as well as PCB is deleted.
B
  • New (Create) In this step, process is about to be created but not yet created, it is the program which is present in secondary memory that will be picked up by OS to create the process.
  • Ready -> Ready to run. After creation of a process, the process enters the ready state i.e. the process is loaded into the main memory. The process here is ready to run and is waiting to get the CPU time for its execution. Processes that are ready for execution by the CPU are maintained in a queue for ready processes.
  • Run The process is chosen by CPU for execution and the instructions within the process are executed by any one of the available CPU cores.
  • Blocked or wait when a program has used too much of it's account balance running, it will be placed into a wait state until the bill is paid.
  • Terminated or completed Process is killed as well as PCB is deleted.
C
  • Make sets up the memory management for the process.
  • Ready -> Ready to run. After creation of a process, the process enters the ready state i.e. the process is loaded into the main memory. The process here is ready to run and is waiting to get the CPU time for its execution. Processes that are ready for execution by the CPU are maintained in a queue for ready processes.
  • Run The process is chosen by CPU for execution and the instructions within the process are executed by any one of the available CPU cores.
  • Blocked or wait Whenever the process requests access to I/O or needs an input from user or needs access to a critical region(the lock for which is already acquired) it enters the blocked or wait state. The process continues to wait in the main memory and does not require CPU. Once the I/O operation is completed the process goes to ready state.
  • Terminated or completed Process is killed as well as PCB is deleted.
D
  • New (Create) In this step, process is about to be created but not yet created, it is the program which is present in secondary memory that will be picked up by OS to create the process.
  • Ready -> Ready to run. After creation of a process, the process enters the ready state i.e. the process is loaded into the main memory. The process here is ready to run and is waiting to get the CPU time for its execution. Processes that are ready for execution by the CPU are maintained in a queue for ready processes.
  • Run The process is chosen by CPU for execution and the instructions within the process are executed by any one of the available CPU cores.
  • Blocked or wait Whenever the process requests access to I/O or needs an input from user or needs access to a critical region(the lock for which is already acquired) it enters the blocked or wait state. The process continues to wait in the main memory and does not require CPU. Once the I/O operation is completed the process goes to ready state.
  • Terminated or completed Process is killed as well as PCB is deleted.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Oracle9i Database Administrator Implementation And Administration

Authors: Carol McCullough-Dieter

1st Edition

0619159006, 978-0619159009

More Books

Students also viewed these Databases questions

Question

Language in Context?

Answered: 1 week ago