The option that would NOT need a continuous data constraint is "numbers of books on a shelf."
This is because the number of books is a discrete measurement, meaning it can only take on whole number values (you can have 1 book, 2 books, etc., but not 1.5 books). In contrast, time, speed, and distance are continuous measurements that can take on any value within a range.