Operating SystemHardwareSoftware & Coding Show The main operation performed by operating system is to carries out is the allocation of resources and services, such as allocation of the following −
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. Functions of Operating SystemsLet us discuss the function of the operating system (OS) in detail. SecurityThe operating system uses a password protection to protect user data it also prevents unauthorized access to programs and user data, but for external functionality we need to install malware software to protect the system. Control over system performanceThe operating system monitors overall system setup to help in improving the performance and it also records the response time between service requests and system response so that it has a complete view of the system. This can help improve performance by providing important information that is needed at the time of troubleshooting problems. Job AccountingOperating 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. Error detecting aidsOperating systems constantly monitor the system which helps us to detect errors and also avoid the malfunctioning of computer systems. Coordination between other software and usersOperating systems help in coordinate and assign interpreters, compilers, assemblers, and other software to the various users of the computer systems. Memory ManagementThe operating system controls the primary memory or main memory. Primary memory is a large array of bytes or words where each byte or word is assigned a certain address. It is a fast storage, and it can be accessed directly by the CPU which is present inside the system. If a program wants to be executed, it should be first loaded in the main memory. The following activities are performed by operating system for memory management −
Processor ManagementThe OS manages the order in which processes have access to the processor, and how much processing time that each process must stay in the multiprogramming environment. This is called process scheduling. The following activities are performed by operating system for processor management −
Device ManagementAn OS manages device communication through respective drivers. The following activities are performed by the operating system for device management.
File ManagementA file system is arranged into directories for efficient navigation and usage. These directories contain other directories and other files. The following activities are performed by operating system for file management activities −
Updated on 25-Nov-2021 11:31:27 Improve Article Save Article Like Article Improve Article Save Article Prerequisite – Introduction of Operating System – Set 1 An operating system is a piece of software that manages the allocation of computer hardware. The coordination of the hardware must be appropriate to ensure the correct working of the computer system and to prevent user programs from interfering with the proper working of the system. What is an Operating System? The main task an operating system carries out is the allocation of resources and services, such as the allocation of memory, devices, processors, and information. The operating system also includes programs to manage these resources, such as a traffic controller, a scheduler, memory management module, I/O programs, and a file system. Important functions of an operating System:
Moreover, Operating System also provides certain services to the computer system in one form or the other.
All these services are ensured by the Operating System for the convenience of the users to make the programming task easier. All different kinds of Operating systems more or less provide the same services. |