Interesting perspective for noobs like me


#1

Hey i have watched a tuorial and studied it. This is my way of understanding the Bitwise way of counting..

The Numbers start counting from 1 then the second number needs another slot which is '2' and that will make [One value of '2' and Zero Values of '1']

Then it does the same with 4 [One '4' Zero '2' Zero '1'] And so on: Here is a list from when numbers will go up a value like these two:

2**0 = 1
2**1 = 2
2**2 = 4
2**3 = 8
2**4 = 16
2**5 = 32
2**6 = 64
2**7 = 128
2**8 = 256
2**9 = 512
2**10 = 1024

1 = 1 # One '1'
2 = 10 # One '2' Zero '1'
3 = 11 # One '2' One '1'
4 = 100 # One '4' Zero '2' Zero '1'
5 = 101 # One '4' Zero '2' One '1'
6 = 110 # One '4' One '2' Zero '1'
7 = 111 # One '4' One '2' One '1'
8 = 1000 # One '8' Zero '4' Zero '2' Zero '1'
9 = 1001 # One '8' Zero '4' Zero '2' One '1'
10 = 1010 # One '8' Zero '4' One '2' Zero '1'


#2

This is binary code. You must learn Binary to understand bitwise operators.