the highest number you can count up to using 10 bits is 1029 using binary
Chat with our AI personalities
Four bits are required to write '12' as a binary number.(12)10 = ( 1 1 0 0 )2
Assuming you interpret the bits as an unsigned number, that would be 1111111111 in binary, or 1023 (210 - 1) in decimal.
1,2,3,4,5. Count everything less than the number you mainly useing. Like in this case your Number is 6. Lets try one. Okay 10, Count 1,2,3,4,5,6,7,8,9. But NOT ten.
24/10
A decimal digit requires 4 bits of memory space to represent all possible values. So N decimal digits will require 4N bits to store in decimal format. On the other hand, if the same N decimal digits were stored as a binary number, they should require log2(10N) bits, that is, about 3.32N bits. So storing the decimal representation uses about 20% more memory. To put it another way, 4 bits is capable of holding one of 16 different values. By using it to store decimal digits, it is only being used to hold one of 10 different values.