System
|
Base
|
Possible digits
|
Binary
|
2
|
0 1
|
Octal
|
8
|
0 1 2 3 4
5 6 7
|
Decimal
|
10
|
0 1 2 3 4
5 6 7
8 9
|
Hexadecimal
|
16
|
0 1 2 3 4
5 6 7
8 9 A
B C D
E F
|
Table 1:The types of number system
Decimal number
- Base of 10.
105 104 103 102 102 101 (Positive value) 102 101 10-1 10-2 10-3 (Negative value)
- The positive and negatives values are determined by their position weight structure.For example:
Binary number
- Base 2
- The number consists only two digit 0 and 1 only
- The weight of structure of binary number is:
2n-1 23 22 21 20
2-1 2-2
2-n
Hexadecimal number
- Base of 16
- The composed number starts from 0 until F
- The number is suitable to present in four bits number
DECIMAL
|
BINARY
|
HEXADECIMAL
|
0
|
0000
|
0
|
1
|
0001
|
1
|
2
|
0010
|
2
|
3
|
0011
|
3
|
4
|
0100
|
4
|
5
|
0101
|
5
|
6
|
0110
|
6
|
7
|
0111
|
7
|
8
|
1000
|
8
|
9
|
1001
|
9
|
10
|
1010
|
A
|
11
|
1011
|
B
|
12
|
1101
|
C
|
13
|
1100
|
D
|
14
|
1110
|
E
|
15
|
1111
|
F
|
No comments:
Post a Comment