What are three uses a timer used for in an 0SSolutionBelow a
     What are three uses a timer used for in an 0S? 
  
  Solution
Below are the three uses of a timer in an Operating System...
1. Timer used to control processes. Specially in preemptive type of process scheduling.
 2. Timer used to control life time of a program. It can control the maximum time a program can run.
 3. Timer is used in interrupt handler. In many case interrupt is blocked for some amount of time or interrupt lines are open for some amount of time. These time quantum are implemented using a timer.

