Mathematics For Computer Science - Conversion of binary and hexadecimal numbers to decimal numbers9/2/2020 Worked examples a Convert the binary number 0101 to decimal. Step 1: put the binary number into the table format as shown in Table
Step 2: binary is base 2, so replace the word ‘base’ with 2.
Step 3 calculate each column
Step 4: add the columns together. 0 + 4 + 0 + 1 = 5 Convert the hexadecimal number 1D9 to decimal. Step 1: put the hexadecimal number into the table format as shown in Table
Step 2: hexadecimal is base 16, so replace the word ‘base’ with 16.
Step 3: calculate each column, replacing any letters with their numerical equivalent. (D = 13)
Step 4: add the columns together.
256 + 208 + 9 = 473
0 Comments
Leave a Reply. |
AuthorLearn the facts about Computer Science. Archives
September 2020
Categories |