4578 is clearly a precise amount down to its last digit (all the digits are "significant"), while 4500 may represented a rounded number. That's what Colinsmum means about guessing the level of precision when it's not stated.

But I think it's probably a safe bet that the teacher is not thinking about significant digits, and is just following an over-simplified rule.