A Brief Look at Binary Numbers There are 10 types of people in the world: Those who understand...

22
A Brief Look at Binary Numbers Understandi ng Base 2 There are 10 types of people in the world: Those who understand binary numbers, and those who don’t. Fulton-Montgomery Community College TEPP Technological Education Pathways Partnership NSF DUE 1003122

Transcript of A Brief Look at Binary Numbers There are 10 types of people in the world: Those who understand...

A Brief Look at Binary Numbers

Understanding

Base 2There are 10 types of people in the world:Those who understand binary numbers, and those who don’t.

Fulton-Montgomery Community College TEPP Technological Education Pathways Partnership NSF DUE 1003122

So What is Base Two?

Fulton-Montgomery Community College TEPP Technological Education Pathways Partnership NSF DUE 1003122

What is Base Two?Fulton-Montgomery Community College TEPP Technological Education Pathways Partnership NSF DUE 1003122

Base 10

*In Base 10, one plus one equals TWO

Fulton-Montgomery Community College TEPP Technological Education Pathways Partnership NSF DUE 1003122

+ =

Base Two

In Base 2, one plus one equals 10

Fulton-Montgomery Community College TEPP Technological Education Pathways Partnership NSF DUE 1003122

+________

Base 10

Fulton-Montgomery Community College TEPP Technological Education Pathways Partnership NSF DUE 1003122

+____________________

0 0 0

0

Base 2

8

7

15Fulton-Montgomery Community College TEPP Technological Education Pathways Partnership NSF DUE 1003122

Click icon to add picture

YOU WIN!!

$1,010,11

1

The Base 2 Sweepstakes only cost one hundred dollars to enter!!

Guaranteed winnings of 1,010,111

Fulton-Montgomery Community College TEPP Technological Education Pathways Partnership NSF DUE 1003122

64 + 0 + 16 + 0 + 4 + 2 + 1 = 87

0 0

6 5 4 3 2 1 0

YOU LOSE!!

Fulton-Montgomery Community College TEPP Technological Education Pathways Partnership NSF DUE 1003122

Food For PC’s

Why Base Two??? Why 1’s and 0’s???

Fulton-Montgomery Community College TEPP Technological Education Pathways Partnership NSF DUE 1003122

What is this?

Fulton-Montgomery Community College TEPP Technological Education Pathways Partnership NSF DUE 1003122

AND GATES

0 0

0 00

00

A A

B B

A A

B B

Y Y

Y Y

Fulton-Montgomery Community College TEPP Technological Education Pathways Partnership NSF DUE 1003122

__ __ __ ___

___ ___

___ ___

+ =

AND + NOT = NAND

Fulton-Montgomery Community College TEPP Technological Education Pathways Partnership NSF DUE 1003122

NAND GATES

0 0

0

0

0

A A

B B

A A

B B

Y Y

Fulton-Montgomery Community College TEPP Technological Education Pathways Partnership NSF DUE 1003122

AND GATE NAND GATE

OR GATE NOR GATE

EXCLUSIVE OR EXCLUSIVE NOR

The Logical Side of Electronic Circuits

Fulton-Montgomery Community College TEPP Technological Education Pathways Partnership NSF DUE 1003122

+____________________

0 0

0 0

0

(A = 10)

(B = 3)

(Y = 13)

Fulton-Montgomery Community College TEPP Technological Education Pathways Partnership NSF DUE 1003122

4-bit Full AdderA

B

0 0

0 0

0Y

10+3

13

Fulton-Montgomery Community College TEPP Technological Education Pathways Partnership NSF DUE 1003122

If you can

Understand Genealogy

Then you understand how Base 2 works!

Fulton-Montgomery Community College TEPP Technological Education Pathways Partnership NSF DUE 1003122

You – have 2 parents, and

They – have 2 parents, and

They – have 2 parents, and

They have 2 parents

…and so on, and so on

So how many grandparents do each of us have

if you go back 11 generations?

If you understand Base 2, then the answer is easy!

Fulton-Montgomery Community College TEPP Technological Education Pathways Partnership NSF DUE 1003122

11 10 9 8 7 6 5 4 3 2 1 0

You

2 Parents

4 Grandparents8 Gr-grandparents

16 Gr-gr-grandparents

32 Gr-gr-gr-grandparents

64 Gr-gr-gr-gr-grandparents

128 Gr-gr-gr-gr-gr-grandparents

256 Gr-gr-gr-gr-gr-gr-grandparents

512 Gr-gr-gr-gr-gr-gr-gr-grandparents

1024 Gr-gr-gr-gr-gr-gr-gr-gr-grandparents

2048 Gr-gr-gr-gr-gr-gr-gr-gr-gr-grandparents

Fulton-Montgomery Community College TEPP Technological Education Pathways Partnership NSF DUE 1003122

T H E

E N D

Fulton-Montgomery Community College TEPP Technological Education Pathways Partnership NSF DUE 1003122

Fulton-Montgomery Community College TEPP Technological Education Pathways Partnership NSF DUE 1003122