operating system
-
What is an operating system?
An operating system (OS) is a software that manages computer resources, allocating them to other programs. It handles tasks like file management, memory allocation, and network interfacing. Unlike regular programs, an operating system runs continuously until the computer is shut off.
Early operating systems managed batch processing, but with time-sharing, OS tasks grew to include managing multiple users and preventing program interference. Virtual memory was introduced to increase address space and prevent program interference, requiring careful OS control. Modern operating systems commonly feature a graphical user interface (GUI) and provide network services, enabling resource sharing across different systems.
6 Britannica SourcesCreated from Britannica articles using AI. AI can make mistakes, so verify using Britannica articles. -
Why do computers need an operating system?
Computers require an operating system (OS) to manage resources such as memory, CPU access, and peripheral devices for the user's programs. The OS offers services to application programs, manages the computer's resources, and allocates these resources among other programs. Without an OS, users would have to load programs manually and understand every hardware detail, making it an inefficient use of resources.
Early operating systems were small supervisor programs that coordinated several programs, accepted commands from the operator, and provided them all with basic I/O operations. Modern OSes allow several jobs to reside in the computer simultaneously and share resources.
3 Britannica SourcesCreated from Britannica articles using AI. AI can make mistakes, so verify using Britannica articles. -
What are some examples of operating systems?
An operating system (OS) is a program that manages computer resources, allocating them to other programs. Unlike typical programs, an OS runs continuously until the computer is shut off.
Examples of operating systems:
* Linux An open-source OS inspired by MINIX and UNIX, known for its efficiency and reliability. It is used in various systems, including servers, mobile phones, and supercomputers.
* Microsoft Windows The most widely used OS, known for its graphical user interface.
* MacOS Developed by Apple Inc. for Macintosh computers, it was one of the first OS to use a graphical user interface.
* Android Google's OS is used for mobile devices.
* Chrome OS Google's OS uses the Chrome browser and is Linux-based.
* iOS Apple's mobile operating system runs on iPhones and iPads.5 Britannica SourcesCreated from Britannica articles using AI. AI can make mistakes, so verify using Britannica articles. -
How does an operating system help us interact with a computer?
An operating system (OS) is essential for users to interact with a computer. It acts as an intermediary between the user and the computer's hardware, managing resources like memory, CPU access, and peripheral devices.
The OS provides a user interface, such as a graphical user interface (GUI), that allows users to execute commands and interact with the system. By managing hardware and software interactions, the OS enables users to run applications, manage files, and perform tasks without needing to understand the complex technical details of the computer's operation.
3 Britannica SourcesCreated from Britannica articles using AI. AI can make mistakes, so verify using Britannica articles. -
What are some important jobs that an operating system does?
An operating system (OS) is a program that manages a computer's resources, like the CPU, memory, storage, and network connections. It schedules resource use to prevent conflicts between programs. Unlike regular programs, an OS runs continuously until the computer is shut off.
Some important tasks of operating systems include:
* Resource Allocation Managing and allocating computer resources among different programs.
* Scheduling Scheduling the use of resources to avoid conflicts.
* Memory Management Using virtual memory to increase address space and prevent program interference.
* CPU Allocation Allocating CPU usage time for each process.
* Providing Services Providing user commands and system calls for programs.1 Britannica SourceCreated from Britannica articles using AI. AI can make mistakes, so verify using Britannica articles. -
How does an operating system manage memory and files?
An operating system (OS) manages a computer's resources, including memory and file storage. For memory management, modern OS employ virtual memory, providing programs with large address spaces that may exceed the actual RAM. Virtual memory uses both main memory and secondary storage (hard disk) to increase the address space available to a program. The OS automatically copies blocks of addresses between them as needed.
For file management, the OS maintains tables of files and their locations (directories). It also provides services such as simple user commands to show files on a disk. The OS allocates resources, schedules processes, and shares resources among users.
4 Britannica SourcesCreated from Britannica articles using AI. AI can make mistakes, so verify using Britannica articles.
operating system (OS), program that manages a computer’s resources, especially the allocation of those resources among other programs. Typical resources include the central processing unit (CPU), computer memory, file storage, input/output (I/O) devices, and network connections. Management tasks include scheduling resource use to avoid 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.
Modern multiprocessing 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 called time-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 use virtual memory, in which the memory, or “address space,” used by a program may reside in secondary memory (such as on a magnetic hard disk drive) when not in immediate use, to be swapped 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 first digital 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 provided multiprogramming capabilities 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 the Massachusetts Institute of Technology, and the Dartmouth College Basic System, developed at Dartmouth College. Other multiprogrammed systems included Atlas, at the University of Manchester, England, and IBM’s OS/360, probably the most complex software package of the 1960s. After 1972 the Multics system for General Electric Co.’s GE 645 computer (and later for Honeywell Inc.’s computers) became the most sophisticated system, with most of the multiprogramming and time-sharing capabilities that later became standard.
The minicomputers of the 1970s had limited memory and required smaller operating systems. The most important operating system of that period was UNIX, developed by AT&T for large minicomputers as a simpler alternative 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, an open-source version of UNIX developed in part by a group led by Finnish computer science student Linus Torvalds and in part by a group led by American computer programmer Richard Stallman, has become popular on personal 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 to sensors and to use their inputs to control machinery. Operating systems have also been developed for mobile devices such as smartphones and tablets. Apple Inc.’s iOS, which runs on iPhones and iPads, and Google Inc.’s Android are two prominent mobile operating systems.
From the standpoint of a user or an application 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 a graphical user interface (GUI). The GUI may be an intrinsic part of the system, as in the older versions of Apple’s Mac OS and Microsoft Corporation’s Windows 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 provide network services and file-sharing capabilities—even the ability to share resources between systems of different types, such as Windows and UNIX. Such sharing has become feasible through the introduction of network protocols (communication rules) such as the Internet’s TCP/IP.

" height="20" alt="HEW Logo">