Trivia is not a good way to find a programmer, Trivia is a good way to find someone good at Trivia. The best way to find a programmer is to sit down with them and have them walk you through a project that they built. Ask them what part are they most proud of and ask them what part they would change, why they would change it and how they would change it. Other than personality questions their is nothing more that you need to ask to gauge their ability to program.