The magic of computing
Download
1 / 35

The Magic of Computing - PowerPoint PPT Presentation


  • 610 Views
  • Updated On :

The Magic of Computing. Dr. Tom Way CSESI 2009 Haverford College June 30, 2009. 0000000100000010000100100000000100000011000000010000010000000001000000100001001000000001 . My Background. UM  Radio  TV  UD  SE  VU Computer Science professor for 7 years

loader
I am the owner, or an agent authorized to act on behalf of the owner, of the copyrighted work described.
capcha
Download Presentation

PowerPoint Slideshow about 'The Magic of Computing' - salena


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.While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.


- - - - - - - - - - - - - - - - - - - - - - - - - - E N D - - - - - - - - - - - - - - - - - - - - - - - - - -
Presentation Transcript
The magic of computing l.jpg

The Magic ofComputing

Dr. Tom Way

CSESI 2009Haverford College

June 30, 2009

0000000100000010000100100000000100000011000000010000010000000001000000100001001000000001


My background l.jpg
My Background

  • UM  Radio  TV  UD  SE  VU

  • Computer Science professor for 7 years

  • Graduate student for 8 years

  • Software engineer for 9 years

  • Hollywood writer for 10 years

  • Magician for 40 years (1969)

CSESI 2009


Focus l.jpg
Focus

  • Focus on teaching you how to perform some of the tricks

  • Understand the learning process for acquiring new tricks

  • Rely on your creativity to link tricks to your specific teaching needs

CSESI 2009


Plan for the day l.jpg
Plan for the day

  • Using magic to teach

  • Art & Science behind magic

  • Learning magic tricks

  • Where to find out more

CSESI 2009


Proposed schedule l.jpg
Proposed Schedule

  • 9-12 watch, learn, try

  • 12-1 lunch

  • 1-3:30 develop, practice, perform

CSESI 2009


Remedial computer science 101 l.jpg

Remedial Computer Science 101

Prof. Tom WaySection 1

Meeting: Today 9-9:30am


2s complement l.jpg
2s Complement

  • What is 2s Complement?

    • Negative binary integers

  • What is the algorithm?

    • Start: 000101

    • Not: 111010

    • Add 1: 111011

  • Check our work: 000101 5 +111011-5 000000 0

CSESI 2009


Search algorithms l.jpg
Search Algorithms

  • Find specific value (its index) in an array

    • Random search

    • Linear search

    • Binary search

    • Optimal search

  • Know what the optimal is helps us to judge how good our algorithm is

CSESI 2009


Gui design principles l.jpg
GUI Design Principles

  • Principle of metaphor

    • Borrow behaviors from familiar systems

  • Principle of user profiling

    • Know who your user is

  • Principle of coherence

    • Behavior should be internallyand externally consistent

CSESI 2009


Load balancing l.jpg
Load Balancing

  • Example: 3 tasks of different lengths

  • How long will it take to perform the tasks simultaneously?

  • How could we get them done faster?

  • What is the fastest way to get them done?

CSESI 2009


Data compression l.jpg
Data Compression

  • Purpose is to squeeze the air out of data so it fits in a smaller space

  • Lots of ways to do this – depends on data

    • Lossless – decompressed = original

    • Lossy – some data is missing

    • Run length encoding – lots of repetition

    • Huffman – probabilistic data (Morse code)

CSESI 2009


And now back to your regularly scheduled program l.jpg

And now, back to yourregularly scheduled program


Using magic to teach l.jpg
Using Magic to Teach

  • Not a short-cut to As, revolutionary idea, scientifically validated approach

  • Is another trick for a good educator’s bag of pedagogical tricks

    • A little KLA (Kinetic Learning Activities)

    • A little problem-based learning

    • A little example-based teaching

    • A little what-the?

  • It’s cheap – don’t have to buy toys, candy, spend massive time planning, etc.

CSESI 2009


What is going on l.jpg
What is going on?

  • Active Thinking – brain in high gear

  • Uniqueness – brain loves surprise

  • Coolness – popular, generates buzz

  • Anticipation – appealing, fun, engaging

  • Evolving – empirical? anecdotal!

CSESI 2009


Approach 1 topic driven l.jpg
Approach 1: Topic Driven

  • Pick an upcoming topic you will teach

  • Find a trick that fits

  • Learn the trick

  • Plan what to say

  • Practice

  • Perform it in class

CSESI 2009


Approach 2 trick driven l.jpg
Approach 2: Trick Driven

  • Pick a trick that you really like

  • Find an upcoming topic that fits

  • Learn the trick

  • Plan what to say

  • Practice

  • Perform it in class

