When interviewing, many companies first filter developers through HR (such as for online resume screening or a phone call). The irony is that they want a technical star, but screen all candidates through non-technical HR folk. Sometimes people in such situations, pressed for time, resort to quick yes-no questions. The naive approach is to just ask "rate yourself on 1-10", or "do you have over X years experience?" While I think the best type of interview is one where technical people can ask technical questions (or even write pseudo-code on the whiteboard), not every developer gets that opportunity. So if for whatever reason, the recruiter is limited to only yes-no questions, consider these kind of questions:
- Do you program in your spare time? --> programming in your spare time implies that you enjoy programming, which implies that you're motivated and good at it.
- Do you have any Microsoft Certifications? --> implies basic Microsoft-specific education
- Do you have an engineering or CS degree? --> implies a basic general education
- Have you ever lead a team of over 3 people? --> implies basic leadership abilities.
- Have you ever programmed an application over X thousand lines-of-code? --> big apps will provide scalability and process problems that small apps never will.
- Are you an active member of any professional groups? --> implies motivation
- Have you ever been published (magazine, online journal, book)? --> implies good communication
- Do you have your own website or blog? --> implies personal motivation and innovation
- Do you contribute to any open-source projects? --> implies hands-on coding and working with others
- Since college, have you read more than three technical books? --> implies continual, pro-active education, as opposed to just re-actively reading scattered blog posts.
This is only a partial list, but you get the idea. Many developers can have "X years experience", yet never do a single thing on this list. This list focuses on what you have done, not how long you've sat in front of a computer.