Unit02 Osy (22516)
Unit02 Osy (22516)
2. Program Execution
3. I/O Operation
5. Communication
6. Error Detection
7. Resource Allocation
8. Accounting
1. User Interface
o Provides a way for users to interact with the system (command-line or graphical).
2. Program Execution
o Loads and runs applications and manages resources for each process.
3. I/O Operation
o Manages data input and output from devices like keyboards, printers, etc.
o Manages files and directories, enabling users to create, delete, and organize them.
5. Communication
o Allows processes to communicate with each other, either within a system or over a
network.
6. Error Detection
o Detects and handles system errors, ensuring stability and preventing data loss.
7. Resource Allocation
8. Accounting
1. Improved User Experience: Services like the user interface and program execution make the
system easy to use and enhance user interaction.
3. Device Compatibility and Data Management: I/O operations and file system services ensure
smooth device integration and data organization.
4. Secure and Stable Environment: Protection, security, and error detection services create a
safe, stable computing environment.
• It allows applications to perform tasks that the OS manages, such as accessing files and
managing processes.
1. Process Control
Examples:
o Changing the priority of a process (e.g., giving more resources to a video game).
2. File Management
Examples:
3. Device Management
Examples:
4. Information Maintenance
Examples:
o Getting system resource usage statistics (e.g., CPU and memory usage).
5. Communication
Examples:
o Sharing memory between processes (e.g., two programs accessing the same data).
o Using sockets for network communication (e.g., web browsers communicating with
servers).
o The components of an Operating System (OS) are the key functions or parts that
allow it to manage the computer's hardware, software, and resources.
o These components work together to ensure the system operates smoothly, supports
multitasking, manages memory, and handles file and device management.
o Each component has a specific role, like managing programs, memory, files, or
input/output devices, making it possible for users to interact with the computer
effectively and efficiently.
2. Diagram of OS Components
Fig.(c) Components of OS
3. Explanation of OS Components
o Process Management
▪ Manages running programs by assigning CPU time and prioritizing tasks for
efficient multitasking.
▪ Ensures each program has enough memory space and keeps track of
memory usage.
o File Management
▪ Organizes files and directories, making it easy to save, access, and delete
data.
▪ Controls file permissions to keep data secure and manage who can access
files.
▪ Manages input and output devices (like keyboards, printers) so they work
correctly with applications.
▪ Manages long-term data storage on devices like hard drives and SSDs,
ensuring organized storage.
Fig.(d) OS Tools
o Explanation: Helps create, modify, and delete user accounts, controlling user
permissions and access levels for system resources.
o Uses:
o Examples:
2. Security Policy
o Explanation: Sets rules to protect the system from unauthorized access and enforces
password requirements and access control measures.
o Uses:
o Examples:
3. Device Management
o Explanation: Manages hardware devices like printers and drives, including the
installation and updating of drivers for hardware components.
o Uses:
o Examples:
4. Performance Monitor
o Explanation: Tracks system performance metrics such as CPU and memory usage
and identifies performance issues to optimize system operation.
o Uses:
o Examples:
5. Task Scheduler
o Uses:
o Examples:
❖ Winter 2019
a) Explain any four services provided by OS. (2marks)
b) List components of OS. Explain process management in detail. (4marks)
c) What is purpose of system call? State any two system calls with their functions. (4marks)
d) Enlist the operating system tools. Explain any two in detail. (6marks)
❖ Summer 2022
a) State any four types of system calls. (2marks)
b) List and describe any four services of operating system. (4maarks)
c) Describe various activities performed by following operating system components.
(4marks)
i) Main memory management
ii) File management
d) Describe with example, use of following tools: (6marks)
i) Device Management
ii) Performance monitor
iii) Task scheduler
❖ Winter 2022
a) List any four services provided by O.S. (2marks)
b) Describe any two components of O.S. (4marks)
c) Write any four-system call related to file management. (4makrs)
d) Write two uses of following O.S. tools (6marks)
(i) Device Management
(ii) Performance monitor
(iii) Task Scheduler
❖ Summer 2023
a) State any four services of operating system. (2marks)
b) Explain different types of system calls. (4marks)
c) Explain different components of operating system. (4marks)
❖ Winter 2023
a) List any four services provided by operating system. (2marks)
b) Write down the responsibilities of the following components of OS. (4marks)
i) Memory management
ii) File management
c) What are the different types of system calls? Give examples of each. (4marks)
d) Write two uses of the following operating system tools (6marks)
i) Security policy
ii) User management
iii) Performance Monito
❖ Summer 2024
a) State any four services provided by operating system. (2marks)
b) Explain any four types of system call. (4marks)
c) Explain different components of operating system. (4marks)
d) Explain the use of following OS tools: (6marks)
i) Device Manager
ii) Task Scheduler.