![]() The operating system allocates main memory to store programs instructions.It needs to be executed to realize the steps mentioned in it. The program can’t perform any action without a run.A user may run multiple programs where the operating systems simplify its internal programmed activities like memory management.Various processes may be related to the same program.It stores a group of instructions to be executed. To differentiate program and process, Process has considerable overhead whereas Program has no significant overhead cost. ![]() When we distinguish between process and program, Process is a dynamic or active entity whereas Program is a passive or static entity.Process contains many resources like a memory address, disk, printer while Program needs memory space on the disk to store all instructions.The process has a shorter and minimal lifespan whereas program has a longer lifespan.Process is an executing part of a program whereas a program is a group of ordered operations to achieve a programming goal.
0 Comments
Leave a Reply. |