Introduction to Operating Systems
Study Notes: Introduction to Operating Systems
This lesson provides an overview of the five major operating systems used today in computers and smartphones, followed by a general discussion of what operating systems are, their functions, and their importance.
Major Computer Operating Systems
The three most widely used operating systems for desktop and laptop computers are Windows, macOS, and Linux, listed in order of market share (Windows most common, macOS second, Linux third).
Linux
Definition: Linux is a family of open-source Unix-like operating systems based on the Linux kernel.
Founder: Linus Torvalds
Initial release: September 17, 1991
Userland: GNU
Written in: Primarily the C programming language
Varieties: Many distributions (e.g., Ubuntu, Fedora, Debian) — all share the same kernel but differ in package management and user interface.
Kernel: Monolithic kernel (the Linux kernel itself)
Key characteristic: The Linux terminal is very famous and widely used by programmers, but the system can be more complex for beginners compared to Windows or macOS.
Windows
Definition: A group of several proprietary graphical operating system families developed and marketed by Microsoft Corporation.
Founder: Microsoft Corporation (founded by Bill Gates)
Initial release: November 20, 1985 — one of the earliest operating systems.
Userland: IA-32, x86-64, ARM, ARM64
Written in: Multiple languages including C++, C#, JavaScript, Visual Basic, and C.
Varieties: Many versions (Windows 10, Windows 11, etc.) that are very similar in core design.
Kernel: Windows NT kernel (for modern versions); earlier versions used a monolithic kernel based on MS-DOS.
macOS
Definition: A series of proprietary graphical operating systems developed and marketed by Apple Inc. since 2001.
Founder: Apple Inc.
Initial release: March 24, 2001 — one of the newer major OSes, yet it grew rapidly in popularity.
Userland: NeXTSTEP, BSD, and Mach
Written in: C, C++, Objective-C, Swift, and assembly language.
Varieties: Many versions (e.g., macOS Mojave, macOS Catalina, macOS Ventura) — all very similar.
Kernel: Hybrid kernel (XNU — "X is Not Unix")
Major Smartphone Operating Systems
Together, Android and iOS account for over 98% of the mobile OS market share. Android holds approximately 87%, iOS roughly 22%.
iOS
Definition: A mobile operating system created and developed by Apple Inc. exclusively for its hardware (iPhone, iPad, iPod Touch, Apple Watch).
Founder: Apple Inc.
Initial release: June 29, 2007
Userland: Multiple components (details in source)
Written in: C, C++, Objective-C, Swift, and assembly language — similar to macOS.
Varieties: Many versions, all very similar.
Kernel: XNU (same hybrid kernel as macOS)
Android
Definition: A mobile operating system based on a modified version of the Linux kernel and other open-source software, designed primarily for touchscreen devices.
Founder: Primarily Google and the Open Handset Alliance (Google is the main force).
Initial release: September 23, 2008 (notably after iOS)
Userland: Various (x86, x86-64, ARM, ARM64)
Written in: Many languages including Java, C, C++, XML, assembly language, Python, Shell script, Go, and Markdown.
Varieties: Many versions from different manufacturers — they are not similar in appearance despite sharing Google apps (YouTube, Google Play, Gmail, etc.) and the modified Linux kernel.
Kernel: Modified Linux kernel
What Is an Operating System?
An operating system acts as an intermediary between the user and the computer hardware. Its purpose is to provide a way for users to interact with computer hardware in an efficient manner.
Analogy: Think of the operating system as a translator. If a user speaks English and the computer "speaks" machine language (binary), the OS translates user actions (typing, mouse clicks) into commands the hardware understands.
An OS is a software that manages the computer's hardware. The hardware must provide mechanisms to ensure correct operation and prevent user programs from interfering with system functions. Essentially, the OS has complete control over the hardware and translates user commands while ensuring the system does not perform unintended actions.
Three Main Functions of an Operating System
An effective operating system must perform three core functions:
Convenience — The OS should make the user-hardware interface easier. If it becomes more difficult than directly programming the hardware, it fails as an OS.
Efficiency — The OS must distribute computer resources efficiently, preventing waste of energy or computational power.
Ability to Improve (Modifiability) — The OS should allow updates and modifications without disrupting main functionality. For example, macOS updates (e.g., from Mojave to Catalina) typically take 10–20 minutes and preserve user files and programs.
Input/Output Subsystem Management
The I/O system manager keeps track of the status of hardware devices (contrievances). Each device has a handler that resides in a separate component. The I/O subsystem includes:
Memory management components such as buffering, caching, and spooling.
A general device driver interface for concrete hardware.
An assembler that takes assembly language programs and outputs object programs plus information for the loader.
Historically, programmers had to input programs as machine language (ones and zeros). Operating systems have vastly simplified this interface, making programming and debugging much more accessible.
Main Types of Operating Systems
Batch Operating System — Runs a series of programs automatically. For example, when opening a web browser (like Chrome), the OS opens a series of digital files (the individual components of the browser: search bar, logo, history, etc.) without manual approval beyond the initial click.
Timesharing Operating System — Allows many users to use a computer on seemingly separate accounts while sharing the same hardware resources. This maximizes utilization. Example: school or university computers where each student has a separate account but the system runs on a single hard drive.
Distributed Operating System — Groups multiple computers together so they appear as a single system to the user. A person can use multiple PCs and monitors as one unified OS.
Network Operating System — A group of computers run as one via a network, often used for security. Common in businesses, educational facilities, and security-focused environments to promote convenient usage and resource conservation.
Examples of Operating Systems and Their Usage
Windows — Used on x86-based PCs (general computing).
Linux — Used on personal workstations, as ISP file/print servers, and in three-tier client-server architectures.
macOS — Used on Apple's personal computers and workstations: MacBook Pro, MacBook Air, iMac, and Mac Pro (which can be connected to any monitor without buying a complete Mac).
Android — Google-owned OS used on smartwatches, smartphones, tablets, and more.
iOS — Apple's OS for iPhone, iPad, and iPod Touch.
Every computer must have an operating system to run other programs. The OS coordinates hardware usage among system and application programs, providing an environment for them to do useful work.
The OS performs rudimentary tasks: receiving input from the keyboard, keeping track of files and directories on the disk, sending output to the display screen, and controlling peripheral devices.
Two Fundamental Purposes of an OS
Resource Management — Controls the allocation and utilization of the computing system's resources among tasks and utilities.
Interface Provision — Provides an interface between computer hardware and the programmer, simplifying and making feasible the coding, debugging, and running of application programs.
Operating systems can fix problems automatically without user awareness. In the early days of computing, debugging a simple bug could take months or even years when programmers had to input zeros and ones. Modern operating systems have made computing vastly more efficient and accessible.

Ask anything
We've read this whole study set, so questions about it get the best answers.