It is the purpose of this ordinance to discourage children of compulsory school age from unauthorized absences and to impose penalties upon those students and also upon their parents or legal guardians.