How tf does binary code work.

622 views

it’s just a bunch of 0’s and 1’s.. like I can just put a bunch of them and somehow make a sentence??? like what does this mean -> 010100101001010010 (i legit just spammed 0’s and 1’s)

In: 0

26 Answers

Anonymous 0 Comments

Binary code doesn’t make sense to us becasue it’s not written for us, it’s written for machines.

All computers are based on transistors, which are little gates (or switches). To know what to do, they need instructions, and the 2 instructions they get are “should I be on or off?” Which we translate to a 1 or a 0.

Strings of binary are strings of instructions, and we’ve converted those strings (and design the computers) so that we can convert instructions the machine reads into instructions we can write.

There’s a huge step (multiple steps) between writing code and getting binary code for a machine out the other end, that’s what compilers do.

You are viewing 1 out of 26 answers, click here to view all answers.