ISRO Scientist/Engineer CSE 2013Discrete Mathematics › Not yet assigned to a topic
ISRO Scientist/Engineer CSE 2013 PYQ: A CPU scheduling algorithm determines an order for the execution of its scheduled processes. Given 'n'…
A CPU scheduling algorithm determines an order for the execution of its scheduled processes. Given 'n' processes to be scheduled on one processor, how many possible different schedules are there?
- A$n$
- B$n^{2}$
- C$n!$Correct answer
- D$2^{n}$
Answer
(C) $n!$
Approach
The question asks for the number of distinct orders in which n processes can be executed on a single processor. This is a permutation-counting problem: each distinct schedule is a distinct linear ordering of the n processes.
Reviewed by ISRO IQ Editorial Team.