Menene Decimal?
Tsarin adadi na goma shine mafi yawan amfani da tsarin daidaitaccen tsarin rayuwar yau da kullun. Yana amfani da lamba 10 azaman tushe (radix). Saboda haka, yana da alamomi 10: Lambobi daga 0 zuwa 9; wato 0, 1, 2, 3, 4, 5, 6, 7, 8 da 9.
Menene hexadecimal?
Tsarin lamba hexadecimal, sau da yawa an rage shi zuwa "hex", tsarin lamba ne da aka yi shi da alamomi 16 (tushe 16). Madaidaicin tsarin lambobi ana kiransa decimal (tushe 10) kuma yana amfani da alamomi goma: 0,1,2,3,4,5,6,7,8,9. Hexadecimal yana amfani da lambobi goma sha ɗaya da ƙarin alamomi shida. Babu alamomin lamba waɗanda ke wakiltar ƙima sama da tara, don haka ana amfani da haruffan da aka ɗauko daga haruffan Ingilishi, musamman A, B, C, D, E da F. Hexadecimal A = decimal 10, da hexadecimal F = decimal 15.
Decimal zuwa hex Misali
Maida 20201 10 zuwa hex:
Rabo ta 16 | Quotient | Rago (disimal) | Rago (hex) | Lambobin # |
---|---|---|---|---|
20201/16 | 1262 | 9 | 9 | 0 |
1262/16 | 78 | 14 | E | 1 |
78/16 | 4 | 14 | E | 2 |
8/16 | 0 | 4 | 4 | 3 |
20201 10 = 4EE9 16
Teburin jujjuyawa goma zuwa hex
Tushen Decimal 10 | Hex Base 16 |
---|---|
0 | 0 |
1 | 1 |
2 | 2 |
3 | 3 |
4 | 4 |
5 | 5 |
6 | 6 |
7 | 7 |
8 | 8 |
9 | 9 |
10 | A |
11 | B |
12 | C |
13 | D |
14 | E |
15 | F |
16 | 10 |
17 | 11 |
18 | 12 |
19 | 13 |
20 | 14 |
21 | 15 |
22 | 16 |
23 | 17 |
24 | 18 |
25 | 19 |
26 | 1 A |
27 | 1B |
28 | 1C |
29 | 1D |
30 | 1E |
40 | 28 |
50 | 32 |
60 | 3C |
70 | 46 |
80 | 50 |
90 | 5A |
100 | 64 |
200 | C8 |
1000 | 3E8 |
2000 | 7D0 |