In batch systems the jobs or work is keep in order and jobs are run one after the other. Batch system is good for large jobs which donâ€™t need user interaction. Batch systems were started in older days( near 1950â€™s).Â The system is always busy by using buffering, spooling and multiprogramming. The name batch comes from the batch files that user give to the system and data is processed in batches. Batch processing is also used nowadays in printing, updating databases(not online databases), changing format of files in bulk, image editing.
In time sharing system the tasks are given specific time and operating system switches between different tasks. The switching is as fast that the computer user donâ€™t see any changes in the program he is running. In contrast to batch systems the user interaction is involved in the processing. For example if some thing went wrong with batch processing then user cannot solve the problem while in time sharing system problem can be solved during the processing. The jobs is better managed in time sharing system by the cpu. Time sharing operating systems was first introduced in 1971. Dos and unix are the most famous examples of systems which uses time sharing. The user gives command to the system to do the job and system responds by displaying any message on the command window. If some thing happen wrong user will know about it. And if the job is done successfully then user can assign the system a new job. If some thing went wrong then user will solve that problem and do debugging and finally problem will be solved.