Operating Systems

Tech

What is operating systems?, well its a software which manages computer hardware and software resourses and provide us with common services for computer programs.

They are basically intermediary between the users and computer hardware which enables you to interact with systems and run applications.

Some key functions:-

  1. Mrocess management
  2. Memory management
  3. File management
  4. Device management
  5. User interface
  6. Security and access control
  7. Networking

Types of Operation systems:-

  1. Desktop Operating Systems
  2. Server Operating Systems
  3. Mobile operating Systems
  4. Embedded Operating Systems
  5. Real-Time Operating Systems
  1. Desktop Operating Systems

DOS is designed for personal computers and examples are can be:

  1. WINDOWS
  2. macOS
  3. LINUX

2. Server Operating Systems

By name as it says its managed for server hardwares and supports multiple users to run its applications at once and few examples can be:

  1. Windows server
  2. Linux Server Distribution
  3. Unix

3. Mobile Operating Systems

These are designed for mobile phone softwares and few examples include:

  1. Android
  2. IOS

4. Embedded Operating Systems

Its in embedded systems like IoT applications and devices and automobiles like cars. Examples are:

  1. RTOS (REAL OPERATING SYSTEMS LIKE freeRTOS)
  2. Embedded Linux

5. Real Time Operating Systems

Designed for apps which requires precise timings and high time reliability and few examples includes:

  1. VxWorks
  2. QNX

Working Of Operating Systems

Understanding how OS works involves exploring and how they manage to coordinate the hardware and software resources to provide a stable environment for applications and other users.

Core Functions:-

a) Process management : The OS manages processes, which are the instances of programs with execution.

b) creation and termination : creation where process when a program is executed the OS allocates resources like memory and CPU timings and, termination after termination on complete execution or when terminated by signal.

c) Scheduling : purpose determines the process running and few algorithms examples are Round-Robin and priority sceduling.

d) process states : running, ready, waited, terminated.

Example of OS working Flow:

System calls and context switching : Applications make system calls to interact with the OS, and the OS performs context switching to manage multiple processes.

BOOT PROCESS: When a computer starts, the OS is loaded from disk into memory. The bootloader loads the OS kernel.

Process Scheduling: The OS kernel schedules prosesses based on the chosen sceduling algorithm.

Memory Allocation: The OS manages memory allocation for processes, using techniques like paging and segmentation.

I/O HANDLING: The OS uses device drivers to manage I/O operations and ensure efficient dara transfer.

User Interaction: The OS provides interfaces (CLI or GUI) for user interaction and application execution.

In addition to these there are such general purpose operating systems that run on small computers and control assembly lines and home appliances and aircraft as well, they are real time applications which are designed to provide rapid responses to sensors and also to use thier inputs to control machinery in a proper manner.

also read: https://aifico.com/ai-ethics-and-fairness/