Here are some of my answers to the exercises in Chris Pine's book, Learn to Program.