1.2.2. How to know the binary representation of a decimal number?#
1.From binary to decimal-> the leftmost slot is the power number of power 2 is. Then we add the ones with 1 and get the decimal. (ex.1001 is 2^3+0+0+2^0=8+1=9)
2.From decimal to binary->we add the powers of two to get the number we have (ex.14 is 8+4+2 which is 1110)