operating system
Our editors will review what you’ve submitted and determine whether to revise the article.
- Mustansiriyah University - Operating System (PDF)
- Carnegie Mellon University - School of Computer Science - Introduction to Operating Systems
- Stanford University - Operating Systems (PDF)
- Al-Mustaqbal University - What is Operating System? Types of OS, Features and Examples
- GCF Global Learning - Computer Basics - Understanding Operating Systems
- Computer Hope - Operating system
- LOUIS Pressbooks - Computer Applications - Operating Systems
- San José State University - Nature and History of Operating Systems for Computers
- Engineering LibreTexts - Operating Systems
- University of Wisconsin-Madison - Computer Sciences - Introduction to Operating Systems
- Lifewire - Operating System (OS) Definition & Examples
News•
operating system (OS), program that manages acomputer’s resources, especially the allocation of those resources among other programs. Typical resources include thecentral processing unit (CPU),computer memory, file storage,input/output (I/O) devices, and network connections. Management tasks include scheduling resource use toavoid conflicts and interference between programs. Unlike most programs, which complete a task and terminate, an operating system runs indefinitely and terminates only when the computer is turned off.
Modernmultiprocessing operating systems allow many processes to be active, where each process is a “thread” of computation being used to execute a program. One form of multiprocessing is calledtime-sharing, which lets many users share computer access by rapidly switching between them. Time-sharing must guard against interference between users’ programs, and most systems usevirtual memory, in which the memory, or “address space,” used by a program may reside in secondary memory (such as on a magnetichard disk drive) when not in immediate use, to beswapped back to occupy the faster main computer memory on demand. This virtual memory both increases the address space available to a program and helps to prevent programs from interfering with each other, but it requires careful control by the operating system and a set of allocation tables to keep track of memory use. Perhaps the most delicate and critical task for a modern operating system is allocation of the CPU; each process is allowed to use the CPU for a limited time, which may be a fraction of a second, and then must give up control and become suspended until its next turn. Switching between processes must itself use the CPU while protecting all data of the processes.
The firstdigital computers had no operating systems. They ran one program at a time, which had command of all system resources, and a human operator would provide any special resources needed. The first operating systems were developed in the mid-1950s. These were small “supervisor programs” that provided basic I/O operations (such as controlling punch card readers and printers) and kept accounts of CPU usage for billing. Supervisor programs also providedmultiprogrammingcapabilities to enable several programs to run at once. This was particularly important so that these early multimillion-dollar machines would not be idle during slow I/O operations.

Computers acquired more powerful operating systems in the 1960s with the emergence of time-sharing, which required a system to manage multiple users sharing CPU time and terminals. Two early time-sharing systems were CTSS (Compatible Time Sharing System), developed at theMassachusetts Institute of Technology, and the Dartmouth College Basic System, developed atDartmouth College. Other multiprogrammed systems included Atlas, at theUniversity of Manchester, England, andIBM’s OS/360, probably the most complexsoftware package of the 1960s. After 1972 theMultics system forGeneral Electric Co.’s GE 645 computer (and later forHoneywell Inc.’s computers) became the most sophisticated system, with most of the multiprogramming and time-sharing capabilities that later became standard.
Theminicomputers of the 1970s had limited memory and required smaller operating systems. The most important operating system of that period wasUNIX, developed byAT&T for large minicomputers as a simpleralternative to Multics. It became widely used in the 1980s, in part because it was free to universities and in part because it was designed with a set of tools that were powerful in the hands of skilled programmers. More recently,Linux, anopen-source version of UNIX developed in part by a group led by Finnishcomputer science studentLinus Torvalds and in part by a group led by American computer programmerRichard Stallman, has become popular onpersonal computers as well as on larger computers.
In addition to such general-purpose systems, special-purpose operating systems run on small computers that control assembly lines, aircraft, and even home appliances. They are real-time systems, designed to provide rapid response tosensors and to use their inputs to controlmachinery. Operating systems have also been developed for mobile devices such assmartphones andtablets.Apple Inc.’siOS, which runs oniPhones and iPads, andGoogle Inc.’sAndroid are two prominent mobile operating systems.
From the standpoint of a user or anapplication program, an operating system provides services. Some of these are simple user commands like “dir”—show the files on a disk—while others are low-level “system calls” that a graphics program might use to display an image. In either case the operating system provides appropriate access to its objects, the tables of disk locations in one case and the routines to transfer data to the screen in the other. Some of its routines, those that manage the CPU and memory, are generally accessible only to other portions of the operating system.
Contemporary operating systems for personal computers commonly provide agraphical user interface (GUI). The GUI may be anintrinsic part of the system, as in the older versions of Apple’sMac OS andMicrosoft Corporation’sWindows OS; in others it is a set of programs that depend on an underlying system, as in the X Window system for UNIX and Apple’s Mac OS X.
Operating systems also providenetwork services and file-sharing capabilities—even the ability to share resources between systems of different types, such as Windows and UNIX. Such sharing has becomefeasible through the introduction of networkprotocols (communication rules) such as theInternet’sTCP/IP.