the running of two or more programs (sets of instructions) in one computer at the same time. Multitasking is used to keep all of a computer’s resources at work as much of the time as possible. It is controlled by the operating system, which loads programs into the computer for processing and oversees their execution until they are finished.
Multitasking involves overlapping and interleaving the execution of several programs. This is often achieved by capitalizing on the difference between a computer’s rapid processing capacity and the slower rates of its input/output devices. While the computer is reading data from a magnetic disk at a fairly limited rate, for example, its powerful central processor can execute at high speed another program that involves extensive calculations but very little input. Operating systems coordinate the competing demands of various programs in a variety of ways. Two programs can be executed on a small computer using a foreground/background system, in which the computer executes the instructions of one program only in between the times it devotes to running another program of higher priority. Such a system makes use of idle times in some tasks, such as the minute delays between keyboard entries, to execute instructions in the background program. In many multitasking operations, a computer’s microprocessors switch their attention back and forth between different programs in fractions of seconds.
Link to this article and share the full text with the readers of your Web site or blog-post.
If you think a reference to this article on "multitasking" will enhance your Web site,
blog-post, or any other web-content, then feel free to link to this article,
and your readers will gain full access to the full article, even if they do not subscribe to our service.
You may want to use the HTML code fragment provided below.
We welcome your comments. Any revisions or updates suggested for this article will be reviewed by our editorial staff. Contact us here.
Regular users of Britannica may notice that this comments feature is less robust than in the past. This is only temporary, while we make the transition to a dramatically new and richer site. The functionality of the system will be restored soon.