ALL > Computer and Education > courses > university courses > undergraduate courses > Operating System > ZSTU-(2020-2021)-1 > student homework > 2018329621049_胡成一 >
homework2_2018329621049_胡成一 Version 0
👤 Author: by 450766287qqcom 2020-09-27 03:17:53
The purpose of process is to ensure consistency.

The major difference between program and process is that program is a group of instructions to carry out a specified task whereas the process is a program in execution. While a process is an active entity, a program is considered to be a passive one.

Five states:

new: The process is being created.

ready: The process is waiting to be assigned to a processor.

running: Instructions are being executed.

waiting: The process is waiting for some event to occur.

terminated: The process has finished execution.

Less than five states(like 4 states) can not describe all the situation, while more than five state(like 7 states) is not necessery.

Please login to reply. Login

Reversion History

Loading...
No reversions found.