How tf does binary code work.

598 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

Our regular number system is decimal- each position in a number goes from 0 thru 9, e.g. 189. In binary you only have the numbers 0 and 1 as you pointed out. The length of binary numbers is almost always multiples of 8 (8-bits), so 10111101 for example is an 8-bit number. You can convert between binary and decimal numbers and it just so happens that 10111101 is the same as 189 decimal.

Either way all you are doing is representing numbers – now what do you do with those numbers? Since you mentioned sentences you could for example assign a letter to certain numbers. Let’s say A=0, B=1, C=2, D=3. Given a number 303 that can be converted to DAD. If I gave you a different letter-to-number table it would turn out to be a different word though.

Traditionally letters in computers have been encoded using the ASCII standard, where for example the uppercase A is assigned to number 65 or 01000001 in binary.

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