Lucy collects data from a random sample of seventh-graders. Out of 40 respondents, 7 attend after-school programs. Of the 200 seventh-graders attending Lucy’s school, how many would be expected to attend afterschool programs?

To find out how many seventh-graders would be expected to attend an after-school program, we can set up a proportion using the information from the random sample.

7 out of 40 seventh-graders attend after-school programs in the random sample.

Therefore, x out of 200 seventh-graders are expected to attend after-school programs.

We can set up the following proportion:

7/40 = x/200

To solve for x, we can cross multiply:

40x = 7 * 200
40x = 1400
x = 1400 / 40
x = 35

Therefore, it is expected that 35 out of 200 seventh-graders attending Lucy's school would attend after-school programs.