Earlier quoted context omitted.
Gee, write a program using what you just learnt and see if it works. You want someone to tell you what program to write?! I assume it's a book for kids, or a school textbook, when I see exercises like that. I don't understand the demand that books not only tell you things, but tell you how to learn everything in them too. Apologies, I really tried to make this not sound condescending!
The expert you're learning from probably has a better idea than you do of what programs you should write given (a) your presumed knowledge level and (b) what programs would help you learn the fastest and/or the most relevant features. Including good exercises is an extension of the purpose of the book itself.
Re: How to write a programming book
#71Maybe, but they know nothing about (a) why you're reading the book, (b) what you know/don't know already, (c) your learning style, (d) your speed of learning etc.