FUNCTIONS OF AN OPERATING SYSTEM 2022

Today we will show Different types of FUNCTIONS OF AN OPERATING SYSTEM.

The operating system (OS) is crucial in any computing system. It is in charge of the smooth execution of a program. The operating system (OS) of a computer is typically stored in ROM and controls, manages, and executes all programs.

The operating system (OS) is how the user interacts with the machine.

The operating system (OS) manages the input and output devices, as well as the memory and storage devices. This blog will shed light on the operating system and its functions.

FUNCTIONS OF AN OPERATING SYSTEM :

Operating System Functions Operating systems are software programs or computer programs that manage computer hardware and software resources and provide a platform for application software and system software.

An operating system is essentially a piece of software or a program that allows you to use a computer.

The operating system is installed on raw hardware. In most cases, computer users do not see the operating system. It is an abstraction layer that serves as a user interface for computer users.

The operating system is used to perform all of the fundamental functions of a computer, such as running programs, storing data, processing data, and providing a means to interact with the computer.

Different functions of an operating system are categorized as

FUNCTIONS OF AN OPERATING SYSTEM 2022

1. Processor Management

As the name suggests, Processor Management means managing or allocation of the process(es) to a processor which is the CPU. It’s crucial to remember that a process is not the same as a program.

A process is only one instance of a program in execution. There can be many processes running in the same program.

In terms of process management, an operating system’s five primary activities are:

  • Creation and deletion of user and system processes. A mechanism for process synchronization. A mechanism for process communication.
  • Suspension and resumption of processes.
  • A mechanism for deadlock handling.
  • Memory for storing computer code and data. A collection of CPU registers that help in execution.

2. Memory Management

The process must have enough can in memory. Thus, in addition

The operating system manages the computer’s memory and ensures that each memory to works. Furthermore, the various types of memory in the system must be used correctly in order for each to function properly.

As the computer boots up the operating system, it is automatically loaded application program can be executed only if instructions, along with the required data are loaded into the operating system, it is required to load a number of programs into memory.

System, one program may corrupt the data of another program. 

Therefore, it is essential that one program should not be able to write on memory, allocated to another program.

Remember that memory is a scarce resource. Allocation of large chunks of memory to a program without considering the actual requirement may result in the non-availability of memory to another program that is more urgently required.

Thus an efficient memory management system is essential for multi-user or multi-tasking systems.

In such The foremost activities of an operating in view to memory-management are:

  • When memory space becomes available, choose which process will be put into memory. Decide the allocation technique for a specific location to be allocated and to update the status.
  • Keep track of which parts of your memory are being used right now and by whom.
  • Allocate and de-allocate memory space as needed.

3. File Management

A file is a collection of linked data that its creator has specified. The computer can store files on (secondary storage), which provides long-term storage. Some examples of storage media are magnetic disks and optical disks.

Each of these media has its own set of characteristics, such as speed, capacity, data transfer rate, and means of access.

A file system is normally organized into directories to ease its use. These directories may contain other directions.

In terms of file management, and operating system’s five core operations are:

  • The creation and deletion of files.
  • The creation and deletion of directions.
  • The ability to manipulate files and directives using primitives.
  • The mapping of files onto secondary storage.
  • Files are backed up on a reliable storage medium.

4. Device Management

The management of input and output devices such as keyboards, mouse, printers, and card readers is a part of the operating system that utilizes the devices inefficient manner. The four main major activities of an operating system in regard to device management are:

  • Keep track of all the devices
  • On request, it determines who gets a device, when and for how long
  • Allocating devices to processes
  • De-allocating the devices and changing the status accordingly 1/0 Traffic Controller.

These devices can be categorized as 

  • Dedicated Device: The devices that are allocated to a single process for the entire duration. For example, the printer can be dedicated to the system.
  • Shared Device: The devices that are shared by many processes at a time. For example, a disk can be shared by many.
  • Virtual Device: The devices that can be converted from dedicated as the card reader. When a number of users send a printing request to a printer a queue is formed. 

Spooling (Simultaneous Peripheral Operation Online) is a method to solve such a problem. In spooling hard disk acts as a virtual printer. The output of all the users directed to the printer is temporarily stored in the hard disk.

Related Video : Types of Operating Systems(B

Conclusion

In this post, we have discussed the functions of the operating system.

An operating system (OS) is a piece of software that manages computer hardware and software resources while also providing common services to computer programs. It enables programs to interact with computer hardware, making them easier to use.

This is a crucial topic for your computer knowledge. I hope you enjoyed this topic. Please leave your thoughts in the comments section below.

Leave a Comment