Skip to main content

GATE CSE 2021Combinatory › Counting Principles & PigeonholeVerified

GATE CSE 2021 PYQ: There are 6 6 6 jobs with distinct difficulty levels, and 3 3 3 computers with distinct processing speeds.…

There are 6 jobs with distinct difficulty levels, and 3 computers with distinct processing speeds. Each job is assigned to a computer such that:

The number of ways in which this can be done is ___________.

    Answer

    65

    Approach

    The fastest and slowest computers are forced to receive the toughest and easiest jobs respectively. So the only freedom is in assigning the remaining 4 jobs to the 3 computers while ensuring the middle-speed computer is not left empty.

    The forced assignments consume the toughest and easiest jobs. Among the $3^4$ ways to distribute the remaining 4 jobs among all 3 computers, the only bad cases are those where the middle computer receives none, i.e. $2^4$. Hence the answer is 65.

    Reviewed by GateIQ Editorial Team: IIT & IISc Alumni.