Where the operating system sits
- You (the user) Give commands by clicking, touching or typing.
- Application software Does your task, such as a word processor or a browser.
- Operating system Passes requests to the hardware and shares it between programs.
- Hardware CPU, memory, disk and printer do the actual work.
| Function | What the OS does | Example |
|---|---|---|
| Process management | Starts and stops programs and shares the CPU's time among them | Music plays while you type a letter |
| Memory management | Gives each running program its share of RAM and takes it back when the program closes | Closing a program frees memory for another |
| File management | Creates, names, saves, copies, moves and deletes files and folders | Saving a document in a folder |
| Device management | Controls printers, keyboards, screens and other devices through drivers | Printing a page |
| Security and users | Checks passwords, keeps each user's files separate, controls permissions | Signing in with your own account |
| User interface | Gives you a way to give commands: graphical (GUI) or typed (CLI) | Clicking an icon or typing a command |
| Type | Meaning |
|---|---|
| Single-user | One person uses the computer at a time |
| Multi-user | Several users can use the computer's resources at the same time |
| Multitasking | Several programs run at once, the CPU switching quickly between them |
| Batch | Similar jobs are collected and run together without a user waiting at the machine |
| Real-time | Must respond within a strict, fixed time, as in air traffic control or a car's airbag system |
How a computer boots
- Press the power button
- POST The firmware (BIOS or UEFI) checks memory, keyboard and basic hardware.
- Find the boot loader The firmware finds it on the disk.
- Load the kernel The boot loader loads it from the disk into RAM.
- Sign-in screen The OS starts its services, then shows the desktop.
OS = manager of processes, memory, files, devices, security and the user interface. Kernel = core; shell = interface. Power on → POST → boot loader → kernel → sign-in.
Key takeaways: the operating system is system software that manages hardware and software and gives you an interface. Windows, Linux and macOS run on computers; Android and iOS on phones. Booting starts with the POST and ends at the sign-in screen.