It is nine in the morning in a government office in Dhaka. A clerk finishes a report and presses Ctrl+S. The file is saved, yet nothing else stops: the music in another tab keeps playing, a download carries on in the background, and the shared printer is busy with a colleague's job. The clerk never told the disk where to put the report. Nobody told the processor to give a few milliseconds to the music, a few to the download, and then go back to Word. All of it happens at once, and nothing gets overwritten or lost.
Something is doing this work. It sits between the programs and the machine, and it is the first big program to start when the computer is switched on. It is the operating system, and this chapter is about what it is, what it does, which ones exist and how they are classified. Examiners love the topic: "Which of these is not an OS?", "Which OS is used for real-time systems?", "Difference between multitasking and multiprocessing", "Functions of an operating system".
By the end of the chapter you'll be able to define an OS from both of its classic viewpoints and list its functions with an example for each. You'll tell system software from application software and place utilities and translators correctly. You'll recognise the main OS families, CLI from GUI, open source from proprietary. You'll explain batch, multiprogramming and time-sharing and work out CPU utilisation with the formula 1 − pⁿ. You'll tell multitasking from multiprocessing, tightly from loosely coupled, a distributed OS from a network OS. And you'll say what makes a real-time, embedded or mobile OS different from the one on your desk.
We go in seven parts, from the plainest idea to the most specialised: what an OS is; what it does; where it fits among the other kinds of software; the families, and the way we talk to them; how one CPU serves many jobs; how many CPUs and many computers work together; and the special-purpose systems, real-time, embedded and mobile.