The Sherlock book was written by Henry Ledgard, a legendary writer and programmer. There's also a Pascal version, which is better because Pascal is a real programming, more capable than Basic-- and doesn't cause you to unlearn bad habits.
quick update: added all the books you recommended except music by computers. it's on internet archive, but only people with a print disability can access it.