Posts

Showing posts from November, 2024

What is process

The process  is an instance of a program that is being executed. Processes are managed by the operating system (OS). A process in a computer is a program that is currently running. Program vs. Process: A program is just a file with instructions (e.g., a game or an app you install). A process happens when you open or run that program, making it active.  How it's work? When you launch an application, the OS creates a process for it. The process has a unique Process ID (PID) , which is used to manage it. Processes can have child processes. For example: If you open a web browser (parent process) and open tabs, each tab might be a child process.   A process affects the CPU, memory, and other resources because it requires these components to perform its tasks. How processes interact with key system resources: 1. CPU (Central Processing Unit) What Happens: A process runs by sending instructions to the CPU for execution. The CPU divides its time among all active processes, ...