The Purpose of an Operating System (OS)
The operating system is the most important program that runs on your computer. Every personal computer must have an operating system in order to run other programs. Not only does it does it let you open other programs, but it allows you to open them at the same time. This is because the operating system makes contact with the processor. Whenever you run a program, it sends all the memory being run in the background to the CPU. The operating system organise how the processes are distributed, and how much time and space is allocated to each one. This happens so that the system can work as efficiently as possible, to make sure the user is working as comfortably as possible.
The operating system manages the storage media like the disk and gives us the basic purpose of the files. There is a GUI (Graphical User Interface) between the process and the operating system to help the user have easy graphical icons and folders so that the user doesn’t need to learn any code to operate the computer. Operating systems provide GUI for creating, reading, writing, deleting, repositioning, and compressing a file. Some of the operations that can be performed on a directory are—search for a file, create, delete and rename a file, list a directory, and travel the file system within the directory.
Device management controls peripheral devices by sending them commands in their own coded and administrative language. The software routine that knows how to deal with each device is called a "driver," and the OS requires drivers for the peripherals (keyboard, mouse, headphones, mic etc.) attached to the computer. When a new peripheral is added, that device's driver is installed into the operating system, allowing it much quicker access in the future. The operating system manages and controls the devices attached to the computer. Meaning that it provides appropriate functionality to the application programs for controlling different aspects of the devices. The operating system handles the devices by combining both hardware and software techniques. The type of input/output hardware includes the ports, buses, and device controllers for the devices. It also communicates with the input/output hardware via the device driver software. The device driver software comes along with each device.
When an operating system manages the computer's memory, there are two broad tasks to be accomplished; Each process must have enough memory in which to execute, and it can neither run into the memory space of another process nor be run into by another process. And the different types of memory in the system must be used properly so that each process can run most effectively. Memory management is the functionality of an operating system which handles or manages primary memory. Memory management keeps track of each and every memory location either it is allocated to some process or it is free. It checks how much memory is to be allocated to processes. It decides which process will get memory at what time. It tracks whenever some memory gets freed or unallocated and correspondingly it updates the status.
The operating system manages the storage media like the disk and gives us the basic purpose of the files. There is a GUI (Graphical User Interface) between the process and the operating system to help the user have easy graphical icons and folders so that the user doesn’t need to learn any code to operate the computer. Operating systems provide GUI for creating, reading, writing, deleting, repositioning, and compressing a file. Some of the operations that can be performed on a directory are—search for a file, create, delete and rename a file, list a directory, and travel the file system within the directory.
Device management controls peripheral devices by sending them commands in their own coded and administrative language. The software routine that knows how to deal with each device is called a "driver," and the OS requires drivers for the peripherals (keyboard, mouse, headphones, mic etc.) attached to the computer. When a new peripheral is added, that device's driver is installed into the operating system, allowing it much quicker access in the future. The operating system manages and controls the devices attached to the computer. Meaning that it provides appropriate functionality to the application programs for controlling different aspects of the devices. The operating system handles the devices by combining both hardware and software techniques. The type of input/output hardware includes the ports, buses, and device controllers for the devices. It also communicates with the input/output hardware via the device driver software. The device driver software comes along with each device.
When an operating system manages the computer's memory, there are two broad tasks to be accomplished; Each process must have enough memory in which to execute, and it can neither run into the memory space of another process nor be run into by another process. And the different types of memory in the system must be used properly so that each process can run most effectively. Memory management is the functionality of an operating system which handles or manages primary memory. Memory management keeps track of each and every memory location either it is allocated to some process or it is free. It checks how much memory is to be allocated to processes. It decides which process will get memory at what time. It tracks whenever some memory gets freed or unallocated and correspondingly it updates the status.