What is Operating System? Explain the different function of OS?
1 Answer

Operating System : - Operating System is an interface between the user and the hardware and enables the interaction of a computer’s hardware and software.

Also, an operating system is a software which performs all the basic tasks like file management, memory management, storage management, process management, handling input and output, and controlling peripheral devices such as disk drives and printers.

Types of Operating System : -

  • Windows
  • iOS
  • Mac OS
  • Unix
  • Linux
  • Ubuntu

Functions of Operating System : -

  • Memory Management - Memory management refers to management of Main Memory. Main memory is a large array of words or bytes where each word or byte has its own address. An Operating System does the following activities for memory management −

    • Allocates the memory when a process requests it to do so.

    • De-allocates the memory when a process no longer needs it or has been terminated.

    • Keeps tracks of primary memory, i.e., what part of it are in use by whom, what part are not in use.

  • Device Management - An Operating System manages device communication via their respective drivers. It does the following activities for device management −

    • Allocates the device in the efficient way.

    • De-allocates devices.

    • Keeps tracks of all devices. Program responsible for this task is known as the I/O controller.

  • File Management - An Operating System manages file communication. It does the following activities for device management −

    • The operating system allocates and de-allocates resources.

    • It regulates which process gets the file and for what duration.

    • Also, it keeps track of information, location, uses, status etc.

    • The collective facilities are often known as a file system.

    • OS also performs tasks like creating directories and files, copying/moving them and renaming/deleting files.

  • Mastermind - Mastermind is one term we can rightfully use for Operating system.

    • OS controls the Errors that have been Occurred into the Program.

    • Provides Recovery of the System when the System gets Damaged.

    • OS provides Booting without an Operating System

    • Provides Facility to increase the Logical Memory of the Computer System by using the Physical Memory of the Computer System.

Please log in to add an answer.