Understanding of data:
100 is not necessarily 100! It can be:
Counting System:
This figure is incorrect: 1*100 + 2*10 + 3 + 4*0.1 + 5*0.02
Binary-> decimal:
Decimal-> binary (except the 2 Method ):
Because the binary is too long, reading and writing is particularly troublesome and error-proneProgramStaff avoid using binary notation directly in program source files.
They use hexadecimal notation instead of binary. Why don't they use decimal notation?
The hexadecimal notation has two very good features:
. It is compact;
. Binary and hexadecimal conversion is very easy.
In hexadecimal notation, 10 numbers are used. Similarly, in hexadecimal notation, 16 numbers are used, but only 0-9 is used. What should I do if the number is insufficient?
Introduction of a B c d e f Represents 10 11 12 13 14 15 respectively
Hexadecimal-> decimal:
Hexadecimal-> binary:
Octal indicates that early computer systems are very common, but they are out of our computer systems.
Octal is mainly applicable to the current 12-36-bit computer system (or other computer systems with multiples of 3)
For a computer system with a power of 2 (8 16 32 or 64-bit computer system), the representation is out of place.