Jasvin ThinksPracticeMock testsCurrent affairs

UPSC Prelims 2003 Q4: Science & Technology – Quantitative Aptitude

UPSC Prelims 2003, General Studies Paper I · Science & Technology

Three flags, each of different colour, are available for a military exercise. Using these flags, different codes can be generated by waving i) a 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 colours. The maximum number of codes that can be generated is
  1. (a) 6
  2. (b) 9
  3. (c) 15
  4. (d) 18

Answer: (c) 15

Explanation

Codes made by waving flags

Way of wavingNumber of codes
A single flag3 colours, so 3 codes
Any two flags in sequence3 x 2 = 6 codes
Three flags in sequence3 x 2 x 1 = 6 codes
Total3 + 6 + 6 = 15

The maximum number of codes is 3 + 6 + 6 = 15, counting the single-flag codes, the ordered two-flag codes and the ordered three-flag codes together.

Answer: (c) 15.

Why each option is right or wrong

Key point

Add the arrangements of 1, 2 and 3 flags: 3P1 + 3P2 + 3P3.

Remember

3P1 + 3P2 + 3P3 = 3 + 6 + 6 = 15 codes.

Common mistakes

Exam tip

Order matters in codes, so use permutations.

Sources

Practise UPSC Prelims PYQsTake a timed mock