Let's use the variable S to represent the students that are in the school play, O for orchestra and C for the choral group.
If 5 students participate in exactly 2 of 3 activities, we have:

Since there are no students that participate in all three activities, we have:

Then, to find the number of students in the homeroom, let's use the formula:

Therefore the correct option is A.