This is going to depend on the household. First of all, sims get 24 hours of the super strong, urgent Hunger moodlet before something horrible happens. In the rare cases where the entire household is that hungry all at once, the children and older can each have a piece of fruit, which I would always have in stock even if nothing else, to tide them over while a more permanent solution is worked on.
If the household has one sim with decent cooking skill available, then they take over. If not, then it's either pizza delivery or the Unskilled Klutz/Chef of the Day tries again with something that is impossible to burn like Autumn Salad or Peanut Butter and Jelly Sandwiches. If those don't turn out edible either or maybe instead, if they can afford it, some or all of them go out to eat or hit up a local Bakery Display for some takeout platters as many of mine by way of the NRaas Cupcake mod carry regular full meals in addition to baked goods.
But no one eats burned, spoiled, or horrifying quality food unless there really is no alternative available or the sims preparing it have the Evil trait and are only pretending to be kind to their fellow household members and guests -- this remote possibility is why I had to go with "Other."
TCE to cheat the hunger motive would only be for when something unexpected and surprisingly wrong happened with the game, not typically to compensate for poor planning. :)