The number of boys and girls in a class are in the ratio 7:5. The number of boys is 8 more than the number of girls. What is the total class strength?

Let the number of boy and girls be 7x and 5x respectively.

Then, 7x = 5x + 8

7x - 5x = 8

2x = 8

X = 4

Therefore, the number of girls is 20 and the number of boys is 28. The total class strength is 48.