Every school is different the BOS leaves it up to the school to decide what is appropiate attendance to pass a course.
There is a thing called "explained absences" this is when you don't turn up but you give a reason... ie you're sick, and these usualy don't count towards the absences.