When the operating system concurrently execute many programs it is called?

z/OS® is capable of multiprogramming, or executing many programs concurrently, and of multiprocessing, which is the simultaneous operation of two or more processors that share the various hardware resources.

The earliest operating systems were used to control single-user computer systems. In those days, the operating system would read in one job, find the data and devices the job needed, let the job run to completion, and then read in another job. In contrast, the computer systems that z/OS manages are capable of multiprogramming, or executing many programs concurrently. With multiprogramming, when a job cannot use the processor, the system can suspend, or interrupt, the job, freeing the processor to work on another job.

z/OS makes multiprogramming possible by capturing and saving all the relevant information about the interrupted program before allowing another program to execute. When the interrupted program is ready to begin executing again, it can resume execution just where it left off. Multiprogramming allows z/OS to run thousands of programs simultaneously for users who might be working on different projects at different physical locations around the world.

z/OS can also perform multiprocessing, which is the simultaneous operation of two or more processors that share the various hardware resources, such as memory and external disk storage devices.

The techniques of multiprogramming and multiprocessing make z/OS ideally suited for processing workloads that require many input/output (I/O) operations. Typical mainframe workloads include long-running applications that write updates to millions of records in a database, and online applications for thousands of interactive users at any given time.

By way of contrast, consider the operating system that might be used for a single-user computer system. Such an operating system would need to execute programs on behalf of one user only. In the case of a personal computer (PC), for example, the entire resources of the machine are often at the disposal of one user.

Many users running many separate programs means that, along with large amounts of complex hardware, z/OS needs large amounts of memory to ensure suitable system performance. Large companies run sophisticated business applications that access large databases and industry-strength middleware products. Such applications require the operating system to protect privacy among users, as well as enable the sharing of databases and software services.

Thus, multiprogramming, multiprocessing, and the need for a large amount of memory mean that z/OS must provide function beyond simple, single-user applications. The related concepts listed below explain the attributes that enable z/OS to manage complex computer configurations.

When you approach operating system concepts there might be several confusing terms that may look similar but in fact refer to different concepts.

In this post, I will try to clarify four of such terms which often cause perplexity: those are multiprogramming, multiprocessing, multitasking, and multithreading.

In a modern computing system, there are usually several concurrent application processes which compete for (few) resources like, for instance, the CPU. As we have already introduced, the Operating System (OS), amongst other duties, is responsible for the effective and efficient allocation of those resources. Generally speaking, the OS module which handles resource allocation is called scheduler. On the basis of the type of OS to be realized, different scheduling policies may be implemented.

While every effort has been made to follow citation style rules, there may be some discrepancies. Please refer to the appropriate style manual or other sources if you have any questions.

Select Citation Style

Copy Citation

Share

Share

Share to social media

Facebook Twitter

URL

https://www.britannica.com/technology/concurrent-programming

Give Feedback

External Websites

Feedback

Corrections? Updates? Omissions? Let us know if you have suggestions to improve this article (requires login).

Feedback Type

Your Feedback Submit Feedback

Thank you for your feedback

Our editors will review what you’ve submitted and determine whether to revise the article.

External Websites

  • University of California, Davis - The JR Concurrent Programming Language
  • Rice University - Concurrent Programming

Print Cite

verifiedCite

While every effort has been made to follow citation style rules, there may be some discrepancies. Please refer to the appropriate style manual or other sources if you have any questions.

Select Citation Style

Copy Citation

Share

Share

Share to social media

Facebook Twitter

URL

https://www.britannica.com/technology/concurrent-programming

Feedback

External Websites

Feedback

Corrections? Updates? Omissions? Let us know if you have suggestions to improve this article (requires login).

Feedback Type

Your Feedback Submit Feedback

Thank you for your feedback

Our editors will review what you’ve submitted and determine whether to revise the article.

External Websites

  • University of California, Davis - The JR Concurrent Programming Language
  • Rice University - Concurrent Programming

By The Editors of Encyclopaedia Britannica

Table of Contents

Related Topics:computer program...(Show more)

See all related content →

concurrent programming, computer programming in which, during a period of time, multiple processes are being executed. For example, two processes can be interleaved so that they are executed in turns. Parallel computing is similar but with multiple processes being executed at the same time on multiple processors, where more than one processor is used to execute a program or complex of programs running simultaneously. The term parallel computing is also used for programming designed for a multitasking environment, where two or more programs share the same memory while running concurrently.

What is it called when an operating system executes many programs simultaneously?

Multitasking - Multitasking is the ability of an operating system to execute more than one task simultaneously on single processor machine, these multiple tasks share common resources such as CPU and memory.

What is concurrent execution in operating system?

Concurrency is the execution of the multiple instruction sequences at the same time. It happens in the operating system when there are several process threads running in parallel. The running process threads always communicate with each other through shared memory or message passing.

Which operating system has more than one task executed concurrently?

A multitasking operating system can run multiple tasks at the same time. In a multitasking operating system, context-switching and time-sharing are used. CPU idle time is significantly decreased in the multitasking operating system. 1 CPU is required in multitasking operating system.

When the OS allows the execution of program multiple times at a time?

Multitasking term used in a modern computer system. It is a logical extension of a multiprogramming system that enables the execution of multiple programs simultaneously. In an operating system, multitasking allows a user to perform more than one computer task simultaneously.