I learned this in middle school during the Science Fair. My experiment didn't work. Up against the deadline and not wanting a 0, I simply made up the data. I got a nice big A. Probably exactly what happens in the real world too.
If you would have gotten a 0 then your science teachers failed you I'd say. A failed experiment is just as valid a result as a successful one if the goal is to gather data.