CPU-scheduling

Hello,
Can you tell me what the following formula means?
(n! = n x n -1 x n -2 x ... x 2 x 1)
The context is CPU-scheduling. This formula is supposed to explain how many different schedules are possible for a number n of processes... but I don't understand it!
Thanks!

Posted Answers

There are n processes, the CPU can choose 1 process of them to perform, so it will be n ways.
Than we are left with n-1 process, after finishing first process, CPU can again choose 1 process from the n-1 process in n-1 ways, so total ways of choosing first 2 processes will be n x n-1
Similarly for n process, its n! :)


Answer by: coders2020
 
 

Thank you very much, Coders2020!


Answer by: ling_lang