the court may suspend the driving privilege of a minor for : C. being truant in a school attendance
ACtually, this rule is not applied in all states. One of the state that impose this law is Florida. In Florida, you have to fulfill a number of attendance requirement to be able to obtain a driver's permit