In: Computer Science
1.What are the four components of a process? What is the term that describes saving the state of one process, and restoring the state of another?
2.Draw and Explain function of Process Control Block(PCB).
3. Explain 5 State process model, how it differ from 3 state Model. Which model is better, justify your answer
1)
Stack, data, text, and heap memory.
Context switching
2)
representation of a process in the operating system. It contains information associated with that process.
Process state, program counter, CPU registers, CPU-scheduling information, memory-management information, accounting information, and I/O status information.
Role of process control block
3)
Five State Process Model
The states in the five state process models are:
1) New: The process has not yet been loaded into main memory.
2) Ready: the process is now prepared to execute when given the opportunity.
3) Running: the process is currently being executed.
4) Blocked: Process that is waiting for some event to occur.
5) Exit: Process is released from main memory because it has halted or aborted.
I suggest 5 state model rather than 3 state..model because there are more advantages
Concept of multi programming.
Clear track of process functionalities