9.7.25

Important terms used in the Process State Diagram

Process Creation and Termination

Process Creation

Step Description
1 Process Request: The operating system receives a request to create a new process.
2 Resource Allocation: The operating system allocates resources, such as memory and CPU time.
3 Process Initialization: The operating system initializes the process, including setting up the program counter and registers.
4 Process Execution: The process starts executing.

Process Termination

Step Description
1 Process Completion: The process completes its execution.
2 Resource Release: The operating system releases resources, such as memory and CPU time.
3 Process Removal: The process is removed from the process table.

Types of Process Termination

  • Normal Termination: The process completes its execution and terminates normally.
  • Abnormal Termination: The process is terminated due to an error or exception.

No comments:

Post a Comment

Difference between File and Folder

10 Differences Between Files and Folders Definition: File: A collection of data or information stored on a computer. ...