All About the Program Management in Operating System, Papers of Operating Systems

The essay covered the topic about the difference between program and process, and the definition about the program management itself.

Typology: Papers

2020/2021

Uploaded on 04/13/2022

shyra-ticod
shyra-ticod 🇵🇭

2 documents

1 / 2

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
Republic of the Philippines
CEBU TECHNOLOGICAL UNIVERSITY
MAIN CAMPUS
M. J. Cuenco Avenue Cor. R. Palma Street, Cebu City,
Philippines
COLLEGE OF ENGINEERING
DEPARTMENT OF COMPUTER ENGINEERING
Name: Shyra P. Ticod Course, Year and Section: BSCPE E 2-
7
Subject: Operting System Date: 03/24/2022
Process Management
1. Differentiate a Program from Process?
Based on my research, there are a number of differences between a process and a program. For
starters, a program is a set of ordered instructions that are yet to be run. They are static is nature.
While, a process is basically a particular part of program in running condition. A program is
passive in nature because it does not do anything. It waits for its execution. On the other hand,
a process is of active nature. It is in running condition and it performs a particular action.
Moreover, a program’s life time is usually longer as it is simply written and then stored in
memory. It has to be deleted by the user himself. Whereas, a process’s life time is relatively
shorter due to the fact that it has to get truncated once the task being performed is finally
completed. Lastly, the resources used by the process are grater in number than the ones used
by the program. A process has to be processed, it needs its own memory space and then finally
I/O resources so that it is run successfully. While, in a program, only memory space is of
importance.
2. What is a Process Management?
Process Management involves the execution of various tasks such as creation of processes,
scheduling of processes, management of deadlock, and termination of processes. It is
responsibility of operating system to manage all the running processes of the system. Operating
system manages processes by performing tasks such as resource allocation and process
scheduling. When a process runs on computer device memory and CPU of computer are
utilized. The operating system also has to synchronize the different processes of computer
system.
3. What are the attributes or Characteristics of Process? Explain each
The Attributes of the process are used by the Operating System to create the process control
block (PCB) for each of them. This is also called context of the process. Attributes which are
stored in the PCB are described below.
pf2

Partial preview of the text

Download All About the Program Management in Operating System and more Papers Operating Systems in PDF only on Docsity!

Republic of the Philippines

CEBU TECHNOLOGICAL UNIVERSITY

MAIN CAMPUS

M. J. Cuenco Avenue Cor. R. Palma Street, Cebu City, Philippines COLLEGE OF ENGINEERING DEPARTMENT OF COMPUTER ENGINEERING Name: Shyra P. Ticod Course, Year and Section: BSCPE E 2- 7 Subject: Operting System Date: 03/24/

Process Management

1. Differentiate a Program from Process? Based on my research, there are a number of differences between a process and a program. For starters, a program is a set of ordered instructions that are yet to be run. They are static is nature. While, a process is basically a particular part of program in running condition. A program is passive in nature because it does not do anything. It waits for its execution. On the other hand, a process is of active nature. It is in running condition and it performs a particular action. Moreover, a program’s life time is usually longer as it is simply written and then stored in memory. It has to be deleted by the user himself. Whereas, a process’s life time is relatively shorter due to the fact that it has to get truncated once the task being performed is finally completed. Lastly, the resources used by the process are grater in number than the ones used by the program. A process has to be processed, it needs its own memory space and then finally I/O resources so that it is run successfully. While, in a program, only memory space is of importance. 2. What is a Process Management? Process Management involves the execution of various tasks such as creation of processes, scheduling of processes, management of deadlock, and termination of processes. It is responsibility of operating system to manage all the running processes of the system. Operating system manages processes by performing tasks such as resource allocation and process scheduling. When a process runs on computer device memory and CPU of computer are utilized. The operating system also has to synchronize the different processes of computer system. 3. What are the attributes or Characteristics of Process? Explain each The Attributes of the process are used by the Operating System to create the process control block (PCB) for each of them. This is also called context of the process. Attributes which are stored in the PCB are described below.

1. Process ID When a process is created, a unique id is assigned to the process which is used for unique identification of the process in the system. 2. Program counter A program counter stores the address of the last instruction of the process on which the process was suspended. The CPU uses this address when the execution of this process is resumed. 3. Process State The Process, from its creation to the completion, goes through various states which are new, ready, running and waiting. We will discuss about them later in detail. 4. Priority Every process has its own priority. The process with the highest priority among the processes gets the CPU first. This is also stored on the process control block. 5. General Purpose Registers Every process has its own set of registers which are used to hold the data which is generated during the execution of the process. 6. List of open files During the Execution, every process uses some files which need to be present in the main memory. OS also maintains a list of open files in the PCB 7. List of open devices OS also maintain the list of all open devices which are used during the execution of the process. References: https://techdifferences.com/difference-between-program-and- process.html?fbclid=IwAR01gc0erbD1dhADhLxXAN8OOrkvGjYlXXh- SDENnO7E93r3SQUpEp6J_xE