I am hoping someone here can recall the name of the book that got me interested in computers and Computer Science. It was a Microsoft Press book that taught fundamentals of computing. The book started with discussing relay switches, and progressed to how one could build computational units using them. This book was available at my local public library in the mid 90’s.
I had a very similar experience. I read the book from the library as a kid. I originally thought it was to do with ciphers, as I was into codes then. It introduced me to the programming section of the library, and I expanded to the math section from there. A couple of STEM degrees later and here I am.