Discrete data refers to values that can be counted and that typically take on integer values. Among the options you've provided, the one that represents a discrete data constraint is:
Number of tests passed
This is because the number of tests passed can only take on whole number values (0, 1, 2, 3, etc.) and cannot be a fractional value.
The other options provided are examples of continuous data:
- Average score on a test (can take any value, including decimals)
- Average weight of all the newborns in a hospital ward (can be measured in decimals)
- Distance between points (can vary continually and can also take on decimal values)
Thus, the viable solution for a discrete data constraint is the Number of tests passed.