How to transfer from hexadecimal to a binary numeral system

How to transfer from hexadecimal to a binary numeral system

Hexadecimal and binary numeral systems are position, that is the sequence of each figure in total number means a position of the corresponding category. A transfer from one system in another is made by splitting required number into categories and transfer of each figure to binary number according to the corresponding table.

Instruction

1. Key parameter of any numeral system is its basis. This integer showing how many signs are used for record of numbers in this numeral system. For example, record of hexadecimal number requires sixteen signs, ten figures and six letters of the Latin alphabet. Representation of binary number, respectively, requires two figures, 1 and 0.

2. A transfer from a hexadecimal system in binary is made by method of submission of each category of initial number in the form of the four of figures of a binary system by a certain principle. To each figure or a letter of hexadecimal number there corresponds the sequence from four combinations of numbers 0 and 1: 0 = 0000; 1 = 0001; 2 = 0100; 3 = 0011; 4 = 0100; 5 = 1001; 6 = 0110; 7 = 0111; 8 = 1000; 9 = 1001; And = 1010; B = 1011; C = 1100; D = 1101; E = 1110; F = 1111.

3. Let's review an example: let's transfer number ABC12 to a binary system. For this purpose break it into figures or letters of separate categories: A, B, C, 1 and 2. Now transfer each symbol of the category to binary representation by the principle given above: A = 1010; B = 1011; C = 1100; 1 = 0001; 2 = 0100. Write down the received combinations of numbers, observing the sequence: 10101011110000010100. This number will also be binary representation of number ABC12.

Author: «MirrorInfo» Dream Team


Print