Usually, the reason for failing is determined in such cases. Normally, a student will not be promoted. But if he/she is a studious student and wasn't able to attend school for some genuine reason, it will be the decision of the school management to promote or not.