Author

Author- Ram Ranjeet Kumar

Thursday, December 19, 2019

Lecture-2- Functions Of Operating System

Functions Of Operating System

  1. Process Management
  2. Memory Management
  3. File
  4. Command Interpreter
  5. Input-Output Management
  6. Security
  7. Deadlock Prevention
  8. Interrupt Handling
  9. Virtual Storage


Process Management : The Operating System also Treats the Process Management means all the Processes those are given by the user or the Process those are System ‘s own Process are Handled by the Operating System . The Operating System will Create the Priorities foe the user and also Start or Stops the Execution of the Process and Also Makes the Child Process after dividing the Large Processes into the Small Processes.


Memory Management : Operating System also Manages the Memory of the Computer System means Provide the Memory to the Process and Also Deallocate the Memory from the Process. And also defines that if a Process gets completed then this will deallocate the Memory from the Processes.


File Management : It manages all the file-related activities such as organization storage, retrieval, naming, sharing, and protection of files.


Command Interpreter : This module is interpreting commands given by the and acting system resources to process that commands.


Input-Output Management : OS manages I/O devices and makes the I/O process effective. OS accepts the input from the input device, stores it in the main memory, ask the CPU to process it and finally provides the result to the output devices for output.


Security : OS makes sure that only authorized users get access to the computer and its data and the users only do things they are authorized to do.


Deadlock Prevention : During processing, a situation can arise in which a resource shared by two or more processes cannot continue because the resource required by one process is held by the other. This situation is called deadlock. OS ensures that the above condition do not hold by carefully allocating resources.



Interrupt Handling : Interrupt is a signal generated from a device or program when they need attention of the CPU. OS determines the type of interrupt and priority of the interrupt, stops the execution process of CPU, preserves the initial state of the CPU, perform the requested operation and brings the CPU at the same state when it was stopped.




Virtual Storage : If there are programs larger than main memory (RAM) of the computer, OS uses the reserved space in the secondary memory which is termed as virtual memory. It makes the execution of larger program (than RAM) possible but at the same times the operation becomes slower.




https://codingmoments.blogspot.com/2019/12/lecture-1-introduction-to-operating.html

No comments:

Post a Comment