Operating System Basic
Operating System Basic
Operating System
Objectives of OS
The primary goals of an operating system are as follows:
When more than one process runs on the system the OS decides how
and when a process will use the CPU. Hence, the name is also CPU
Scheduling. The OS:
1. Batch OS
In this system, the OS does not forward the jobs/tasks directly to the
CPU. It works by grouping together similar types of jobs under one
category. Further, we name this group as a ‘batch’. Hence, the name
batch OS.
When more than one task takes place on the system it is called time-
shared OS. As multiple tasks can run at the system at a time as per
requirement. Hence, they all share the CPU time one by one. Therefore,
we also name it multitasking. The time that each task gets is
called quantum.
A fixed interval of time is decided for each task. When the first task
executes for that period of time, the second task executes, and so on.
3. Distributed OS
In this system, there is more than one CPU present. The OS distributes
the tasks among all the processors. The processors do not share any
memory or clock time. OS handles all communication between them
through various communication lines.
4. Network OS
5. Real-Time OS (RTOS)
In these systems, the time interval for processing and responding to
inputs is very small. Therefore, due to this quality, these are used in
real-time situations. For example in missile systems, robots, etc.
In this, the time constraint is very short and strict. Even seconds of
delay is not acceptable.