Skip to content

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?

  1. A
    $n$
  2. B
    $n^{2}$
  3. C
    $n!$
    Correct answer
  4. 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.