Answer:
974
Step-by-step explanation:
Let assume that:
The set of student that took part in Calculus be = C
Those that took part in discrete mathematics be = D
Let those that took part in data structures be = DS; &
Those that took part in Programming language be = P
Thus;
{C} = 507
{D} = 292
{DS} = 312
{P} = 344
For intersections:
{C ∩ DS} = 14
{C ∩ P} = 213
{D ∩ DS} = 211
{D ∩ P} =43
{C ∩ D} = 0
{DS ∩ P} = 0
{C ∩ D ∩ DS ∩ P} = 0
According to principle of inclusion-exclusion;
{C ∪ D ∪ DS ∪ P} = {C} + {D} + {DS} + {P} - {C ∩ D} - {C ∩ DS} - {C ∩ P} - {D ∩ DS} - {D ∩ P} - {DS ∩ P}
{C ∪ D ∪ DS ∪ P} = 507 + 292 + 312 + 344 - 14 - 213 - 211 - 43 - 0
{C ∪ D ∪ DS ∪ P} = 974
Hence, the no of students that took part in either course = 974