A person who is of compulsory attendance age who does not meet the requirements for an exception under section 299.2, who does not attend a public school or an accredited nonpublic school, who is not receiving competent private instruction or independent private instruction in accordance with the provisions of chapter 299A, and who does not attend an alternative school or adult education classes, shall not receive an intermediate or full driver’s license until age eighteen.