Students learn the basics of programming by giving Karel the Dog commands in a grid world. Karel is a dog that only knows how to move, turn left, and place tennis balls in his world. Students give Karel these commands to instruct him to do certain things.