Q: How would you teach loops to someone who is new to programming?
After the likely:
var loopAction = (i) => { Console.WriteLine("Current Value: {0}", i); }; for(var i = 0; i <= 10; i++) { loopAction(i); }
Prompt for a loop that uses a non-numerical loop-control variable. This should give the developer the opportunity to show that they truly understand the nuts&bolts of what we do.