Final answer:
By establishing that the ratio of girls to boys is the same in both the school and the event, we calculate the total number of boys as 1250. Thus, the total enrollment at the primary school is 1500 students.
Step-by-step explanation:
The student's question involves solving a problem related to ratios and proportions in a primary school setting. The school enrolls 250 girls and boys in an unknown number, maintaining a ratio of p:q between girls and boys. During a school event, 30 girls attend, and the total number of students is 180, with the same p:q ratio.
We know there were 180 students at the event and 30 of them were girls. The event had the same girl-to-boy ratio as the whole school population, so we can set up a proportion:
If the ratio is p:q and there are 30 girls, then the number of boys is (q/p) * 30. Because the total number of students at the event equals the number of girls plus the number of boys, we get:
30 + (q/p) * 30 = 180 students. Simplifying this, we find that q/p is 5.
Back to the entire school, we know there are 250 girls. If the ratio of girls to boys is p:q and q/p is 5, then the number of boys is 5 * 250 = 1250. Hence, the total number of students is 250 girls + 1250 boys, which amounts to 1500 students.
Therefore, the correct answer is (B) 1500.