Week 5
Week 5
Operating systems work as an interface between the user and the computer hardware.
It is a software which performs the basic tasks like input, output, disk management,
controlling peripherals etc. Windows, Linux etc. are some examples of operating
systems.
These are some important tasks of the OS by which it manages the system hardware
efficiently, which are as follows −
Memory management:
Device management
Processor management
File Management
I/O Management
Networking
Memory management:
Device management
OS can communicate between devices using drivers in order to use the devices
efficiently the
Processor management
Like memory and devices, managing the processor is one of the important tasks of
an OS.
It allocates the processor to different processes in main memory to do so the OS uses
some scheduling algorithms also these are like First Come First Serve, Priority
Scheduling, Shortest job first, etc.
File Management
The operating system also keeps track of the file system of a computer normally the
file system is divided in directories which can be handled by the OS.
I/O
I/O management is one of the important tasks of the operating system. OS manages
the IO devices like mouse, keyboard, printer, display, LED's etc.
Synchronous I/O − Here, the CPU waits for the i/o device
Asynchronous I/O − Here, the CPU execution takes place parallel to the IO device.
The operating system helps the processor in communicating to the IO devices. These
communications are Special instruction I/O, Memory-mapped I/O, Direct memory
access.
Networking