Binary Code Research Papers - Academia.edu (original) (raw)

Decimal Numbers:-Base 10 uses ten digits = 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 Binary Numbers:-Base 2 uses 2 digits = 0, 1 Octal Numbers:-Base 8 uses 8 digits = 0, 1, 2, 3, 4, 5, 6, 7 Hexadecimal Numbers:-Base 16 uses 16 digits = 0, 1, 2, 3, 4,... more

Decimal Numbers:-Base 10 uses ten digits = 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 Binary Numbers:-Base 2 uses 2 digits = 0, 1 Octal Numbers:-Base 8 uses 8 digits = 0, 1, 2, 3, 4, 5, 6, 7 Hexadecimal Numbers:-Base 16 uses 16 digits = 0, 1, 2, 3, 4, ……., 14, 15-{ A=10 }, { B=11 }, { C=12 }, { D=13}, { E=14 }, { F=15 } > These conversion shows how to convert any base to decimal… • Converting Octal to Decimal…. • Example : 1234568 = (1x8 5) + (2x8 4) + (3x8 3) + (4x8 2) + (5x8 1) + (6x8 0) = 4279810 • Converting Hexadecimal to decimal…. • Example : ABC123 16 = (Ax16 5) + (Bx16 4) + (Cx16 3) + (1x16 2) + (2x16 1) + (3x16 0) = (10x16 5) + (11x16 4) + (12x16 3) + (1x16 2) + (2x16 1) + (3x16 0) = 17388410 • Converting Binary to decimal…. • Example : 110101 2 = (1x2 5) + (1x2 4) + (1x2 2) + (1x2 0) = 5310 *Tiny numbers that are written under each number system shows what number system is that ,for example: 2 means Binary, 8 means Octal, 10 means Decimal, 16 means Hexadecimal..