A multi-programmed operating system running on a single CPU assigns time slices of CPU time to the
Question:
A multi-programmed operating system running on a single CPU assigns time slices of CPU time to the virtual machines that run the individual programs Each virtual machine is given access to the CPU for a certain time (the time slice), during which it will continue to execute its program The next time slice then goes to another virtual machine, and so on.
Assume that each time slice is ten milliseconds (1/1000 of a second) long. The computer on which the operating system runs, therefore, has 100-time slices available. If the OS itself uses 100 of these (you may assume that these are spread at regular intervals over each second) it can make 900 such time slices available for virtual machines each second. If the computer needs to run 10 programs that each require a time slice at least 20 times per second, and one program (the user interface) that requires a time slice at least once every 10 milliseconds, what is the maximum number of time slices left for other programs?