
















































Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
interconverion of different types of numbers
Typology: Slides
1 / 56
This page cannot be seen from the preview
Don't miss anything!

















































2
1
0
2
1
0
Positional Number Systems (General)
v 10 Symbols {0,1,2,3,4,5,6,7,8,9}, Base or Radix is 10 v 136.25 = 1 ยด^ **10 2
- 1 + 3 ยด^ 10 - 2
Positional Number Systems (General)
v 10 Symbols {0,1,2,3,4,5,6,7,8,9}, Base or Radix is 10 v 136.25 = 1 ยด^ **10 2
- 1 + 3 ยด^ 10 - 2
v 2 Symbols {0,1}, Base or Radix is 2 v 101.01 = 1 ยด^ **2 2
- 1 + 1 ยด^ 2 - 2
Positional Number Systems (General)
v 10 Symbols {0,1,2,3,4,5,6,7,8,9}, Base or Radix is 10 v 136.25 = 1 ยด^ **10 2
- 1 + 3 ยด^ 10 - 2
v 2 Symbols {0,1}, Base or Radix is 2 v 101.01 = 1 ยด^ **2 2
- 1 + 1 ยด^ 2 - 2
v 8 Symbols {0,1,2,3,4,5,6,7}, Base or Radix is 8 v 621.03 = 6 ยด^ **8 2
- 1 + 3 ยด^ 8 - 2
v 16 Symbols {0,1,2,3,4,5,6,7,8,9,A,B,C,D,E,F}, Base is 16 v 6AF.3C = 6 ยด^ **16 2
- 1 + 12 ยด^ 16 - 2
n Each digit position of a binary number has a weight
n A binary number:
n- 1
n- 2
1
0
Decimal to Binary: Integer Part
nRepeatedly divide the given number by 2, and go on accumulating the remainders, until the number becomes zero. nArrange the remainders in reverse order. 2 89 2 44 1 2 22 0 2 11 0 2 5 1 2 2 1 2 1 0 0 1 Base NumbRem (89) 10 = (1011001) 2
Decimal to Binary: Integer Part
nRepeatedly divide the given number by 2, and go on accumulating the remainders, until the number becomes zero. nArrange the remainders in reverse order. 2 89 2 44 1 2 22 0 2 11 0 2 5 1 2 2 1 2 1 0 0 1 Base NumbRem (89) 10 = (1011001) 2 2 66 2 33 0 2 16 1 2 8 0 2 4 0 2 2 0 2 1 0 0 1 (66) 10 = (1000010) 2
Decimal to Binary: Fraction Part nRepeatedly multiply the given fraction by 2. nAccumulate the integer part (0 or 1). nIf the integer part is 1, chop it off. nArrange the integer parts in the order they are obtained.
.634 x 2 = 1. .268 x 2 = 0. .536 x 2 = 1. .072 x 2 = 0. .144 x 2 = 0. : : (.634) 10 = (.10100โฆโฆ) 2
Decimal to Binary: Fraction Part nRepeatedly multiply the given fraction by 2. nAccumulate the integer part (0 or 1). nIf the integer part is 1, chop it off. nArrange the integer parts in the order they are obtained.
.634 x 2 = 1. .268 x 2 = 0. .536 x 2 = 1. .072 x 2 = 0. .144 x 2 = 0. : : (.634) 10 = (.10100โฆโฆ) 2
.0625 x 2 = 0. .1250 x 2 = 0. .2500 x 2 = 0. .5000 x 2 = 1. (.0625) 10 = (.0001) 2
n Translate every hexadecimal digit into its 4 - bit binary equivalent n Examples:
16
2
16
2
16
2
n- 1
n- 2
2
1
0
n
n
8
16
32