Ss 3
Ss 3
---
Process scheduling is the method by which an operating system decides which process runs at a
2. **CPU Scheduling**: The mechanism to assign CPU time to processes. The CPU scheduler de
3. **Process Queue**: A queue where processes are kept when waiting for CPU time. There are
---
4. **Priority Scheduling**:
- Processes are scheduled based on priority. Higher priority processes are executed first.
- **Disadvantage**: Lower priority processes may starve if high-priority ones keep arriving.
---
- **Definition**: The process of saving the state of the current process and loading the state of the
- **Cost**: Context switching introduces overhead and can impact performance if frequent.