Determine if the following functions are considered a Protection or Security mechanism:
The OS usually keeps track of accounting information (i.e. amount of time spent using CPU) for each process. Give two reasons why.
In protection we control the access to a system by refining the types of file access allowed to the users, whereas in secuity our main aim is to protect system from external environment.
a. Protection
b. Security
c. The two reasons are
1. if a process is taking too long to complete due to whatever reason, the OS will come to know about it and clear it from the queue so that other processes may get the CPU
2. It is also necessary because we can know that how much time the process has already used the CPU and when next time it will arrive for using CPU, how much time the OS has to allot to it,
Get Answers For Free
Most questions answered within 1 hours.