Operating System and Functions:
An Operating System (OS) is system software that acts as an intermediary between computer
hardware and the user. Its functions include:
- Process management
- Memory management
- File system management
- Device management
- Security and access control
- User interface management
Classification of Operating Systems:
1. Batch Operating System:
- Executes batches of jobs with minimal or no user interaction.
- Jobs are processed in the order they are submitted.
2. Interactive Operating System:
- Allows direct communication between the user and the system.
- Provides quick response time.
3. Time-Sharing Operating System:
- Allows multiple users to use the system simultaneously.
- Allocates CPU time slices to each user.
4. Real-Time Operating System (RTOS):
- Responds to inputs instantly or within a guaranteed time.
- Used in critical systems like medical equipment or automotive control systems.
5. Multiprocessor Systems:
- Use two or more CPUs within a single computer system.
- Offer increased computing power and reliability.
6. Multiuser Systems:
- Support multiple users accessing the system simultaneously.
- Use time-sharing and resource allocation mechanisms.
7. Multiprocess Systems:
- Allow multiple processes to run concurrently.
- Improve resource utilization and responsiveness.
8. Multithreaded Systems:
- Allow multiple threads within a single process.
- Enhance performance by executing multiple threads in parallel.
Operating System Structure:
1. Layered Structure:
- The OS is divided into layers, each built on top of the lower one.
- Simplifies debugging and system management.
2. System Components:
- Process management
- Main memory management
- File system
- I/O system management
- Secondary storage management
- Networking
- Protection system
- Command interpreter system
3. Operating System Services:
- Program execution
- I/O operations
- File system manipulation
- Communication
- Error detection
- Resource allocation
- Accounting and protection