1.

In a programming competition, there were five programming languages. The languages were Java, Python, C, C# and PHP. The total number of participants was 1600. Both the women and the men had taken part in the competition in the ratio 1 ∶ 3. 25% of programmers are Python programmers, 10% of programmers program in C language. 220 programmers program in C#. Java programmers are twice the C# programmers, remaining programmers program in PHP. 30% of Python programmers are women. Half of the woman Python programmers are equal to woman C# programmers. 10% programmers of Java are equal to woman C programmers. Number of woman programmers in Java and that in PHP languages are equal. What is the total number of male programmers in Java, Python and PHP?1). 9282). 9083). 9244). 964

Answer»

Let us find out the number of female and MALE programmers for each language taking part in the competition.

Total no. of programmers = 1600

Number of female programmers = $(\frac{1}{4} \times 1600 = 400)$

Number of male programmers = $(\frac{3}{4} \times 1600 = 1200)$

Number of Python programmers = 25% of 1600 = 400

Number of C# programmers = 220

Number of C programmers = 10% of 1600 = 160

Number of Java programmers = 2 × 220 = 440

Number of PHP programmers = 1600 - (400 + 220 + 160 + 440) = 380

Number of female Python programmers = 30% of 400 = 120

∴ Number of male Python programmers = 400 - 120 = 280

Number of female C# programmers = HALF of female python programmers = $(\frac{1}{2} \times 120 = 60)$

∴ Number of male C# programmers = 220 - 60 = 160

Number of female C programmers = 10% of Java programmers = 0.1 × 440 = 44

∴ Number of male C programmers = 160 - 44 = 116

Number of female Java programmers = Number of female PHP programmers

$(= \frac{1}{2}\left[ {400 - \left( {120 + 60 + 44} \right)} \right] = \frac{1}{2}\left[ {400 - 224} \right] = 88)$

∴ Number of male Java Programmers = 440 - 88 = 352

∴ Number of male PHP programmers = 380 - 88 = 292

From above data,

Total number of male programmers in Java, Python and PHP = 352 + 280 + 292 = 924


Discussion

No Comment Found