Operating System(OS)
An operating system (OS) is a collection of software that manages computer hardware resources and provides common services for computer programs. 1 It actsas an intermediary between the user and the computer hardware.
Functions of the Operating System
- Memory Management:
- Allocates and deallocates memory to programs.
- Manages the use of RAM effectively.
- Implements virtual memory to allow programs to use
more memory than physically available.
Memory Management in
OS
- Process Management:
- Manages the execution of programs (processes).
- Creates and terminates processes.
- Schedules processes for CPU time.
- Handles process synchronization and communication.
Process Management in OS
- Device Management:
- Controls and manages input/output devices.
- Provides drivers for devices to communicate with the
OS.
- Manages device access and resource allocation.
Device Management in OS
- File Management:
- Organizes and manages files on storage devices.
- Creates, deletes, and modifies files.
- Implements file systems to store and retrieve files
efficiently.
File Management in OS
- User Interface:
- Provides a way for users to interact with the
computer.
- Includes command-line interfaces (CLI) and graphical
user interfaces (GUI).
Commandline Interface (CLI) vs. Graphical User Interface
(GUI)
OS User Interface
- Command-Line Interface (CLI):
- Users interact with the computer by typing commands.
- Offers more control and flexibility for experienced
users.
- Example: Linux terminal
- Graphical User Interface (GUI):
- Uses icons, windows, and menus for user interaction.
- More user-friendly and easier to learn.
Example: Windows desktop, macOS, iOS
No comments:
Post a Comment