Programmers Stack Exchange is a question and answer site for professional programmers interested in conceptual questions about software development. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Just going over my school notes, my teacher identifies multi-tasking OS, and time-sharing OS as two different things.
I really don't see a difference between the two.
MULTI-TASKING: You load a number of programs in the memory and execute them. You execute another program if the time quantum allocated to the current program expires OR if it goes on to do I/O and leaves the CPU OR if it finishes execution.
TIME-SHARING: the same,again.
The same applies in case of serial processing and batch processing. Although they are the same, I guess the only difference would be the way in which control information is passed to the CPU. Maybe, and again MAYBE, in serial processing you need to provide the punch cards with all the processes while in batch, the entire batch uses the same set of control information.
Like all the print jobs would have the same control information.

share|improve this question
With multiprocessor / multicore, you can have true multitasking where more programs actually run at the same time in parallel. – herby Sep 3 '12 at 19:35
Agreed, in single processor you just create an illusion. To a layman, it is still multiple processes executing simultaneously. So, m question still remains :/ – Dummy Derp Sep 3 '12 at 19:36
see – NoChance Sep 3 '12 at 22:52

Time-sharing and batch processing implies for me serving multiple users. (And are more dated. It looks like speak of the 70's or the 80's)

Multi-tasking and serial processing haven't that implication.

But if someone makes a nuance between the two, I'd expect them to explicit it.

share|improve this answer

Multi-tasking usually implies multiple threads. With multicore systems that means each thread will run in it's own core or with multi-processor systems on it's own processor.

Time-sharing clearly implies one single thread that serves several task as you defined.

However, there may not be such a clear definition anywhere ... this is just what usually is understood about this 2 different expressions.

Also, I imagine that multi-tasking is from a higher point of view, it refers to a user being capable of running several applications simultaneously. The user doesn't know the underlying technology. It can be real multi-threading or time-sharing or something different.

Time-sharing is more of a technical term which refers to the functioning of a system. This is usually more used by programmers or sysadmins and less by users, who actually don't care about how their computer works.

share|improve this answer

In computing TIME-SHARING is described as being the sharing of computing resource among many users by means of multiprogramming and multi-tasking. So in effect by allowing many users to interact concurrently with a single computer. There are many systems like this already built Stanford PDP-1, Univac, IBM TSO and so on.

MULTI-TASKING on the other hand is the method where multiple tasks(processes) are performed during the same period of time. This can be achieved on single CPU by creating the proper scheduling strategy for context switching. On multi-cpu they can run each on an individual CPU or again use a strategy to run more tasks than the number of CPU's.

In time sharing systems the scheduling strategy for context switching is done by interrupts usually. Time sharing systems basically where first introduced to name computers shared among multiple users through terminals.

share|improve this answer
"multiple tasks(processes) are performed during the same period of time. This can be achieved on single CPU" sorry, while I agree with what you are everything else you are saying, this sentence is semantically false, it cannot be achieved on single CPU, it can be faked on single CPU, and achieved on multi-core system. – Jimmy Hoffa Sep 5 '12 at 4:53

I hadn't been born when these terms were invented, but I always understood them as the two sides of the same coin. The machine (and its operating system) has to run multiple tasks in order to let the users share their machine time. So I believe the difference is in the perspective, one is the user's, the other is the machine's (or the OS programmer's).

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.