Operating Systems Important Topics Notes
Operating Systems Important Topics Notes
Definition:
- A Real-Time Operating System (RTOS) is an OS intended to serve real-time applications that process data
Types:
Applications:
- User Interface: CLI, GUI, and batch interface for user interaction.
- Error Detection: Detects and responds to errors from CPU and memory.
3. Process Management
Process States:
allocated resources.
- SJF (Shortest Job First): Executes shortest jobs first; may be preemptive or non-preemptive.
- Round Robin: Allocates time slices to each process, ensuring fair execution.
4. Memory Management
Virtual Memory:
Paging vs Segmentation:
Partitioning:
5. File Management
File Attributes:
File Operations:
Allocation Methods:
7. Deadlock
Definition:
- Deadlock occurs when a set of processes are blocked as each process is holding a resource and waiting for
Necessary Conditions:
1. Mutual Exclusion
3. No Preemption
4. Circular Wait
Prevention Strategies:
8. UNIX/Linux Commands
Common Commands:
9. System Calls
Purpose:
Multithreading Models: