function of operating systems
DESCRIPTION
Function of Operating Systems. Introduction. The Operating System MUST:. provide and manage hardware resources provide an interface between the user and the machine provide an interface between applications software and the machine provide security for the data on the system - PowerPoint PPT PresentationTRANSCRIPT
![Page 1: Function of Operating Systems](https://reader035.vdocuments.mx/reader035/viewer/2022062410/568162a2550346895dd31e04/html5/thumbnails/1.jpg)
Function of Operating SystemsIntroduction
![Page 2: Function of Operating Systems](https://reader035.vdocuments.mx/reader035/viewer/2022062410/568162a2550346895dd31e04/html5/thumbnails/2.jpg)
The Operating System MUST:• provide and manage hardware resources• provide an interface between the user and the machine• provide an interface between applications software and the
machine• provide security for the data on the system• provide utility software to allow maintenance to be done
![Page 3: Function of Operating Systems](https://reader035.vdocuments.mx/reader035/viewer/2022062410/568162a2550346895dd31e04/html5/thumbnails/3.jpg)
IO Functions• input-output control system
![Page 4: Function of Operating Systems](https://reader035.vdocuments.mx/reader035/viewer/2022062410/568162a2550346895dd31e04/html5/thumbnails/4.jpg)
Evolution
Now higher level languages are developed, the OS needs:• A translator program with:• Assembler (translates assembly language)• Compiler (translates high level language)• Interpreter (translates then runs 1 line at a time)
![Page 5: Function of Operating Systems](https://reader035.vdocuments.mx/reader035/viewer/2022062410/568162a2550346895dd31e04/html5/thumbnails/5.jpg)
Memory Management - SchedulingThe OS must manage the CPU time so that the user has no concept of tasks being dealt with individually.
![Page 6: Function of Operating Systems](https://reader035.vdocuments.mx/reader035/viewer/2022062410/568162a2550346895dd31e04/html5/thumbnails/6.jpg)
Memory Management - SpoolingThe I/O phase should not hold up the CPU which can easily happen when mechanical operations cannot keep up. Eg??
![Page 7: Function of Operating Systems](https://reader035.vdocuments.mx/reader035/viewer/2022062410/568162a2550346895dd31e04/html5/thumbnails/7.jpg)
Memory Management - Loader
What happens if you load programs in a different order?
The ‘Loader’ remembers.
![Page 8: Function of Operating Systems](https://reader035.vdocuments.mx/reader035/viewer/2022062410/568162a2550346895dd31e04/html5/thumbnails/8.jpg)
Memory Management - Users
What happens if two users want to use the same program at the same time?
Programs such as this compiler, working in the way described, are called re-entrant.
![Page 9: Function of Operating Systems](https://reader035.vdocuments.mx/reader035/viewer/2022062410/568162a2550346895dd31e04/html5/thumbnails/9.jpg)
KEY TERMS• Memory Management - The process of the operating system
being able to control the use of the computer’s memory, rather than the user doing it
• Scheduling - When there is more than one thing which could be done at a time something has to decide what will be done first.
• Spooling - store all input and output on a high-speed device such as a disk until the slower peripheral device is ready.