Difference between time sharing and real time operating system

Always, students have confusion between real time and time sharing operating system as both of them uses the same principle of time sharing but differs in one approach which is explained in the article given below.

Difference between time sharing and real time operating system?Both time sharing and real time operating system are used for the effective utilization of resources such that it reduces the spare time of CPU but both of them allows the users to work on the some CPU at same time using time slot which provides equal time intervals for various process for their execution. But, still both of them are different from each other which is explained below as follows-

In time sharing operating system, equal time slots are provided to processor for execution of programs which also leads to the context switching, in which process shifts control from one to another. In case any process does not complete its working within time slot then extra time slot will not be given to it. For example- you are running a process with a time slot of 5 seconds and in case process does not complete in 5 second and requires 1 extra second then it will be executed in next execution cycle but time slot will not be extended.

The real time sharing operating system is used in which different processes are executed for some time slot but in some process execution, time slot can be extended for process execution but context switching can also take place in same manner. For example- in case you are executing a process which requires 7 seconds for its completion but process requires 8 seconds then 1 second time period will be extended and after that another time switching take place.

Related Articles

How to install more than one operating system in your computer

If there is sufficient hard disk space in your computer, it is possible to install a newer version of windows in a seperate partition and keep the current version of windows. This articles describes how to install more than one operating systems in the same computer.

Operating systems - definition, working and types

Operating systems are software's used for easy interaction with the machine. You can read details of the definitions, working of OS, its functions and different types of operating systems from this article.

More articles: Operating Systems


Author: Bharath19 Mar 2011 Member Level: Gold   Points : 1


Thank you very much chirag. Well! now i am very much clear about the difference between time sharing and real time operating system.
Great work.