530 likes | 600 Views
COMPUTER. SCIENCE. High School Teacher's Workshop The University of Virginia July 9, 2008. And kinesthetic computer science activities. Lynn Lambert Christopher Newport University Newport News, Va 23606. Popularizing science topics. Not interesting: Physics. Popularizing science topics.
E N D
COMPUTER SCIENCE High School Teacher's Workshop The University of Virginia July 9, 2008 And kinesthetic computer science activities Lynn Lambert Christopher Newport University Newport News, Va 23606
Popularizing science topics • Not interesting: • Physics
Popularizing science topics • Not interesting: • Physics • Interesting: • Explosions
Popularising science topics • Not interesting: • Computer Science
Popularising science topics • Not interesting: • Computer Science • Interesting: • ???
Solution: Author: Tim Bell (not pictured: Ian Witten and Mike Fellows)
Global project New Zealand Sweden United Kingdom Korea Japan China Haiti Even USA (CSTA, Peter Denning, Carnegie-Mellon, SIGCSE, AP Reading, NECC)
What is Unplugged How to teach important computer topics without using computers at all! • Have Fun! • www.csunplugged.org
Magic Trick Magic Make a 5x5 grid with colored squares, some with one color, some the other.
Parity Checking • Even parity (column and row to make each color even) • Can correct a bit that was corrupt • ISBN: from Wikipedia • checks for adjacent swapped digits or a single incorrect digit
“ASCII” Modem Characters and Sound Represented in Binary
Each pixel is a bit Image Representation(black and white) 1280 * 800 = 1,024,000 pixels/bits
Each pixel is a bit 00001111111111100 for first row etc. Image Representation(black and white)
Image CompressionRun Length Encoding 4, 11, 2 4, 9, 2, 1, 1 4, 9, 2, 1, 1 4, 11, 2 4, 9, 4 4, 9, 4 5, 7, 5 0, 17 1, 15, 1
Each pixel is a bit Still 1,024,000 pixels Now, each pixel is Image Representation(Color) 32 bits
Color Images • RGB color 0 0 255 for blue 00000000 00000000 11111111 Microsoft Office Color
204/102/0 196/198/0 226/113/0 226/113/0 180/90/0 204/102/0 226/113/0 141/105/101 179/102/38 204/102/0 240/240/255 230/206/158 218/218/200 232/238/228 217/187/63 141/105/101
Lempel-Ziv (LZ) Compression(Lyrics by ColdFusion) Get out Get out Ge ou t t me My is ing heart break Ahhh-ohhhh Get Out, Get Out, Get Out me My is ing head tell Ahhh-ohhhh
CS Unplugged in High School (by Scott Fletcher) • Perfect: Binary Numbers, Programming Languages ("first day exercise“). • Image Representation to introduce computer graphics to the students. • Text Compression (used a popular song that the kids would recognize) • Used briefly to introduce a topic: Twenty Guesses or the Card Flip Trick • Sorting Networks Algorithm, Minimal Spanning Trees, Treasure Hunt could have been more challenging • Did not use: • Battleships (pretty involved), • Lightest and Heaviest (too much equipment) • Orange Game (but should have)
Non CSUnplugged Activities • Andy Begel, KLA (Kinesthetic Learning Activities), http://ws.cs.ubc.ca/~kla/, http://blogs.msdn.com/alfredth/archive/2006/09/07/743410.aspx • Binary Tree • Recursion • cons, car, cdr • AP Reading Toy Night with Robert Duvall • Internet, Sorting, Searching • AP list, CSTA
Your Turn • Break up into groups • Use an activity we're talked about • Or, come up with one (or several) of your own • Discuss how to teach it, and how to present it to us
Example mappings • Cards • two sides, choice, combinations, permutations • Cups, containers, buckets • hidden information, two states, variable, limited contents • Stickers, marker pen • commit, label, colour, user input • Chalk on pavement/ tape on floor • transitions, paths, target • Board game • paths, chance, rules • Food • competition, humour, colour, sharing, size • String • Connection, communication, length, network
Works sheets Affordances for doors Layout of ovens Dumb interfaces System is machine plus user HCI
Shannon theory • Twenty questions • Guess a number
Shannon theory • Guess a letter • Guess a sentence • Probability and information
Cryptography • Public/Private Key • One Way Functions • Send Information
Peruvian coin toss • Fair coin toss over the phone
One way function • Both have the same telephone book • Pick a function • Odd/even length of name • Name begins with H/T
Give number to presenter 6363-2482
Presenter guesses: H or T? 6363-2482
Presenter tries to find name 6363-2482
Presenter gives up and tosses coin 6363-2482