The voting machine systems used in Virginia is Optical Scan:
Optical Scan: With this system, you will receive a card or sheet of paper, which you take over to a private table or booth. The card has the names of the various candidates and ballot measures printed on it. With a pen you fill in a little box or circle or the space between two arrows. When you are finished filling out all the cards, you may bring the cards over to a ballot box, where poll workers will show you how to put the cards into the scanner.
You can learn more about voting systems by checking out the Elections Assistance Commission’s (EAC) resource and the voting systems section here.