Here is a great guide to interviewing programming candidates. It covers five screening questions to ensure that new hires are well rounded and competent programmers.
I’m not sure how I would fare but I would certainly use some of these questions if I was looking for somebody.
I guess that the questions could be used to figure out what one should brush up on.
See also this great article on Joel on Software discussing the attraction and the weeding out of job candidates.
The top 1%