(a) A parent, guardian, or other person supervising the welfare of a child under 18 commits a misdemeanor if he or she knowingly endangers the child's welfare by violating a duty of care, protection or support.
(b) A parent, guardian, or other person supervising the welfare of a child under 18 commits a violation if he or she neglects or refuses to send the child to school.