The example that represents a discrete data constraint with viable solutions is:
B. Number of tests passed.
This is because the number of tests passed is a countable value (0, 1, 2, 3, etc.), making it discrete data. The other options involve continuous measurements or averages, which do not represent discrete data.