Lesson 3 teacher version
-
Upload
patrick-john-mcgee -
Category
Software
-
view
57 -
download
1
Transcript of Lesson 3 teacher version
![Page 1: Lesson 3 teacher version](https://reader030.fdocuments.us/reader030/viewer/2022032616/55a5f6821a28ab43188b45ba/html5/thumbnails/1.jpg)
Data Representation
Lesson 4
1
![Page 2: Lesson 3 teacher version](https://reader030.fdocuments.us/reader030/viewer/2022032616/55a5f6821a28ab43188b45ba/html5/thumbnails/2.jpg)
StarterLink up the foreign words to the flag of origin
2
1. Shukran2. chnorakaloutioun3. hvala4. Merci5. Danke6. Kiitos7. Hvala8. Tak9. děkuji10. dank u11. Tänan12. Gràcies
![Page 3: Lesson 3 teacher version](https://reader030.fdocuments.us/reader030/viewer/2022032616/55a5f6821a28ab43188b45ba/html5/thumbnails/3.jpg)
Objective of the lessonTo be able to convert binary numbers to letters and
words.
• All of you will:
• Be able to convert binary numbers into letters.
• Most of you will:
• Use binary to create words
• Some of you will:
• Convert RGB to Hexadecimal
3
![Page 4: Lesson 3 teacher version](https://reader030.fdocuments.us/reader030/viewer/2022032616/55a5f6821a28ab43188b45ba/html5/thumbnails/4.jpg)
• Create your own way of sending a secret message
• Write a coded message
• Give instructions to decode it
4
Homework
![Page 5: Lesson 3 teacher version](https://reader030.fdocuments.us/reader030/viewer/2022032616/55a5f6821a28ab43188b45ba/html5/thumbnails/5.jpg)
Last lesson…
• You worked in teams to talk about different areas of data representation.
• Over the next two lessons we will be focussing on some of the important areas of data representation.
5
![Page 6: Lesson 3 teacher version](https://reader030.fdocuments.us/reader030/viewer/2022032616/55a5f6821a28ab43188b45ba/html5/thumbnails/6.jpg)
Today
• You will decode a binary message and provide an answer
• Use the ASCII code sheet to decode the binary message
Step 1. Convert to ASCII values
Step 2. Convert ASCII values to letters
Step 3. Convert response back into binary
6
![Page 7: Lesson 3 teacher version](https://reader030.fdocuments.us/reader030/viewer/2022032616/55a5f6821a28ab43188b45ba/html5/thumbnails/7.jpg)
Hexadecimal• Hexadecimal codes are used to simplify binary
codes.
• Computers do not use hexadecimal – Humans use it to shorten Binary
• Hexadecimal is translated into binary for computer use. – colour references
– assembly language programs
– error messages
7
![Page 8: Lesson 3 teacher version](https://reader030.fdocuments.us/reader030/viewer/2022032616/55a5f6821a28ab43188b45ba/html5/thumbnails/8.jpg)
All Colours are created equal
• To create colours we mix together the primary colours
• What are the primary Colours?
8
Green
Blue
Red
As we know a computer needs a numerical value to process
RGB provides computer scientists with a range of numbers: 0 to 256
What is the total numbers of colours in the spectrum?
What is the square root of 256?
![Page 9: Lesson 3 teacher version](https://reader030.fdocuments.us/reader030/viewer/2022032616/55a5f6821a28ab43188b45ba/html5/thumbnails/9.jpg)
Hex Colours
9
0 1 2 3 4 5 6 7 8 9 A B C D E F
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
Hexadecimal is base 16
![Page 10: Lesson 3 teacher version](https://reader030.fdocuments.us/reader030/viewer/2022032616/55a5f6821a28ab43188b45ba/html5/thumbnails/10.jpg)
Color Decimal Code(R,G,B) Hex Code #RRGGBB
Black (0,0,0) #
White (255,255,255) #
Red (255,0,0) #
Lime (0,255,0) #
Blue (0,0,255) #
Yellow (255,255,0) #
Cyan / Aqua (0,255,255) #
Magenta / Fuchsia (255,0,255) #
Silver (192,192,192) #
Gray (128,128,128) #
Maroon (128,0,0) #
Olive (128,128,0) #
Green (0,128,0) #
Purple (128,0,128) #
Teal (0,128,128) #
Navy (0,0,128) # 10
![Page 11: Lesson 3 teacher version](https://reader030.fdocuments.us/reader030/viewer/2022032616/55a5f6821a28ab43188b45ba/html5/thumbnails/11.jpg)
Plenary
• What is the ASCII value for the letter T
• What is the ASCII value for the 01110111
• What colour is #FF0000?
11
![Page 12: Lesson 3 teacher version](https://reader030.fdocuments.us/reader030/viewer/2022032616/55a5f6821a28ab43188b45ba/html5/thumbnails/12.jpg)
• Create your own way of sending a secret message
• Write a coded message
• Give instructions to decode it
12
Homework
![Page 13: Lesson 3 teacher version](https://reader030.fdocuments.us/reader030/viewer/2022032616/55a5f6821a28ab43188b45ba/html5/thumbnails/13.jpg)
StarterLink up the foreign words to the flag of origin
13
1. Shukran2. chnorakaloutioun3. hvala4. Merci5. Danke6. Kiitos7. Hvala8. Tak9. děkuji10. dank u11. Tänan12. Gràcies
13. German14. French15. Estonian16. Czech17. Arabic18. Bosnian19. Catalan20. Armenian21. Bulgarian22. Croatian23. Danish24. Finnish25. Dutch