Any person having control of a child under twenty-one years of age who wilfully refuses to give the name and age of such child, and such information concerning the school attendance of such child as this chapter requires, shall be fined not more than twenty-five dollars.