answersLogoWhite

0


Best Answer

multiprogramming">multiprogrammingMultiprogramming is a rudimentary form of parallel processing in which several programs are run at the same time on a uniprocessor. Since there is only oneprocessor , there can be no true simultaneous execution of different programs. Instead, the operating system executes part of one program, then part of another, and so on. To the user it appears that all programs are executing at the same time.

If the machine has the capability of causing an interrupt after a specified time interval, then the operating system will execute each program for a given length of time, regain control, and then execute another program for a given length of time, and so on. In the absence of this mechanism, the operating system has no choice but to begin to execute a program with the expectation, but not the certainty, that the program will eventually return control to the operating system.

If the machine has the capability of protecting memory , then a bug in one program is less likely to interfere with the execution of other programs. In a system without memory protection, one program can change the contents of storage assigned to other programs or even the storage assigned to the operating system. The resulting system crashes are not only disruptive, they may be very difficult to debug since it may not be obvious which of several programs is At Fault.

A Multi programming or Multi tasking Operating system is the one which is capable of running multiple processes or tasks, by sharing the common resources like CPU. These operating systems use the concepts task-scheduling and context-switching for implementing the multitasking ability.

Task scheduling algorithms will identify the task to be run at a given time (time slice) and also which is the next task to run. These tasks will be queued for processing.

Context switching is a process, to store and restore the state of a CPU. When a process is executed the state of the CPU with respect to that process will be restored and while completing the time slice, the present state will be stored.

what is multiprogramming system in operating system?

where more than one program can pe execute at one time

User Avatar

Wiki User

12y ago
This answer is:
User Avatar
More answers
User Avatar

Wiki User

11y ago

what is multiprogramming system in operating system?

where more than one program can pe execute at one time

We know that there must be enough memory to hold the OS (resident monitor) and one user program. Suppose that there is room for the OS and two user programs. When one job needs to wait for I/O, the processor can switch to the other job, which is likely not waiting for I/O ( Figure 2.5b ). Furthermore, we might expand memory to hold three, four, or more programs and switch among all of them ( Figure 2.5c ). The approach is known as multiprogramming , or multitasking . It is the central theme of modern operating systems.

http://www.freeimagehosting.net/fox67

<a href="http://www.freeimagehosting.net/fox67"><img src="http://www.freeimagehosting.net/t/fox67.jpg"></a>

Figure 2.5a illustrates this situation, where we have a single program, referred to as uni-programming. The processor spends a certain amount of time executing, until it reaches an I/O instruction. It must then wait until that I/O instruction concludes before proceeding.

Source : Operating System internal and design 7 edition

This answer is:
User Avatar

User Avatar

Wiki User

12y ago

multiprogramming Multiprogramming is a rudimentary form of parallel processing in which several programs are run at the same time on a uniprocessor. Since there is only oneprocessor , there can be no true simultaneous execution of different programs. Instead, the operating system executes part of one program, then part of another, and so on. To the user it appears that all programs are executing at the same time.

If the machine has the capability of causing an interrupt after a specified time interval, then the operating system will execute each program for a given length of time, regain control, and then execute another program for a given length of time, and so on. In the absence of this mechanism, the operating system has no choice but to begin to execute a program with the expectation, but not the certainty, that the program will eventually return control to the operating system.

If the machine has the capability of protecting memory , then a bug in one program is less likely to interfere with the execution of other programs. In a system without memory protection, one program can change the contents of storage assigned to other programs or even the storage assigned to the operating system. The resulting system crashes are not only disruptive, they may be very difficult to debug since it may not be obvious which of several programs is at fault.

A Multi programming or Multi tasking Operating system is the one which is capable of running multiple processes or tasks, by sharing the common resources like CPU. These operating systems use the concepts task-scheduling and context-switching for implementing the multitasking ability.Task scheduling algorithms will identify the task to be run at a given time (time slice) and also which is the next task to run. These tasks will be queued for processing.Context switching is a process, to store and restore the state of a CPU. When a process is executed the state of the CPU with respect to that process will be restored and while completing the time slice, the present state will be stored.

what is multiprogramming system in operating system?where more than one program can pe execute at one time

This answer is:
User Avatar

User Avatar

Wiki User

12y ago

A Multi programming or Multi tasking Operating system is the one which is capable of running multiple processes or tasks, by sharing the common resources like CPU. These operating systems use the concepts task-scheduling and context-switching for implementing the multitasking ability.

Task scheduling algorithms will identify the task to be run at a given time (time slice) and also which is the next task to run. These tasks will be queued for processing.

Context switching is a process, to store and restore the state of a CPU. When a process is executed the state of the CPU with respect to that process will be restored and while completing the time slice, the present state will be stored.

This answer is:
User Avatar

User Avatar

Wiki User

9y ago

As the name suggests multitasking means system that can performs multiple tasks simultaneously. A multitasking OS is one that can handle more than one task at same time. It allows more than one application to run at the same time.

This answer is:
User Avatar

User Avatar

Wiki User

11y ago

multitasking operating system allows to perform more than one task at a time

This answer is:
User Avatar

User Avatar

Wiki User

11y ago

Permit more than one application to run at the same time. The foreground application is the active one. Background applications appear inactive.

This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What is Multiprogramming in Operating System?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

Is windows operating system multiprogramming or multitasking?

multiprogramming


Distinguish between multiprogramming operating system and time sharing operating system?

time sharing operating system is user interactive, but multiprogramming operating system need not be user interactive


Is UNIX multiprogramming programming operating system?

yes


Full diagram of multiprogramming operating system?

DIAGRAM


Example of multiprogramming operating system?

Windows, Linux, Unix.


What is the differences between multiprogramming operating system and multiuser operating system?

Multiprogramming System: In multiprogramming system the same memory is shared by different number of programmes. MultiUser system: More than one user can use the system at a time.There will one centralized server and the users connected with the system are called as dump terminals.


Explain all types of operating system with diagram?

There are basically four types of operating systems. They include Batch Operating System, Multiprogramming Operating System, Network Operating System and Distributed Operating System.


Write a note on multiprogramming operating system?

short note on multprogramming?


What are 5 Classification of each operating system?

1. BATCH PROCESSING operating system 2. MULTIPROGRAMMING operating system 3. TIME SHARING operating system 4. REAL TIME operating system 5. DISTRIBUTED operating system


What are the advantages of a multiprogramming operating system?

it increases the CPU utlisation cpu is never ideal


Is DOS a multiprocessing operating system?

MS-DOS supports multiprogramming to some extent.-


The virtual machine concept calls for multiprogramming or time sharing at the what level?

Operating System level.