Q2

(1)
- Process is an executing program, also called as an instance of a program
- It is a unit of work in time-sharing system
- It has normally 5 status: new, running, waiting, ready and terminated. (Note: The name of the status are not fixed)
(2)
- new: A progress is created
- running: A progress (the instruction inside) is being executing
- waiting: A progress is not executing and waiting for some event occurs
- ready: A progress is not executing and waiting to be allocated to a processor
- terminated: A progress is done and exiting
(3)
|<-------------|
new --> ready ------> running --> terminated
|<-- waiting --|

Q3

