It is considered impolite to answer with “Yep” or “Mhm” and some schools even make students answer “Yes Sir/Miss”.