An Operating mechanism (OS) is an interface in between a computer user and computer hardware. An operating mechanism is a software which performs all the simple tasks like document management, memory management, process management, managing input and also output, and also controlling peripheral tools such as disk drives and printers.

You are watching: What are the two main functions of an operating system?

Some famous Operating Systems include Linux operating System, windows Operating System, VMS, OS/400, AIX, z/OS, etc.

Definition

An operating mechanism is a regimen that acts together an interface between the user and also the computer hardware and controls the execution of every kinds of programs.

*

Following are some of vital functions of an operation System.

Memory ManagementProcessor ManagementDevice ManagementFile ManagementSecurityControl over system performanceJob bookkeeping Error detecting aidsCoordination in between other software and also users

Memory Management

Memory monitoring refers to monitoring of main Memory or key Memory. Main memory is a huge array of native or bytes wherein each indigenous or byte has its own address.

Main memory offers a quick storage that can be accessed straight by the CPU. Because that a routine to be executed, it need to in the key memory. One Operating device does the following tasks for memory administration −

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

In multiprogramming, the OS decides which procedure will gain memory when and how much.

Allocates the memory when a procedure requests it to execute so.

De-allocates the memory as soon as a process no much longer needs that or has actually been terminated.

Processor Management

In multiprogramming environment, the OS decides which procedure gets the processor when and also for how much time. This duty is called process scheduling. An Operating mechanism does the following tasks for processor monitoring −

Keeps monitor of processor and status that process. The regime responsible because that this job is known as traffic controller.

Allocates the processor (CPU) to a process.

De-allocates processor when a procedure is no longer required.

Device Management

An Operating mechanism manages maker communication via their particular drivers. The does the following activities for maker management −

Keeps monitor of all devices. Program responsible for this job is well-known as the I/O controller.

Decides which process gets the an equipment when and also for exactly how much time.

Allocates the maker in the efficient way.

De-allocates devices.

File Management

A file system is normally organized right into directories for simple navigation and usage. These directories might contain files and also other directions.

An Operating device does the following tasks for record management −

Keeps track of information, location, uses, condition etc. The cumulative facilities are frequently known as file system.

Decides who gets the resources.

Allocates the resources.

De-allocates the resources.

Other important Activities

Following are some of the important activities that an Operating device performs −

Security − By means of password and similar other techniques, it avoids unauthorized accessibility to programs and data.

Control over mechanism performance − recording delays between request for a organization and solution from the system.

Job accounting − keeping track of time and resources offered by assorted jobs and also users.

Error detecting aids − production of dumps, traces, error messages, and other debugging and error detecting aids.

See more: Serum Is Blood Plasma Minus Its, Physiology, Blood Plasma

Coordination in between other softwares and users − Coordination and assignment of compilers, interpreters, assemblers and also other software program to the miscellaneous users that the computer systems.