1 - Operating System
1 - Operating System
OPERATING SYSTEM
What is Operating System?
• An operating system (OS) is system software
that manages computer hardware, software
resources, and provides various services for
computer programs. It acts as an intermediary
between the hardware and software, allowing
users and applications to interact with the
computer's hardware without needing to
understand the intricate details of the
hardware.
• Process Management: The OS manages processes,
which are individual programs or tasks running on
the computer. It allocates CPU time, memory, and
other resources to different processes, ensuring they
run efficiently and without interference.
• Memory Management: Operating systems handle
memory allocation and deallocation, making sure
that programs have access to the necessary memory
resources. This includes managing virtual memory
and swapping data in and out of RAM.
• File System Management: Operating systems
provide a file system that organizes and stores data
on storage devices like hard drives and SSDs. This
includes file creation, deletion, reading, and writing
operations.
• Device Management: The OS interacts with various
hardware devices such as keyboards, mice, printers,
and storage devices. It manages device drivers to
facilitate communication between software and
hardware components.
• User Interface: Operating systems typically
provide a user interface that allows users to
interact with the computer. This can be a
command-line interface (CLI), graphical user
interface (GUI), or both.
• Security: OSs enforce security measures to
protect the computer and its data. This
includes user authentication, access control,
and firewall functionality.
• Networking: Many operating systems have
built-in networking capabilities, allowing
computers to connect to networks and the
internet. They manage network connections,
protocols, and data transmission.
• Error Handling: Operating systems monitor
the system for errors and exceptions, handling
them gracefully to prevent crashes or data
loss.
• Task Scheduling: The OS determines the order
in which tasks (processes) are executed and
manages the allocation of CPU time to each
task, ensuring efficient multitasking.
• Resource Allocation: It manages hardware
resources such as CPU, memory, and
peripheral devices, allocating them as needed
to various processes and applications.
TYPES OF OPERATING
SYSTEM
Types of Operating Systems