How tf does binary code work.

582 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

Picture a normal eight digit number.

11,001,001

You know it’s 11 million, 1 thousand and one. Because there’s a one in the ones column, a zero in the tens column, a zero in the hundreds column, a one in the thousands column, and so on. Each column has ten possible values (0 through 9).

Now take an eight digit sequence in binary. Which, coincidentally, is a byte, the basic building block of information. Each column only has two possible values (1 and 0). So each column is esssentially now a yes/no. So:

11001001

Now it’s not columns that go up by 10. It’s columns that multiply by 2. You have a 1 in the ones column, so that’s a value of 1. You have a zero in the twos column, and a zero in the fours column. You have a one in the eights column (8 plus the 1 we’ve already established = 9 so far). You have zeros in the sixteens column and thirty-twos column. Then you have ones in the sixty-fours column and the one hundred twenty-eights column (8+1+64+128= 201).

So the binary sequence 11001001 represents the number two-hundred one. Play around with it. You may notice something- the total range of possible values is 256 (from 0 to 255).

Now hmmm….. what common numbers do you see that go from 0 to 255?

https://en.wikipedia.org/wiki/IP_address

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