An operating system serves as the computer’s general contractor. Image credit: Aa Amie/ShutterstockNearly every device on the market, from computers to smartphones to gaming consoles, shares one essential feature: they all require an operating system (OS) to function, run applications, and handle basic tasks. The leading choices for computers are Microsoft's Windows and Apple's MacOS, while Google's Chrome OS has gained popularity, particularly in affordable school laptops. For those seeking something more specialized, there's Linux, an open-source OS that offers extensive customization. These operating systems are crucial for making devices run smoothly, but what happens when a computer lacks an OS entirely?
Before diving into that, let’s first define the role of the OS. An operating system acts as the computer’s general contractor. While individual programs focus on their specific tasks — whether plumbing, electrical work, or carpentry — the OS manages them all, communicating their needs to the processor and ensuring they all use a common language to function harmoniously together.
Your operating system handles a lot of tasks you probably don’t think about. For example, it’s the OS (not just the hard drive) that decides how memory is managed. It assigns how much memory each process gets and ensures no memory is shared. Also, remember that your home computer is likely a single-user, multitasking system. That means it has one processor but can run multiple programs at the same time.
But here's the twist: It can't actually do that.
When you're downloading files, working on a spreadsheet, and listening to music, your computer might seem like it’s doing everything at once. But in reality, it’s rapidly switching between tasks at such a high speed that you don’t notice. While you think your CPU and OS are involved in every process, the programs themselves think they have full control of the operating system at any given time.
Essentially, the operating system is designed to let the CPU handle one task at a time. However, because it's a computer and not an overwhelmed assistant, it can multitask at such speed that the user won’t even realize. With multi-core CPUs, processors now handle four, six, or more tasks simultaneously. Still, the OS is the one that decides which task takes priority.
Now that we’ve explored how the operating system functions, let’s dive into what a computer would be like without one.
What Happens When a Computer Lacks an OS?
If an operating system handles all the tasks we rely on, it seems almost unimaginable that a computer could function without one.
In fact, the earliest computers didn’t use operating systems; these massive machines were built to run a single program at a time. Because of that, operating systems weren't necessary. In the beginning, users had to manually connect and disconnect wires on a plug board to get computations. But without an operating system, can you still make your computer do anything?
Yes, but it’s a lot of work. Without an operating system providing a standardized, organized method to operate the computer, you would be required to write code (or programs) that dictate exactly what the computer should do. For example, if you want to type a document, you'd need to create code from scratch to instruct the computer on how to respond to each keystroke. Then, you'd have to write more code to determine how those keystrokes should be displayed on the screen, including how to draw each character. Every function your word processor offers would require its own set of code written directly onto the hard drive.
Without an OS, your PC will rely on a small piece of firmware called the BIOS (Basic Input/Output System). The BIOS handles basic tasks such as resetting the clock, regulating voltage, and diagnosing system errors. Its main job is to select the installed disk from which to load the proper OS, so it can't handle more complex functions like word processing or web browsing.
Let's revisit our analogy of a general contractor. When constructing a house, you'll need certain features such as plumbing, electricity, and windows. Similarly, in a computer, we need programs for tasks like document creation, internet access, and photo storage. Without an operating system, it's not just that your "carpenter" doesn't know where to hammer nails into beams to build the room you need; it's also that you’d have to create both the hammer and the nails yourself.
An operating system provides a standardized set of tools and materials, like screws and lumber. It can seamlessly move between tasks so quickly, you'd hardly notice it left one task before beginning the next.
This is crucial because, remember, the operating system can only focus on one thing at a time. Without it, your computer can only run one program. You could create a document, save it, or print it, but you couldn’t simultaneously view that document and keep a clock running on your desktop. Without an operating system, you're restricted to just one task at a time.
The first viable home computer was the MITS Altair, released in 1975, but it had no screen, keyboard, or operating system. Recognizing the need for software, Bill Gates and Paul Allen founded Microsoft to build an OS for MITS. However, they only found true success after adapting a software known as QDOS (Quick & Dirty Operating System) for the IBM PC in 1981. This OS, later rebranded as MS-DOS, would eventually become the foundation for Windows.
