Any person who is guilty of willful or corrupt false swearing in taking an oath prescribed by or upon any examination provided for in sections 32-301 to 32-330 or upon being challenged as unqualified to register to vote shall be guilty of a Class IV felony.