#2- PROGRAMS vs PROCESS vs THREADS
PROGRAMS vs PROCESSS vs THREADS
*PROGRAM: A Program is a set of instructions that a computer follows in order to perform a particular task. it is typically stored in a file on disk and represents an executable entity.
Programs can be compiled or interpreted, and they serve as a blueprint for the execution of tasks on a computer system.
- *PROCESS: A series of actions or steps taken in order to achieve a particular end is called a process.
How to find Process:
*THREADS: A thread is, fundamentally, a clear, well-defined theme, subject, topic or focus.
A thread is a unit of execution within a process. it represents a sequence of instructions that can be scheduled and executed independently. threads share the same memory space and resources within a process. multiple threads within a process ca run concurrently, allowing for parallel execution of tasks. threads has its own program counter and stack.
Show in figure:
Thank you



Outstanding
ReplyDelete