r/AskComputerScience • • Jul 04 '21

How does a computer's software interact with transistors to use them as switches?

If I type an A on my computer screen, there's a row of transistors somewhere in my computer's system that represents the binary 01000001. What exactly is switching the state on these transistors?

Every time I Google about this, only explanations on how a transistor works come up.

33 Upvotes

12 comments sorted by

View all comments

1

u/OldNewbProg Jul 05 '21

"What exactly is switching the state on these transistors?"

Electricity. :D Is the simple terrible answer. Everyone else has better answers. If you won't take a class and won't look for an online course, I'd recommend the place I first learned it: https://www.nand2tetris.org/

I'm a software dev with a degree in cs and read this book about a year or two before college. It isn't the most well written book but I think it's probably my favorite CS book.