1 / 30

Pick a number 1 to 31 and tell me in which columns your number is present in the grid.

Applied maths- coding. LO To learn basic computer coding using binary. Pick a number 1 to 31 and tell me in which columns your number is present in the grid. Be careful to check all columns. Example – No. 23 is in columns 1, 3, 4 & 5. How does this work?.

charo
Download Presentation

Pick a number 1 to 31 and tell me in which columns your number is present in the grid.

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Applied maths- coding LO To learn basic computer coding using binary • Pick a number 1 to 31 and tell me in which columns your number is present in the grid. • Be careful to check all columns. • Example – No. 23 is in columns 1, 3, 4 & 5.

  2. How does this work? Only 4 columns hereCan you spot the trick now? Pick a number 1 to 15 and tell me in which columns your number is present in the grid. Tell me the number at the top of each column where your number is present. Any ideas?

  3. Explanation So this is how the game is played:- Pick a number - 6 At the top of the columns where 6 is present we have 4 & 2. 4 + 2 = 6

  4. Your turn Looking at the top two rows we see: Pick a number - is in columns 1, 3, 4 & 5. A bit of practice needed to remember the top row numbers 16 + 4 + 2 + 1 = 23 Now you can impress your friends with this trick!

  5. 01000010011010010110111001100001011100100111100100100000010000110110111101100100011001010100001001101001011011100110000101110010011110010010000001000011011011110110010001100101 Binary Code 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.

  6. Computers have millions of tiny circuits inside. For a computer 0 means turn a circuit off 1 means turn a circuit on

  7. Humans need to learn the computer’s language to be able to tell computers what to do. Computer language is Binary. Here is an example of what binary code looks like: 0101010001101000011010010111001100100000011010010111001100100000011001010110000101110011011110010000110100001010

  8. The computer can only use 0s and 1s So for a computer numbers go like is this…

  9. Denary numbers – keep doubling! Make a table like this.. To make the number 5, place a 1 under the numbers that you need and a 0 under the numbers that you don’t… Method This is Binary

  10. We can forget the first few 0s and our binary number 5 looks like this… So 5 for us, is 00000101 for the computer 101

  11. ACTIVITY a) b) Convert binary to denary digits c)

  12. ACTIVITY a) 64 + 2 = 66 Convert binary to denary digits

  13. ACTIVITY b) 32 + 4 + 1 = 37 Convert binary to denary digits

  14. ACTIVITY c) 128 + 1 = 129 Convert binary to denary digits

  15. ACTIVITY 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

  16. ACTIVITY >>>EXT Is there any number that CAN’T be made? Working in pairs; give your partner any number under 255 see if they can convert it into binary.

  17. ACTIVITY 3 2 0 6 10 17 20 42 47 71 146 255 Use your table to convert these numbers to binary: >>>EXT:

  18. Answers 3 2 0 6 10 17 20 42 47 71 146 255 11 10 0 110 1010 10001 10100 101010 101111 1000111 10010010 11111111 >>>EXT:

  19. ACTIVITY a) 00011000 b) 00000101 c) 00010110 d) 01101011 e) 01111000 f) 10100100 g) 10100101 h) 10111100 i) 11010111 j) 11100110 k) 11111010 Convert these binary numbers into denary

  20. Answers 24 00011000 5 00000101 22 00010110 107 01101011 120 01111000 164 10100100165 10100101 188 10111100 215 11010111 230 11100110 250 11111010

  21. ACTIVITY De-code the following: 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. 11001% of people in the world do not have access to a mobile phone. On average, 1100newborns 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!

  22. Answers De-code the following: 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. 25% of people in the world do not have access to a mobile phone . On average, 12newborns 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!

  23. GAME

  24. Binary code is not 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.

  25. From the ASCII table…

  26. H a n n a h You can write your name in binary… 010010000110000101101110011011100110000101001000

  27. 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…

  28. 010010010110011000100000011110010110111101110101001000000110001101100001011011100010000001110010011001010110000101100100001000000111010001101000011010010111001100100000011110010110111101110101001000000110100001100001011101100110010100100000011000110111001001100001011000110110101101100101011001000010000001100010011010010110111001100001011100100111100100100001010010010110011000100000011110010110111101110101001000000110001101100001011011100010000001110010011001010110000101100100001000000111010001101000011010010111001100100000011110010110111101110101001000000110100001100001011101100110010100100000011000110111001001100001011000110110101101100101011001000010000001100010011010010110111001100001011100100111100100100001 Decode this message:

More Related