An Introduction to Programming and Computing
Marketed For Beginners
I had this shown to me in my masters in computer science. For one, I am not the market, but I'm not sure I'd put any beginner through this.
It's overtly complext using old mathematical concepts to try to learn. Using the free swift or go tutorials or the many apps will do you far better as an intro to code and you'll enjoy you're like a lot more.
This feels like it was written in 1985 and yet sadly it's on a few years old. Save yourself the headache.