Computer Software and Operating Systems (9hrs) · Computer Fundamentals & Emerging Technologies

macOS

1. What macOS Is

macOS is Apple's proprietary, UNIX-based desktop operating system for Macintosh computers, derived from the Darwin core (the Mach microkernel plus BSD UNIX services) and topped with Apple's Aqua graphical interface. It is famous for its polished, consistent interface, its tight integration with Apple hardware and services (iCloud, AirDrop, Continuity) and for being a certified UNIX system — the Terminal gives full command-line power. Releases (Ventura, Sonoma, Sequoia …) are free upgrades for supported Macs, and macOS now shares much of its base with iOS/iPadOS (Darwin, Metal, Swift).

2. Architecture Layers

Layer Contents Role
Hardware Apple Silicon (M-series) or Intel CPU, SSD, GPU Physical machine
Darwin kernel Mach microkernel + BSD subsystem + I/O Kit Processes, virtual memory, networking, file systems, drivers
Core services Core Foundation, libSystem, Grand Central Dispatch, SQLite, OpenCL/Metal Base services for applications: memory, threading, databases, graphics acceleration
Media & graphics Quartz (2D), Core Animation, Core Audio/Video, Metal (3D) Drawing, animation, audio and video pipelines
Application frameworks Cocoa, SwiftUI, AppKit, Foundation Reusable classes for building apps in Swift/Objective-C
User interface (Aqua) Dock, Finder, Mission Control, Spotlight, Launchpad What the user sees and clicks

The kernel is technically a hybrid: Mach provides microkernel-style messaging, while BSD code runs inside the same kernel address space for performance — the same compromise Windows NT makes.

3. File System and Storage

  • APFS (Apple File System), introduced in 2017, is the default: a copy-on-write file system that supports snapshots, containers with multiple volumes sharing free space, native full-disk encryption, sparse files, clones (instant copies that share blocks) and crash protection through checksums. The older HFS+ is legacy. APFS is case-insensitive by default (a case-sensitive variant exists) while remaining case-preserving.
  • Paths follow UNIX convention with /: /Users/raiyan/Documents/notes.txt. ~ is shorthand for the user's home folder.
  • Bundles: an application like Safari.app is actually a folder containing the executable, resources and Info.plist — which is why apps install by dragging one icon.
  • Time Machine performs automatic hourly/daily/weekly snapshots and backups to an external disk or network volume.
 /
 ├── Applications/     installed .app bundles
 ├── Library/          system-wide preferences, fonts, frameworks
 ├── System/           the protected operating system (SIP-protected)
 ├── Users/
 │    └── raiyan/      Desktop, Documents, Downloads, Pictures, Library (hidden)
 ├── private/ etc, var, tmp   UNIX internals; /etc and /var are symlinks here
 └── Volumes/          mounted disks, external drives, disk images

4. Interface and Built-in Features

Dock (favourite & running apps) · Finder (file browser with column view, tags, Quick Look) · Mission Control (all windows and desktops) · Spotlight (instant search across files, apps, web, calculations) · Launchpad · Terminal with zsh (all UNIX commands work: ls, chmod, grep, ssh) · Homebrew as the de-facto package manager · Xcode with the Swift language · iCloud Drive, AirDrop, Handoff/Continuity for sharing work between Apple devices · Preview/QuickTime for media.

5. Security and Reliability

  • Gatekeeper — only apps signed by a recognised developer, and notarised by Apple, run without an explicit override.
  • Sandboxing — apps declare the resources they need and are prevented from touching anything else; this is why macOS apps ask for permission to use the camera or contacts (TCC privacy prompts).
  • FileVault — full-disk XTS-AES-128 encryption tied to the user's password.
  • SIP (System Integrity Protection) — even the root user cannot modify protected system files and folders.
  • XProtect / MRT — built-in malware signature scanning and removal tool, updated silently by Apple.
  • App Store review and code signing ensure distribution integrity.

6. macOS vs Windows vs Linux

Basis macOS Windows Linux
Licence Proprietary, Apple hardware only Proprietary, licensed to many OEMs Open source, many distros
Kernel Hybrid (Mach + BSD) Hybrid (NT) Monolithic, modular
Default file system APFS NTFS ext4 / XFS / Btrfs
Primary UI Aqua GUI + zsh terminal Windows GUI + cmd/PowerShell GUI optional, CLI central
Package management App Store, Homebrew Store, winget, installers apt, dnf, pacman
Security model Gatekeeper, sandbox, SIP, FileVault Defender, UAC, BitLocker, ACLs SELinux/AppArmor, rwx, sudo
UNIX compatibility Certified UNIX (POSIX) Limited (WSL adds Linux) Native POSIX
Typical users Creative professionals, developers Home, office, gaming, enterprise Servers, cloud, developers

7. Advantages and Limitations

Advantages: seamless hardware-software integration, excellent battery life and performance on Apple Silicon, clean and consistent UI, strong built-in security, UNIX tooling, high-quality creative and development software, reliable updates, superb ecosystem with iPhone/iPad.
Limitations: runs only on Apple hardware; expensive hardware and repairs; limited upgradeability (soldered RAM/SSD); fewer gaming titles and specialised engineering packages than Windows; some enterprise software is Windows-only; less freedom to tinker with the OS than Linux.

8. Exam Points

  • What is macOS? Name the kernel family it is based on — 3 marks.
  • Draw/describe the architecture layers of macOS (Darwin, core services, frameworks, Aqua) — 5 marks.
  • Write short notes on APFS and its features (snapshots, encryption, space sharing) — 5 marks.
  • Compare macOS, Windows and Linux (tabular) — 5 marks, frequent.
  • Explain Gatekeeper, sandboxing, SIP and FileVault — 5 marks.
  • What is a bundle in macOS and how does it simplify installation? — 3 marks.
AI LearningWeb Platform

Coursify — Personal AI Course Generator

Struggling with a difficult subject or concept? Turn any engineering topic into a structured course with interactive lessons, quizzes, and research-backed explanations.

← All Computer Fundamentals & Emerging Technologies modules