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, and it can only take on specific values (0, 1, 2, etc.), making it discrete. The other options (average weight, average score, and distance) involve continuous data and are not considered discrete.