Decimal Review 10 5 10 4 10 3 10 2 10 1 10 0 100,00010,0001,000100101 Decimal ~ Base 10 number...

13
Decimal Review 10 5 10 4 10 3 10 2 10 1 10 0 100,000 10,000 1,000 100 10 1 Decimal ~ Base 10 number system 10 different numbers: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 Based on the powers of 10 (see handout) 1, 10, 100, 1000, 10000, 100000, …

Transcript of Decimal Review 10 5 10 4 10 3 10 2 10 1 10 0 100,00010,0001,000100101 Decimal ~ Base 10 number...

Page 1: Decimal Review 10 5 10 4 10 3 10 2 10 1 10 0 100,00010,0001,000100101 Decimal ~ Base 10 number system 10 different numbers: 0, 1, 2, 3, 4, 5, 6, 7, 8,

Decimal Review

105 104 103 102 101 100

100,000 10,000 1,000 100 10 1

Decimal ~ Base 10 number system10 different numbers: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9

Based on the powers of 10 (see handout)1, 10, 100, 1000, 10000, 100000, …

Page 2: Decimal Review 10 5 10 4 10 3 10 2 10 1 10 0 100,00010,0001,000100101 Decimal ~ Base 10 number system 10 different numbers: 0, 1, 2, 3, 4, 5, 6, 7, 8,

Decimal Example

2657 = 2000 + 600 + 50 + 7

= 2*1000 + 6*100 + 5*10 + 7*1

= 2*103 + 6*102 + 5*101 + 7*100

Place the corresponding digits in the decimal chart for the number: 830157

Page 3: Decimal Review 10 5 10 4 10 3 10 2 10 1 10 0 100,00010,0001,000100101 Decimal ~ Base 10 number system 10 different numbers: 0, 1, 2, 3, 4, 5, 6, 7, 8,

Binary!

Counting with 1s and 0s

Page 4: Decimal Review 10 5 10 4 10 3 10 2 10 1 10 0 100,00010,0001,000100101 Decimal ~ Base 10 number system 10 different numbers: 0, 1, 2, 3, 4, 5, 6, 7, 8,

Binary

Base 2 number system2 different numbers: 0, 1

Based on the powers of 2 (see handout)1, 2, 4, 8, 16, 32, …

25 24 23 22 21 20

32 16 8 4 2 1

Page 5: Decimal Review 10 5 10 4 10 3 10 2 10 1 10 0 100,00010,0001,000100101 Decimal ~ Base 10 number system 10 different numbers: 0, 1, 2, 3, 4, 5, 6, 7, 8,

Example

10112 = 1*23 + 0*22 + 1*21 + 1*20

= 1*8 + 0*4 + 1*2 + 1*1

= 8 + 2 + 1 = 1110

Place the corresponding digits in the binary chart for the number: 001101

What is it in decimal (base 10)?

Page 6: Decimal Review 10 5 10 4 10 3 10 2 10 1 10 0 100,00010,0001,000100101 Decimal ~ Base 10 number system 10 different numbers: 0, 1, 2, 3, 4, 5, 6, 7, 8,

Examples

1) Draw the powers of 2 table2) Place the following numbers in the table3) Determine the decimal version!

000112 = ?

011112 = ?

1010112 = ?

Page 7: Decimal Review 10 5 10 4 10 3 10 2 10 1 10 0 100,00010,0001,000100101 Decimal ~ Base 10 number system 10 different numbers: 0, 1, 2, 3, 4, 5, 6, 7, 8,

ON-OFF-ON-ON

1 0 1 1

Page 8: Decimal Review 10 5 10 4 10 3 10 2 10 1 10 0 100,00010,0001,000100101 Decimal ~ Base 10 number system 10 different numbers: 0, 1, 2, 3, 4, 5, 6, 7, 8,

Haha!

"There are only 10 types of people in the world: Those who understand binary, and those who don't"

Page 9: Decimal Review 10 5 10 4 10 3 10 2 10 1 10 0 100,00010,0001,000100101 Decimal ~ Base 10 number system 10 different numbers: 0, 1, 2, 3, 4, 5, 6, 7, 8,

Decimal Binary

Page 10: Decimal Review 10 5 10 4 10 3 10 2 10 1 10 0 100,00010,0001,000100101 Decimal ~ Base 10 number system 10 different numbers: 0, 1, 2, 3, 4, 5, 6, 7, 8,

Review

Each binary digit (bit) is a power of 2

... 27 26 25 24 23 22 21 20

... 128 64 32 16 8 4 2 1

...

Page 11: Decimal Review 10 5 10 4 10 3 10 2 10 1 10 0 100,00010,0001,000100101 Decimal ~ Base 10 number system 10 different numbers: 0, 1, 2, 3, 4, 5, 6, 7, 8,

Decimal Binary

1. Write out the powers of 22. Subtract the largest power of 2 that is less than

your number3. Make note of which power of 2 you subtracted with

a 1 (unused powers of 2 will be 0)4. Subtract the next largest power of 2 from the result

that you have5. Repeat until you reach 06. Build your binary number from the 1s and 0s that

you have placed

Page 12: Decimal Review 10 5 10 4 10 3 10 2 10 1 10 0 100,00010,0001,000100101 Decimal ~ Base 10 number system 10 different numbers: 0, 1, 2, 3, 4, 5, 6, 7, 8,

Examples

1510 = ?

4910 = ?

... 27 26 25 24 23 22 21 20

... 128 64 32 16 8 4 2 1

...

Page 13: Decimal Review 10 5 10 4 10 3 10 2 10 1 10 0 100,00010,0001,000100101 Decimal ~ Base 10 number system 10 different numbers: 0, 1, 2, 3, 4, 5, 6, 7, 8,

Convert the following from decimal to binary

810 = ?

2510 = ?

8310 = ?