s kills : counting with decimal and binary numbers

19
Skills: counting with decimal and binary numbers Concepts: using a binary code for representing numbers, positional number systems, number system base, number of symbols in a number system This work is licensed under a Creative Commons Attribution- Noncommercial-Share Alike 3.0 License. Representing numeric data with bits

Upload: latika

Post on 18-Feb-2016

48 views

Category:

Documents


3 download

DESCRIPTION

Representing numeric data with bits. S kills : counting with decimal and binary numbers Concepts : using a binary code for representing numbers, positional number systems, number system base, number of symbols in a number system. - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: S kills : counting with decimal and binary numbers

Skills: counting with decimal and binary numbersConcepts: using a binary code for representing numbers, positional number systems, number system base, number of symbols in a number system

This work is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 License.

Representing numeric data with bits

Page 2: S kills : counting with decimal and binary numbers

Where does this topic fit?

• Internet concepts– Applications– Technology– Implications

• Internet skills– Application development– Content creation– User skills

Page 3: S kills : counting with decimal and binary numbers

Encoding numeric data

Data type Decade

Numeric 1950s

Alphanumeric 1960s

Text 1970s

Image 1990s

Speech 2000s

Music 2000s

Video 2000, 2010s

Page 4: S kills : counting with decimal and binary numbers
Page 5: S kills : counting with decimal and binary numbers

0 1 2 3 … 9

Using decimal numbers to count stones

Page 6: S kills : counting with decimal and binary numbers

?

One more stone

Page 7: S kills : counting with decimal and binary numbers

Zero, carry 1

10

Page 8: S kills : counting with decimal and binary numbers

Add 1 to the 1’s position

11

Page 9: S kills : counting with decimal and binary numbers

123456789

101112141516171819202122...

90919293949596979899

100101...

Page 10: S kills : counting with decimal and binary numbers
Page 11: S kills : counting with decimal and binary numbers

11

Using binary numbers to count stones

101 100 101 110

Page 12: S kills : counting with decimal and binary numbers

0123456789

101112131415161718192021…

Counting with decimal and binary numbers

01

1011

100101110111

10001001101010111100110111101111

100001000110010100111010010101…

Page 13: S kills : counting with decimal and binary numbers

250

Page 14: S kills : counting with decimal and binary numbers

11111010

Page 15: S kills : counting with decimal and binary numbers

Convert 11111010 (binary) to decimal

1 x 128 = 1281 x 64 = 641 x 32 = 321 x 16 = 161 x 8 = 80 x 4 = 01 x 2 = 20 x 1 = 0

Total = 250

11111010 (binary) = 250 (decimal)

Page 16: S kills : counting with decimal and binary numbers

Mayan base 20 symbols

Page 17: S kills : counting with decimal and binary numbers

99 or 1100011

Summary

Page 18: S kills : counting with decimal and binary numbers

Self study questions

1. If I am counting in binary, what is 11111 plus 1?

2. If I am counting in binary, what is 11111 plus 11?

3. Write the number 12 (base 10) in binary

4. Write the number 1101011 (binary) in decimal.

5. If I were a Mayan, how would I write the number 25 (base 10)?

6. True or false – all odd binary numbers end in 1?

Page 19: S kills : counting with decimal and binary numbers

Links

Mayan numbers:http://en.wikipedia.org/wiki/Maya_numerals

Hindu-Arabic number system:http://en.wikipedia.org/wiki/Hindu-Arabic_numeral_system