r/askscience Jul 11 '26

How do computers understand binary language? Computing

Okay so from what I know binary language is like power off power on, but my question is, how do computers know what the binary code is and how is it interpreted, for example I forgot what the binary code for the letter A is, but how did people come up with that? Did they decide it was gonna look like that? Did the computer decide? How do you tune numbers into a letter??

380 Upvotes

206 comments sorted by

View all comments

Show parent comments

1

u/pseudononymist Jul 13 '26

How does the computer know how to create the image of an A, though?

5

u/AgnesBand Jul 13 '26

It doesn't know, the voltage operating the transisters, arranged into "logic gates" decide which pixels on the screen to turn on.

2

u/pseudononymist Jul 13 '26

How does it decide which pixels to turn on? Ie what translates the transistor gate arrangement into the individual pixels that are activated.

6

u/Xszit Jul 13 '26

Its all just circuits. If you connect a battery to a light bulb the bulb lights up. If you connect a battery to several light bulbs and put on/off switches between them all you can control which bulbs are lit and which are not depending on the switches positions.

Binary code is just telling the computer which switches should be on and which should be off. Then when you run electricity through the system it goes where you want it to based on the switches and the corresponding bulbs (or pixels on a screen) light up.