The OS acts as an intermediary between users and the computer hardware, ensuring that the
hardware operates efficiently and that applications run smoothly.
Key Functions of an Operating System
Process Management:
• Processes are programs in execution. The OS is responsible for process creation,
scheduling, and termination.
• Scheduling involves determining which process runs at any given time. The OS uses
various algorithms to allocate CPU time effectively.
• Multitasking allows multiple processes to run concurrently by rapidly switching
between them, giving the illusion that they are running simultaneously.
Memory Management:
• RAM Allocation: The OS manages the computer’s memory, allocating space to
different processes and ensuring efficient use of memory.
• Paging and Segmentation: Techniques used to manage memory, including dividing
memory into pages or segments for be er utilization and protection.
File System Management:
• File Operations: The OS provides mechanisms to create, read, write, and delete files.
• Directories and Permissions: Manages the organization of files into directories and
controls access permissions to ensure security and integrity.
Device Management:
• Drivers: The OS uses device drivers to communicate with hardware devices
(e.g., printers, disks).
• I/O Operations: Manages input and output operations, buffering data between devices
and applications.
User Interface:
• Command-Line Interface (CLI): Allows users to interact with the OS using textual
commands.
1
, Operating Systems
• Graphical User Interface (GUI): Provides a visual way to interact with the OS through
windows, icons, and menus.
Security and Access Control:
• Authentication: Ensures that users are who they claim to be.
• Authorization: Controls access to resources based on user permissions.
• Encryption and Protection: Protects data from unauthorized access and modification.
Networking:
• Network Management: Provides services for network communication, including
protocols for data exchange and resource sharing. Overview of the Process
User:
• Interaction: The user interacts with the computer through various input devices
(keyboard, mouse) and output devices (monitor, printer). This interaction is typically
done via a user interface provided by the OS.
• Requests: Users run applications, execute commands, and request resources, which the
OS must manage and facilitate.
System and Application Programs:
• Application Programs: These are the software programs that users run to perform
specific tasks, such as word processors, web browsers, or games. They rely on the OS
to manage hardware resources and provide necessary services.
• System Programs: These are part of the OS and include utilities and services that
support the application programs. They handle tasks such as system maintenance, file
management, and hardware management.
2