Section 25. Whoever, at a primary, caucus or election, places any distinguishing mark upon his ballot, or makes a false statement as to his ability to mark his ballot, or allows the marking of his ballot to be seen by any person for any purpose not authorized by law, or gives a false answer to or makes a false oath before a presiding officer, shall be punished by imprisonment for not more than six months or by a fine of not more than one hundred dollars.