answersLogoWhite
Software and Applications (non-game)
Computer Programming
The Difference Between

What is the difference between time sharing and multiprogramming?


Top Answer
User Avatar
Wiki User
Answered 2013-03-14 20:44:20

Both terms are used to describe a computer process known as multi-tasking, where a single CPU core switches between tasks periodically to reduce inefficiency and wasted time, and to allow the user to perform multiple tasks at the same time. The difference between the two are technical distinctions, rather than a difference in their intended effect.


Multiprogramming was the first form of multi-tasking, and introduced in the the concept of yielding. When an instruction could not be completed immediately (such as when reading from a disk or other slowperipheral, the current task was set aside, and another task would run until the data from the paused task was ready.


Some time later, time sharing was introduced to allow more fine-grained control over the yielding process. The first form was known as cooperative time sharing. In this model, a program would run for a while and then willingly relinquish control so that another process could have a chance. This was referred to as cooperative time sharing. This model had some drawbacks, as programs could be written incorrectly and fail to yield in a timely manner, causing the system to become slow and unresponsive. Additionally, programs cooperated in the same unprotected memory space, so a crash of one program meant that the entire system could be brought down by a single fault.


Advances in hardware allowed for the processes to be interrupted by the operating system. This brought about the next generation of time sharing, known as preemptive time sharing. Along with this model came advances in virtual memory that allowed each program to run in its own virtual memory space. No longer would a single program cause a systemic crash, and a program could no longer fail to yield (in theory, at least).

001
๐Ÿ™
0
๐Ÿคจ
0
๐Ÿ˜ฎ
0
๐Ÿ˜‚
0
User Avatar

Your Answer

Loading...

Still Have Questions?

Related Questions

What is the difference between Real time system and Multiprogrammed system?

Time Sharing 01. Time Sharing is the logical extension of multiprogramming, in this time sharing Operating system many users/processes are allocated with computer resources in respective time slots. Multiprogramming 01. Multiprogramming operating system allows to execute multiple processes by monitoring their process states and switching in between processes. Time Sharing 02.Processors time is shared with multiple users thatโ€™s why it is called as time sharing operating system. Multiprogramming 02.Processor and memory underutilization problem is resolved and multiple programs runs on CPU thatโ€™s why it is called multiprogramming. Time Sharing 3. In time sharing OS system depends on time to switch between different processes. Multiprogramming 3. In Multiprogramming OS, system depends on devices to switch between tasks such I/O interrupts etc. Time Sharing 4. System model of time sharing system is multiple programs and multiple users. Multiprogramming 4. System model of multiprogramming system is multiple programs. Time Sharing 5. In this process, two or more users can use a processor in their terminal. Multiprogramming 5. In this, the process can be executed by a single processor. Time Sharing **6.**Time sharing OS has fixed time slice. Multiprogramming 7. Multi-programming OS has no fixed time slice. Time Sharing **8.**Time sharing system maximizes response time. Multiprogramming 8. Multiprogramming system maximizes response time. Time Sharing 9. Example: Windows NT. Multiprogramming 9. Example: Mac OS.


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 time sharing also multi programming?

of course... time sharing is multiprogramming... and not vice versa


What do multiprogramming and time sharing have in common?

Time-sharing and multiprogramming have various differences. However, these two environments share the feature whereby several users can use the system at the same time.


Difference between uniprogramming and multiprogramming?

In Multiprogramming it is possible to run several programs at same time rather than one at a time in uniprogramming.. and higher resource utilization.


Difference between batch sharing and time sharing?

The main difference between batch sharing and time sharing is that in batch sharing system tasks are processed in order in which they arrive. Whereas, in the later the system switches between tasks.


What is the difference between multiprogramming and time sharing OS?

Multiprograming system is that system in which multiple programs run at same time or simontaniously for example windows xp.in this system does not provide user interaction with the coputer system. But time sharing systemis that provide user interaction with system and user thinks that system is with him all the time.


How can a system with uniprocessor undertake multiprogramming?

By time sharing and using proper job mix


What is the difference between multiprogramming and time sharing in operating system?

Multiprograming system is that system in which multiple programs run at same time or simontaniously for example windows xp.in this system does not provide user interaction with the coputer system. But time sharing systemis that provide user interaction with system and user thinks that system is with him all the time.


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

Operating System level.


Difference between batch processing and time sharing?

In batch processing the tasks are performed in batches. In time sharing, the operating system shares the time between each task.


In a multiprogramming and time-sharing environment several users share the system simultaneosly This situation can result in various security problems a- What are two such problems b Can you ensure t?

The problems are created by several users share the time-sharing and multiprogramming system. So I think the created security problems are:


Difference between Time sharing operating system and batch processing operating system?

Differentiate between Simple Batch Operating Systems and Time-sharing Operating Systems


What are the differences of the time sharing and multiprogramming?

Time-sharing is an approach to interactive computing in which a single computer is used to provide apparently simultaneous interactive general-purpose computing to multiple users by sharing processor time. So basically, time sharing is for multi-user computer systems. Multiprogramming is A form of processing in which a computer holds more than one program in memory and works on them in round-robin fashion that is, by sharing out the processor's time so that each program receives some attention some of the time. This way of working is in contrast to using the processor to run one program at a time.


What is the difference between multiprogramming and multitasking?

no of tasks can be done at a time is called multi tasking no of programmes can be executed in a single system is called multi programming


'What is the difference between multiprogramming and multitasking and what is meaning of a task if we consider a task as a program then the concept will be multiprogramming then what is the differenc?

First of all there is difference between program and a task. There may be multiple tasks running related to one program at the same time. so if the processor is busy in multiple tasks related to one program then it is multitasking. But if the multiple tasks which the processor is executing concurrently are related to different independent programs then the concept is know as multiprogramming.


What is difference between uni-programming and multiprogramming?

multiprogramming or multitasking means more than one program can execute at the same time. It is the allocation of a computer system and its resources to more than one application at the same time. However in uni-programming you can have only one program running at any point in time.


In a multiprogramming and time-sharing environment several users share the system simultaneously This situation can result in various security problems?

security problems


In multiprogramming and time-sharing environment several users shat the system simultaneously. This situation can result in various security problems?

2


What are the benefits of multiprogramming?

using multiprogramming we can save the time multiprogramming resources to more than one current application i.e we can run multiple applications at a time that's way we refuses the time


What is the difference between multitasking and multiprograming?

Multitasking is being able to do more than one thing at a time. Multiprogramming is using more than one 'language' to accomplish a task.


Why time sharing is more complex than multiprogramming?

because your your lecturer as given it to you as an assignment,and you are asking to solved it for you because you fail to answer it. so you are careless and don't have any future you and your lecturer.


What is the difference between multi processing and multi sharing?

multi processing is nothing but executing multiple thrads on multiple processors at a time....


What is multiprogramming?

multiprogramming lets you do more than one thing at a timeansmultiprogramming is also called multi-threading here more than one operation in a program takes place..


Why is multiprogramming used?

Such that lesser time are needed to wait.