Upload
harold-thornton
View
224
Download
0
Embed Size (px)
Citation preview
Computers are not as smart as you think, in fact, they only know 2 things…
0 and 1
Everything else is told to the computer by a human, this is called programming.
How am I supposed to remember that?!
To make the number 5, place a 1 under the numbers that you need and a 0 under the numbers that you don’t…
128
64 32 16 8 4 2 1
Make a table like this..
128
64 32 16 8 4 2 1
0 0 0 0 0 1 0 1
Denary
numbers –
keep
doubling!
This is Binary
So 5 for us, is 00000101 for the computer
128
64 32 16 8 4 2 1
0 0 0 0 0 1 0 1
We can forget the first few 0s and our binary number 5 looks like this… 101
Now use your table to convert these numbers to binary:
3206101720424771
146255
Task
1
Answers
3206101720424771146255
111001101010100011010010101010111110001111001001011111111
Work with a friend, give them a number under 255 and see if
they can convert it into binary.
Is there any number that CAN’T be made?
Task
2
Now it’s time to convert binary to OUR digits
128
64 32 16 8 4 2 1
0 1 0 0 0 0 1 0
128
64 32 16 8 4 2 1
0 0 1 0 0 1 0 1
128
64 32 16 8 4 2 1
1 0 0 0 0 0 0 1
a)
b)
c)
Can you convert these binary numbers into denary?
a) 00011000b) 00000101c) 00010110d) 01101011e) 01111000f) 10100100g) 10100101h) 10111100i) 11010111j) 11100110k) 11111010
Task
3
You
MIGHT
need a
calculato
r!
24 000110005 00000101 22 00010110107 01101011120 01111000164 10100100 165 10100101 188 10111100 215 11010111 230 11100110250 11111010
Answers
1. Show your shoe size in binary
2. Show the date of the month you were born in binary
3. Show your age in binary
4. Show your height in cm in binary
5. Show the amount of siblings you have in binary
6. Show your house number in binary
Task
4
De-code these facts…
More than 110010% of the people in the world have never made or received a telephone call.
Gorillas sleep as much as 1110 hours per day.
You can tell the sex of a horse by its teeth. Most males have 101000, females have 100100.
On average, 1100 newborns will be given to the wrong parents daily.
A giraffe can clean its ears with its 10101 inch tongue!
A man named Charles Osborne had the hiccups for 1000101 years!
Task
5
De-code these facts…
More than 50% of the people in the world have never made or received a telephone call.
Gorillas sleep as much as fourteen hours per day.
You can tell the sex of a horse by its teeth. Most males have 40, females have 36.
On average, 12 newborns will be given to the wrong parents daily.
A giraffe can clean its ears with its 21-inch tongue!
A man named Charles Osborne had the hiccups for 69 years!
Answers
“There are 10 kinds of people in the world, those who understand binary and those
who don’t”
Explain this joke…
Task
6
Binary code isn’t just about numbers. Every number, letter and symbol on your keyboard needs to be converted into binary so the computer can understand it.
We can see all these conversions in something called an ASCII table.
From the ASCII table…Symbol Decimal Binary
A 65 01000001B 66 01000010C 67 01000011D 68 01000100E 69 01000101F 70 01000110G 71 01000111H 72 01001000I 73 01001001J 74 01001010K 75 01001011L 76 01001100M 77 01001101N 78 01001110O 79 01001111P 80 01010000Q 81 01010001R 82 01010010S 83 01010011T 84 01010100U 85 01010101V 86 01010110W 87 01010111X 88 01011000Y 89 01011001Z 90 01011010
Symbol Decimal Binarya 97 01100001b 98 01100010c 99 01100011d 100 01100100e 101 01100101f 102 01100110g 103 01100111h 104 01101000i 105 01101001j 106 01101010k 107 01101011l 108 01101100
m 109 01101101n 110 01101110o 111 01101111p 112 01110000q 113 01110001r 114 01110010s 115 01110011t 116 01110100u 117 01110101v 118 01110110w 119 01110111x 120 01111000y 121 01111001z 122 01111010
You can write your name in binary…
010010000110000101101110011011100110000101001000
H a n n a h
Every time you type a letter on your keyboard, the computer understands is as loads of 0s and 1s!
Here are some other characters you might need from the ASCII table…
Symbol Decimal BinarySpace 32 00100000
! 33 00100001" 34 00100010# 35 00100011$ 36 00100100% 37 00100101& 38 00100110' 39 00100111( 40 00101000) 41 00101001* 42 00101010+ 43 00101011, 44 00101100
- 45 00101101. 46 00101110/ 47 00101111: 58 00111010
; 59 00111011< 60 00111100= 61 00111101> 62 00111110? 63 00111111
More fom the ASCII table…
Symbol Decimal Binary
@ 64 01000000
[ 91 01011011
\ 92 01011100
] 93 01011101
^ 94 01011110
_ 95 01011111
` 96 01100000
{ 123 01111011
¦ 124 01111100
} 125 01111101
~ 126 01111110
Use PowerPoint to present your name using binary code.
Extension:Start making secret messages for a partner in binary code!
Task
7
Decode this message:
01001001011001100010000001111001011011110111010100100000011000110110000101101110001000000111001001100101011000010110010000100000011101000110100001101001011100110101100001000000111100101101111011101010101110001001110111001001100101001000000110000101101101011000010111101001101001011011100110011101000010010000001110100101001
Task
8
Binary Game
http://forums.cisco.com/CertCom/game/binary_game_page.htm