Practice test questions with a few sample code answers