Civil Services Examination · Question 4
Three flags, each of different colour, are available for a military exercise. Using these flags, different codes can be generated by waving i) Single flag of different colours, or ii) Any two flags in a different sequence of colours, or iii) Three flags in a different sequence of colour The maximum number of codes that can be generated is
Show answer & explanationShow explanation
Answer: (C) 15
Given: Total distinct coloured flags available, n = 3. Order of waving flags matters, so we use permutations P(n, r) = n! / (n − r)!. Case i — Single flag: Number of codes using 1 flag = P(3, 1) = 3. Case ii — Two flags in sequence: Number of codes using 2 flags = P(3, 2) = 3 × 2 = 6. Case iii — Three flags in sequence: Number of codes using 3 flags = P(3, 3) = 3 × 2 × 1 = 6. Result: Total maximum codes = 3 + 6 + 6 ⇒ 15. Shortcut: For n = 3 distinct items taken 1, 2, or 3 at a time, sum of permutations = 3 + 3×2 + 3×2×1 = 15. Correct Answer: (c) 15
