📖 Explanation
Combinatorial selection problems involving multiple constraints can be solved by partitioning the problem into mutually exclusive cases based on the number of students selected from each category. Given the requirements of at least two students from each class and a total of ten students, with the additional constraint that the combined count from class 10 and class 11 does not exceed five, the valid distributions for (c10,c11,c12) are (2,2,6), (2,3,5), and (3,2,5). Calculating the number of ways for these cases using combinations, we find 5C2⋅6C2⋅8C6=4200, 5C2⋅6C3⋅8C5=11200, and 5C3⋅6C2⋅8C5=8400. Summing these results yields a total of 23800, which implies k=238.