Topic Two - Functions of OS
Topic Two - Functions of OS
Introduction
Understand the basic functions of OS
Devices
Processors
Information ….
Introduction…
The operating system includes programs that are helpful to manage these
resources, such as a traffic controller, a scheduler, memory management
module, I/O programs, and a file system.
Various processes require access to these resources and the process should not
It is the duty of the Operating System to allow the use of I/O devices by the
Process/job/activity Management:
that are in the ready state. But at a time, only one process can be processed
by a processor.
The CPU apply some kind of algorithm that can be used to provide
The CPU should not give priority to only one process and it should make
sure that every process which is in the ready state will be executed.
The basic functions of OS…
Process Management:…
Some of the CPU scheduling algorithms are First Come First Serve,
Round Robin, Shortest Job First, Priority Scheduling, etc.
Keeps track of the status of processes.
Memory Management:
When the execution of a process, the whole process is put into the
main memory and the process is executed and after the execution
of the process, the memory is freed and that memory can be used
for other processes.
Memory Management:…
Memory addresses that have already been allocated and the memory
In multiprogramming, the OS decides for how long the process must stay
Security
The operating system uses a password protection to protect user data,
prevents unauthorized access to programs and user data, but for external
functionality we need to install malware software to protect the system.
Job Accounting
Operating systems always keep track of time and resources that are
used by various tasks and users, this information can be used to track
resource usage for a particular user or a group of users.
System Software
System software serves as the interface between the hardware and the
end users.