Cse 331 Lecture Slides


Functions of Operating System



Download 407.19 Kb.
Page3/7
Date02.08.2022
Size407.19 Kb.
#59264
1   2   3   4   5   6   7
Lecture 1 Introduction
Lecture 2 Processes

Functions of Operating System

  • The main functions of an operating system are as follows:
  • (a) Process management;

    (b) Memory management;

Process Management

  • The operating system is responsible for the following activities in connection with processes management:
    • The creation and deletion of both user and system processes;
    • The suspension and resumption of processes;
    • (c) The provision of mechanisms for process synchronisation; and

      (d) The provision of mechanisms for deadlock handling.

Memory Management

  • The operating system is responsible for the following activities in connection with memory management.
  • (a) Keep track of which parts of memory are currently being used and by whom;

    (b) Decide which processes are to be loaded into memory when memory space becomes available; and

    (c) Allocate and deallocate memory space as needed.

Secondary Storage Management

  • The operating system is responsible for the following activities in connection with disk management:
    • Free space management;
    • Storage allocation; and (c) Disk scheduling.

I/O Management

  • The operating system is responsible for the following activities in connection to I/O management:
  • A buffer caching system;

    • To activate a general device driver code; and

    • To run the driver software for specific hardware devices as and when required.

File Management

  • The operating system is responsible for the following activities in connection to the file management.
  • (a) The creation and deletion of files;

    (b) The creation and deletion of directory;


    Download 407.19 Kb.

    Share with your friends:
1   2   3   4   5   6   7




The database is protected by copyright ©ininet.org 2022
send message

    Main page