Professional Documents
Culture Documents
Number System
Number System
Number Systems bS
System
Base :1.0
Symbols 0; 1, ... 9
Used in computers? No
'\J"
res
No 8 Hexa decimal
~.:.,:_.!iift
Yes
No No
No No
],6
Binanr
0 1
O'etaT
0 1
Hexa-d,eCl1TIH 1 · ..
0 1 .2
o
1
2
.2 3 4
5
3
5 6 7
3 5
6
7
6
7
Decimal
~.. .
Binarv
Octal
Hexad,eCl1TIH 1 · .. '8
I"'~ .
'8
9
1000
......
10
1.1
9
A
I
10
,
12 13 14
IS'
11 1.2
'8
I
C
-
13 14
IS'
D
I
16 17
E F
I
Hexa-d,eCl1TIH 1 · ..
16
17 18 19
10000
",_,' ",_,' ",_,'
20
21
10
II
10001
1nO"10" U"-_" ",-_"
22
23
24
1.2 13
14,
20
,21 ,2,2 ,23
25
15
26
,
_ ,: 27
_'
16
17
:Etc·,
'Decimal
Binary
., Q
-', "',,<:-'
25
.~' '. ::~:
..
,·t·"
10 _
'1-,00-1 '2 1
. '. : ".-.". : ".-.". '.
_,
-'I 3
~'''.• ", -'j ,
,,'
_,
"19
: ",.-. '. ",
,"
16
Base
Octal
'Binary
'Hexadecimal
-> - ....
5 x 10° 2
X X
5
20 - 100 125
101 10.2
Base
,
'B"
~ "D'
'Decimal
'Binary
'B"
~"
D'
.. Technique
'1b .. by Z", h ,_,M u,'lt],P,,'Y' eac 'h.brt b 211 w" ere of the 'bit
i, ,=,
The weight is the position, ofthe bit, starting from 0 on. the right
',I +t· 8,
.1 x 2 0 .1 x 2 1 0 x 22 .1 X 2 3 0 X 2 ,4 .1 X 2 5
.
1 2
o
8
I-
o
.
32·•···
10······
.... _ ...
····.··IC'-'t·-._ .... :
:_ I
al t Decimtal
__ ._.:.... :_
·0····
..
"_.
':'1
..'
__ '
' ...
::'
._
...•
1._._
'_ .. _ .....
'Decimal
'Binary
10······
.... _ ...
····.··IC'-'t·-._ .... :
:_ I
al t Decimtal
__ ._.:.... :_
·0····
..
"_.
':'1
..'
__ '
' ...
::'
._
...•
1._._
'_ .. _ .....
.. Technique
._.Multiply each 'bit by .§.n, where of the 'bit
.=.
11.
is the "weight"
The weight is the position. ofthe bit, starting from 0 on. the right .~. dd the results A
7248
=>,
4: x 8° 2 }C, 81 -
7 x 82
16 4: 48 4: 6 810
'Decimal
'Binary
.. Technique
,-, Multiply each 'bit by 1,611, where n is the "weight' of the 'bit The weight is the position, ofthe bit, starting from 0 on, the right ,~, dd the results A
,=,
c x 16 0
_,
.
,
,_
B x 16 ]. ,_ ~~2 A x, 16,.. -
- .12 x - .1 1 x
'Decimal
'Binary
.. Technique
,_,Divide by two, keep track ofthe remainder ,~,First remainder is bit 0 (L'SB, least-significant bit) ,~,Second remainder is bit 1 ,~,Etc~
12 510
_ I',
_ -
? ,2
I~'
I 2I 2I
2 2 2 2
~ ~
2 I 12 5
62
~ I .. ::.•,
.1
31 15
7
0 1 1
1 1 .1
3 1
0
I
1251Q
,_
1111101.2
1'"""",1
'Decimal
'Binary
1",",,1
.. Technique
,_,Convert each octal digit to a 3... equivalent bit binary representation
!!!
7058
,_
1110001012
'H" .
" ..... d '" 1'.to '..lnary ,exaeClma " B'" ., " "
_"
'
..
'.
'".--_
,"..
..
,",
,"
,".
'.
".--_
-_-
'
...
"
'",
".--_.
..
'Decimal
'Binary
....
" ..... d '" 1 ," ..lnary ,exaeClma .to 'B'" ., " "
'H" ,
_"
'
..
'.
'".--_
,"..
..
,",
,"
,".
'.
".--_
-_-
'
...
"
'",
".--_.
.. Technique
,_,Convert each hex,adecimal digit to a -l-bit equivalent binary representation
10,AF16
?'2
0001
!!!!
1 __'
0000
I.
1_
1010
1111
.2
'Decimal
..
",'.
'Binary
.. Technique
,_,Divide by 8
8 8 8 8
I 1234
~
I I
154 19 2
2 2
3 2
12341Q
,_
2322.8
·"t·
'.
",',
'Decimal
'Binary
·"t·
'.
",',
.. Technique
._.Divide by 1,6
.
16 11234 16 I 77 16 I 4
2 13 4:
. ..lnary to .eta .
'-B' ",,~, , .. '
' ........, ", . ""I
0·:'···· ."
..... ',.,,'
'Decimal
'Binary
. ..lnary to .eta .
'-B' .... ~" . ..'
• ........, ", . •• .• 1
0··.····· ..' 1 .
..... r .•.. '
.. Technique
._.Group bi
8.
10110101112
,_
?8
1111
1 3 2
.
10110101112
13278
'*'
":
'Decimal
'Binary
'*'
":
.. Technique
,_,Group bi
8.
10101110112
'?
~,16
!!!
3
B B
10 1011
1011
10101110112
,_
2:BB]_6
'Decimal
'Binary
.. Technique
._.U'8 e binary' as an. intermediary
1
Example
10768
?
~16
001
!!! !
I
0 00
111
110
3
,
10768
,_
23E16
'Decimal
'Binary
.. Technique
,_,Use binary' as an, intermediary
I_
0 001 .1
!!!
111 1 7
1
00 00
_ ---'
I_
_I
1100
,_ 174148