Answer:
There are 36 boys in the class.
Step-by-step explanation:
This question is solved by a system of equations.
I am going to say that:
x is the number of boys
y is the number of girls.
There are 42 pupils in a class.
This means that [tex]x + y = 42[/tex].
Since we want x, we have that [tex]y = 42 - x[/tex]
12 of them are Malays while the rest are Chinese. 1/4 of the boys and 1/2 of the girls are Malay.
This means that:
[tex]\frac{x}{4} + \frac{y}{2} = 12[/tex]
Since [tex]y = 42 - x[/tex]
[tex]\frac{x}{4} + \frac{42 - x}{2} = 12[/tex]
Multiplying everything by 4.
[tex]x + 84 - 2x = 48[/tex]
[tex]-x = -36[/tex]
[tex]x = 36[/tex]
There are 36 boys in the class.