The operating system: role and families

What an operating system does between programs and hardware, and the main families: Unix and BSD, Linux and its distributions, macOS, Windows, Android, iOS.

  • 26 cards
  • 5 topics
  • Free

The outline, topic by topic

Each topic is weighted the way the exam weighs it.

  1. Concepts
  2. Questions
  3. Sort and link
  4. Scenarios
  5. Understand

A few cards from the deck

  • Operating system: what is it?

    Show the answer

    The base software that shares the processor, memory, files and devices between programs, and protects each one from the others.

    Without it, every program would have to drive the hardware itself and could overwrite its neighbour's memory.

  • Ubuntu, Debian and Fedora are:

    • three distributions built around the Linux kernel
    • three different kernels written by separate teams
    • three successive versions of one single Linux system
    • three Unix-derived systems that do not use Linux at all
    Show the answer

    three distributions built around the Linux kernel

    They share the same kind of kernel; their tools, packages and update policy set them apart, not the kernel.

  • Android runs on the … kernel, iOS and macOS on the … kernel, Windows on the … kernel.

    Show the answer

    Android runs on the Linux kernel, iOS and macOS on the XNU kernel, Windows on the NT kernel.

    A product name hides a kernel: Ubuntu and Android share a Linux kernel but not the rest of their software.

  • Linux distribution: what is it?

    Show the answer

    A ready-to-install bundle that brings together the Linux kernel, system tools, a package manager and software.

    Debian, Ubuntu, Fedora and Arch share the same base kernel; they differ in their packages, defaults and update pace.

  • A tutorial written for Ubuntu says sudo apt install htop. On a Fedora machine, the command answers "apt: command not found". What is the most likely cause?

    • Fedora uses another package manager, dnf, and not apt
    • Fedora's kernel is too old to run apt
    • apt is reserved for the root account, and the current account lacks that right
    • The terminal is not a Bash shell, and only Bash knows apt
    Show the answer

    Fedora uses another package manager, dnf, and not apt

    The kernel is the same; what changes is the distribution's tooling. Debian and Ubuntu use apt, Fedora uses dnf. A missing right would have given a different message.