Operating System Assignment Solved
Operating System Assignment Solved
An Operating System (OS) is system software that manages hardware, software resources, and provides services for
computer programs.
Objectives: Efficient resource management, convenience to users, ability to execute user programs, and system
security.
Multithreading is the ability of a CPU to provide multiple threads of execution within a single process.
Models:
- Many-to-One
- One-to-One
- Many-to-Many
Types:
- Monolithic Kernel
- Microkernel
- Hybrid Kernel
- Exokernel
4. Difference between Symmetric and Asymmetric multiprocessing.
Symmetric: All processors share memory and I/O and are peers.
- Process Management
- Memory Management
- File System
- Device Management
- User Interface
The OS traps a call to the kernel, switches to kernel mode, processes the request, and then returns the result to the
user.
To manage hardware and software resources and provide an environment for application programs to function.
Batch systems execute batches of jobs without user interaction, often scheduled sequentially.
- Resource management
- Increased throughput
Services: Program execution, I/O operations, file system manipulation, communication, error detection, resource
- Multiprogramming vs Time-sharing: Multiprogramming increases CPU utilization, while time-sharing provides each user
- File creation/deletion
- Directory management