CSESI 2009


Learning a trick l.jpg
Learning a trick

  • Read the description

  • Work through each step

  • Try it in front of a mirror

  • Practice it a couple times

  • Use it in class

CSESI 2009


Performing a trick l.jpg
Performing a trick

  • Natural is best

    • The overused “make it your own” applies

  • Attitude is important

    • NOT know-it-all, fooled you, try to figure this out – TURN OFF

    • YES check this out, I’m amazed too, enjoy it along with them

CSESI 2009


Art of magic l.jpg
Art of Magic

  • Magician’s Code

    • Never reveal how trick is done

    • Never repeat trick for same group

    • Practice, practice, practice

  • Patter – what you say, story you tell

    • In our case, the patter will involvesome aspect of Computer Science

CSESI 2009


Science of magic l.jpg
Science of Magic

  • Misdirection

    • Controlling the audience’s attention

    • Making them look where you want them to

    • THE secret of all magic

  • Concealment - hiding

  • Switching - replacing

  • Forcing – not a free choice

CSESI 2009


Categories of tricks l.jpg
Categories of Tricks

  • Production

  • Vanish

  • Transposition

  • Penetration

  • Levitation

  • Mental

  • Escape

CSESI 2009


Master principle l.jpg
MASTER Principle

  • Movement – large conceals small

  • Angles – consider your angles

  • Surprise – don’t tip your hand

  • Thought – keep their brains busy

  • Eyes – look where you want them to look

  • Reason – has to make sense

CSESI 2009



Goodie bag handbook l.jpg

Pencils

Cards

Rope

String

Hatpin

Balloons

Rubber bands

Scotch tape

Paperclips

Fake dollar bill

Penny

Bent penny

3 Card Monte

Professor’s Nightmare

Floating gimmick

Styrofoam cup

Goodie Bag & Handbook

CSESI 2009


Wrist twister l.jpg
Wrist Twister

  • Page 12

  • Penetration – break your wrist

  • Switching – change the position

  • Concealment – hide the position

  • Misdirection

CSESI 2009


Pick any card l.jpg
Pick Any Card

  • Page 24

  • Mental – predict the future

  • Forcing – you know which card

  • Revelation – how to reveal prediction?

  • Misdirection

CSESI 2009


Sticky pencil stickier pencil l.jpg
Sticky Pencil & Stickier Pencil

  • Pages 29 & 30

  • Levitation – defy gravity

  • Concealment – hide the mechanics

  • Misdirection

CSESI 2009


Napkinesis l.jpg
Napkinesis

  • Page 42

  • Vanish

  • Concealment

  • Misdirection

CSESI 2009


Professor s nightmare l.jpg
Professor’s Nightmare

  • Page 34

  • Transposition

  • Switching

  • Concealment

  • Misdirection

CSESI 2009


Other tricks l.jpg
Other Tricks

  • Three Card Monte (36) – big cards

  • Instant Reconnect (37) – piece of string

  • Dematerializing Toothpick (43)– tape, toothpick

  • Cut & Restored Rope (13) – rope & scissors

  • Magician’s Choice (23) – any 3 objects

  • Mind Bending Coin (35) & utility switch

CSESI 2009


More tricks l.jpg
More Tricks

  • Coin Vanish (40) – coin or other object

  • Karate Dollar (14) – dollar & pencil

  • Balloon Testing (16) – balloons & pin

  • Linking Paper Clips (17) – dollar & 2 paperclips

  • Jumping Rubber Band (18) – 1 rubber band

CSESI 2009


Still more tricks l.jpg
Still More Tricks

  • Reversal of Expectation (38) – cards

  • Pincushion Thumb (19) – napkin & pin

  • Haunted Styrofoam Cup (28) – cup

  • Cup Juggling (31) – cup

  • Vanishing Card (41) – napkin, stirrer, cards

CSESI 2009


Resources l.jpg
Resources

  • Public library

  • Internet

    • Google: easy magic tricks

    • Google: online magic trick

  • Magic shops

    • Yellow pages

    • Online shops (e.g., magicfact.com)

  • Web sites for magician’s

    • allmagic.com

CSESI 2009



Straitjacket l.jpg
Straitjacket

  • Invented by Dr. Benjamin Rush, 1814

  • Believed that torture was good medicine

  • Restrains the “criminally insane”

  • Designed to be escape proof

  • Trying to escape leads to exhaustion

  • Still used today

CSESI 2009


ad