I wrote about the other side of it (the interviewee) here http://rawsyntax.com/post/6112439871/interviewing-for-progra...
FWIW, I don't think coding exercises help. I think the employer should require and example project that runs, and the source code to it. Many good developers have a side project that they can show off.