Last time I voted in person in Germany it worked like that. I think a lot of the (supposed?) issues with voting in the US come from trying to automate it.