Friday, May 8, 2020

Real Time, Time Sharing, Batch Processing Operating System

Operating System: Q1.What is Time sharing Operating System? Q2.What is Real Time Operating System? Q3.What is Batch Processing? (Operating System all notes)

Time-Sharing-Real-Time-Batch-Processing-Operating-System

Q1. What is Time sharing Operating System?

Ans. Time Sharing Operating System: The time sharing mode refers to the use of a single computer system by many users simultaneously. Multiple jobs are executed by the CPU switching between them but the switches occur so frequently that the CPU may interact with each program while it is running.

A time-shared operating system allows the many users to share the computer simultaneously. The user program is queued up and executed for a fixed amount of time (time slice), after which it's status is same and the next user requests from the job queue is executed, since each action or command in a time-shared system tends to be short, only a little CPU time is needed for each other.

As the system switches rapidly from one user to next, each user is given the impression that the user had own computer, whereas actually one computer is being shared among many users.

Q2. What is Real Time Operating System?

Ans. Real Time: A real time system is used when there is a rigid time requirement on the operation of a processor or the flow of data and thus is often used as a control device in a delicated application system. The system that controls scientific experiments, industrial control systems, and some display systems are real time systems.

A real time operating system has well defined fixed time constraints. Processing must be done within the different constraints or the system will fail. A real time system is considered to function correctly only if it returns the correct results in any time constraints.

There are two types of real time systems:
(a) Hard Real Time System: A hard real time system completes critical tasks on time. This goal requires that all delays in the system we bounded from the retrival of stored data to the time.

(b) Soft Real Time System: A less restrictive type of real time system is a soft real time system, where a critical real time system gets priority over other task and retains that priority until it completes soft real time system that have more limited utility than hard real time system.

Q3. What is Batch Processing?

Ans. Batch Processing: This strategy involves reading a series of jobs (called a batch) into the machine and then executing the programs for each job in the batch. This approach does not allow users to interact with programs while they operate.
Batch-Processing-Diagram
In a batch processing operating system environment, users submit jobs to a central place where these jobs are collected into a batch and subsequently placed on an input queue at the computer where they will be run.

In this, the user has no interaction with the job during its processing and the computer's response time is the turn around time to time from submission of the job until execution is complete and the results are ready for the return to the person who submitted the job.






External Links:-

1. Time sharing Operating System - (click here)
2. Real Time Operating System - (click here)
2. Batch Processing - (click here)

No comments:
Write comment

Please do not enter any spam link in the comment box.