The example that represents a discrete data constraint with viable solutions is:
number of tests passed
This is because the number of tests passed is a countable quantity (you can only pass a whole number of tests, such as 0, 1, 2, etc.), making it discrete data. The other examples (average weight, average score, and distance between points) represent continuous data.