both require textbook :(
one of the questions I always ask on the first day is "how required is the textbook"
because if it's just for reading, then it's mostly pointless (for CS at least)
if it's for problems in the book, then it's just obnoxious (should give the problems on the website/whatever, not the numbers of which problems to do)
either way can probably find the textbooks online/in a library