
















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
An in-depth exploration of number bases, focusing on converting decimal numbers to binary, octal, and hexadecimal. Learn the basics of positional notation, the relationship between different bases, and how to perform conversions using examples and formulas.
Typology: Study notes
1 / 24
This page cannot be seen from the preview
Don't miss anything!

















CSE1520 W08 M. Mandelbaum
book slides Computer Science Illuminated
CSE1520 W08 M. Mandelbaum
book slides Computer Science Illuminated
CSE1520 W08 M. Mandelbaum
book slides Computer Science Illuminated
CSE1520 W08 M. Mandelbaum
book slides Computer Science Illuminated
600 + 40 + 2? Or is it 384 + 32 + 2? Or maybe… 1536 + 64 + 2?
CSE1520 W08 M. Mandelbaum
book slides Computer Science Illuminated
6 x 10
2 = 6 x 100
4 x 10
2 x 1
= 642 in base 10
This number is in base 10
The power indicatesthe position ofthe number
CSE1520 W08 M. Mandelbaum
book slides Computer Science Illuminated
1
R is the baseof the number^1
n is the number ofdigits in the number
d is the digit in thei
th^ positionin the number
CSE1520 W08 M. Mandelbaum
book slides Computer Science Illuminated
CSE1520 W08 M. Mandelbaum
book slides Computer Science Illuminated
0,1,2,3,4,5,6,7,8,9,A,B,C,D,E, and F
CSE1520 W08 M. Mandelbaum
book slides Computer Science Illuminated
D x 16
2 = 13 x 256 = 3328
1 = 14 x 16 = 224
= 15= 3567 in base 10
CSE1520 W08 M. Mandelbaum
book slides Computer Science Illuminated
14
1 x 2
6 = 1 x 64 = 64
5 = 1 x 32 = 32
4 = 0 x 16 = 0
3 = 1 x 8
2 = 1 x 4
1 = 1 x 2
= 0= 110 in base 10
CSE1520 W08 M. Mandelbaum
book slides Computer Science Illuminated
16
CSE1520 W08 M. Mandelbaum
book slides Computer Science Illuminated
17
10 12 1010
9 11 1001
8 10 100
7 7 111
6 6 110
5 5 101
4 4 100
3 3 011
2 2 010
1 1 001
0 0 000
Decimal Octal Binary
CSE1520 W08 M. Mandelbaum
book slides Computer Science Illuminated
19
CSE1520 W08 M. Mandelbaum
book slides Computer Science Illuminated
20
Divide the decimal number by the new baseMake the remainder the next digit to the left inthe answerReplace the original dividend with the quotient