Download presentation
Presentation is loading. Please wait.
Published byEdith Russell Modified over 9 years ago
1
Teaching Strategies and Learning Styles CRA-W Workshop Feb 23, 2005 Susan Rodger Associate Professor of the Practice Duke University www.cs.duke.edu/~rodger
2
Outline Who I am and What I do Learning Styles Teaching Strategies –Preparation for class –Group dynamics –Activities w/o computer –Activities w/ computer
3
Who Am I - Personally? SpouseMother
4
Hobby – Baking Shape cakes, cookies
5
How do you make those cakes?
6
What path did I take? PhD, 1989 Computer Science Assistant Prof. 1989-1994 Assistant Prof. Of Practice 1994-1997 Associate Prof. Of Practice 1997-present
7
Along the way, Duke’s been great! Virtual Prof (bedrest) - Fall 1996 Maternity leave – Spring 1997 Virtual Prof (bedrest) – Fall 1999 Maternity leave – Spring 2000 ¾ time for five years – Fall 2000-Spring 2005 “Leave” Fall 2004 – writing books
8
What is Associate Professor “of the Practice”? Position exists in many departments at Duke PhD preferred, or appropriate professional experience Non-tenure track, permanent position, promotable Renewable contracts (4 –8 yrs) Focus on “education in the discipline” Main tasks –Teaching (2 courses per semester) –Research (related to education) –Service, advising
9
How do Prof of Practice differ from regular rank faculty in CS? Teach 2 courses/semester vs 1 course/semester Focus on undergrad curriculum, first two years Teach intro courses –Other grad and undergrad courses too Supervise undergraduates more than grad. studs. Attend faculty meetings –Vote on everything except tenure decisions No sabbatical, instead apply for Dean’s leave Salary is similar! Write grants – CS education or education part of research grant
10
My Research Interests Computer Science Education Visualization and Interaction –Instructional Tools for Theoretical concepts Automata theory and formal languages Algorithm Animation
11
Three Projects I’m involved in JFLAP –Software for automata theory –Study with 11 universities The Alice project –Teaching programming to non-majors –Create 3D virtual worlds Emerging scholars project –8 universities, 4 year grant –Women and minorities
12
Learning Styles Visual Learners –Learn through seeing –Learn best from visual displays Auditory Learners –Learn through listening –Learn best through verbal lectures, discussions Kinesthetic Learners –Learn through moving, doing and touching –Learn best through hands-on approach
13
How do you reach all three types? You must do all three! –Provide pictures, diagrams –Discuss what you are doing –Provide activities for trying it
14
Teaching Strategies Preparation for class
15
Get to know your students! Get their picture –Pass around a camera the first day –Registrar photo lists Assigned Seating Calling on students –Pick-a-student system (rotate thru their pictures)
16
Interactive Lecture Lecture for 10-20 minutes Students solve a problem –Solve problem from scratch (longer) –Find what is wrong with a “solution” (shorter) Discuss solution –Ask how many did X? (gets students involved) –Give a possible solution (shorter) –Student present solution (longer) REPEAT
17
Interactive Lecture Notes and Handouts Create 4 versions of my lecture –Slides with holes –Handouts with holes –My notes – holes filled in –Library notes (handouts with holes filled in) Don’t give out any more
18
How to create Lecture notes Latex – 1 file with tags –%M – my notes only –%S – slides and handout –%SO – slides only –%LH – library notes, my notes and handout –Etc.. Powerpoint –Use notes feature, print slides 4 per page Tablet PC –Different views
19
Interactive Lecture with Computers OR Interactive Lab Lecture for 10-20 minutes Students work on problem with computers Bring students back together
20
Room Layout with Computers 20 computers, 40 students Extra desks for group work Advantage: see what students are doing
21
Say help with a Beanie Thanks to Robert Duvall
22
Teaching Strategies Group Dynamics Work with large or small classes
23
Divide Students into Groups Random assignment –Count off and assign groups on the spot –Assign in advance, bring in seating chart –Change groups every 2-3 weeks Students work on problems during class in groups –Short (2 min) or long problems (20 min)
24
Advantages to Random Groups Large or Small classes Students help each other Students are more confident to answer questions – not feeling alone Students present different solutions Students meet other students Less work to grade for you Can pass graded work back quickly –Sort it by groups first
25
Groups in Lab - Pair Programming Work in pairs Responsibilities –One person is driver –One person is navigator “Pair Programming Illuminated” by Williams and Kessler, 2003
26
Teaching Strategies Activities Without a Computer Get creative in bringing hands-on activities into the classroom
27
Interaction in Class – Props Passing “Parameters” in Class Pass by reference – throw frisbee Pass by value – throw copy of frisbee Pass by const reference – throw “protected” frisbee
28
Interaction in Class – Props Linked List and Memory Heaps ITiCSE 98 – Astrachan – “Concrete Teaching: Hooks and Props as Instructional Technology
29
Interaction in Class – Props Memory Heap
30
Be a Robot 4 People –Controller (head) –Sensors (eyes) –Manipulators (2 hands) Blindfolded except eyes Controller knows what to build Limited communication SIGCSE 96, Rodger,Walker
31
Sorting Over 100 Words An envelope with over 100 words, each word on one slip of paper Sort the words Write down the algorithm Early assignment, before sorting is covered anchor physiotherapist pathetic bootstrapped acrimonious polarization firecracker palindrome observatory controversial orchestrate statistician confrontation scrumptious revolutionary …
32
Interaction with Class Binary Tree and Recursion Build a binary tree –Pick a root –Root picks two children – point at them –Repeat until everyone is part of the tree Recursively calculate height of tree –Start at root –Ask children their height –Leaf notes know their height is 0 SIGCSE 2002 – Wolfman – “Making Lemonade: Exploring the Bright Side of Large Lecture Classes
33
Interaction in Class – Props Edible Turing Machine TM for f(x)=2x where x is unary TM is not correct, can you fix it? Then eat it! States are blueberry muffins
34
Students building DFA with cookies and icing
35
The Smart Waitress vs Customer Four cups on a revolving tray (each up or down) Waitress blindfolded and wears boxing gloves Goal is to turn all cups up Game – Repeat: –W turns 1-4 cups If all up wins –Customer rotates tray 0, 90, 180 or 270 degrees Is there a winning strategy? From an old EATCS bulletin
36
Teaching Strategies Activities With a Computer Using software to teach concepts during lecture Will illustrate with software I use in lecture JAWAA JFLAP
37
The Role of Visualization and Engagement Working Group ITiCSE 2002 (Naps et al) Six Levels of Learner Engagement 1. No Viewing2. Viewing 3. Responding4. Changing 5. Constructing6. Presenting Hypothesis: 1 and 2 equivalent, higher the number, better learning outcomes
38
What is JAWAA? Scripting Language for Animation Easily create, modify and move objects Runs over the web, no need to install More Advanced Students Output JAWAA Command from Program Animate Data Structures Easily SIGCSE 2003 and SIGCSE 1998 Students: Pierson, Patel, Finley, Akingbade, Jackson
39
Related Work Samba, Jsamba - Stasko (Georgia Tech) AnimalScript – Roessling (Darmstadt Univ of Tech, SIGCSE 2001) JHAVE – Naps (U. Wisc. Oshkosh, SIGCSE 2000)
40
JAWAA Commands circle cl 30 20 60 blue red moveRelative c1 60 0 move right moveRelative c1 0 50 move down changeParam c1 bkgrd blue
41
JAWAA Primitives circle rectangle line oval polygon text
42
JAWAA Data Structures Array
43
JAWAA Data Structures Stack Queue
44
JAWAA Data Structures Linked List Trees
45
JAWAA Editor Easily create animations Graphically layout primitives Modify across time No knowledge of JAWAA Export to JAWAA file Start with JAWAA editor, finish with JAWAA output from program
46
Making an Animation with the JAWAA editorAnimation
47
Instructor Use of JAWAA in CS 1/2 Use JAWAA Editor to make quick animations for lecture Fast - 4-8 minutes each animations, Fall 2002 CS 2 Course Create quick animation of data structure in an existing program, add JAWAA commands as output Show web pages with JAWAA animations in lecture Students replay animations later
48
Instructor Animations for CS 2 Lecture How Pointers Work in Memory Recursion Shellsort Linked List - Insert at the Front Quadratic Collision Resolution Build Heap and Heapsort
49
JAWAA w/o Editor vs Editor Nonmajors course Spring 2001 No JAWAA Editor Fall 2002 Using JAWAA Editor
50
What is JFLAP? SIGCSE 2004 Java Formal Languages and Automata Package Instructional tool to learn theory Regular languages – create DFA NFA regular grammar regular expression Regular languages - conversions NFA to DFA to Min DFA NFA to reg grammar to NFA NFA to reg expr to NFA
51
What is JFLAP? (cont) CFL - create CFL - transform pushdown automaton context-free grammar PDA to CFG CFG to NPDA (LL parse) CFG to NPDA (SLR parse) CFG to CNF CFG to LL Parse table and parser CFG to SLR Parse table and parser CFG to brute force parser
52
What is JFLAP? (cont) Recursively enumerable languages L-Systems Turing machine (one-tape) Turing machine (multi-tape) unrestricted grammar brute force parser Create L-Systems
53
Previous Work on Automata Tools by Others Turing’s World Barwise and Etchemendy (1993) Models of Computation – Taylor (1998), 7 models, Deus Ex Machina by Savoiu Snapshots – Ross (2002+)
54
Why Develop Tools for Automata? Textual Tabular Visual Interactive
55
Why Develop Tools for Automata? Examined 10 AutomataTextbooks One had software with book Only 6 had pictures of PDA, 2 or 3 states Only 6 had pictures of Turing machines, three of those switched representation Only 2 had picture of CFG to NPDA None had picture of parse tree for unrestricted grammar
56
Finite Automata Editing and Simulation The most basic feature of JFLAP has always been the creation of automata, and simulation of input on automata. Here we demonstrate the creation and simulation on a simple NFA.
57
FA Edit & Simulation Start up JFLAP When we start up JFLAP we have a choice of structures. The first of these is the Finite Automata!
58
FA Edit & Simulation Start Editing! We start with an empty automaton editor window.
59
FA Edit & Simulation Create States We create some states...
60
FA Edit & Simulation Create Transitions We create some transitions...
61
FA Edit & Simulation Initial and Final State We set an initial and final state. Now we can simulate input on this automaton!
62
FA Edit & Simulation Input to Simulate... When we say we want to simulate input on this automaton, a dialog asks us for the input.
63
FA Edit & Simulation Start Simulation! When simulation starts, we have a configuration on the initial state with all input remaining to be processed.
64
FA Edit & Simulation After One Step This is a nondeterministic FA, and on this input we have multiple configurations after we “Step.”
65
FA Edit & Simulation After Two Steps The previous configurations on q 1 and q 2 are rejected, and are shown in red. The remaining uncolored configurations paths are not rejected, and are still open.
66
FA Edit & Simulation After Three Steps Yet another step.
67
FA Edit & Simulation After Four Steps One of the final configurations has been accepted!
68
FA Edit & Simulation Traceback One can then see a traceback to see the succession of configurations that led to the accepting configuration.
69
RE to FA New approach starts with a single RE transition in a GTG, and recursively breaks RE transitions into normal FA transitions until the GTG becomes an FA.
70
Use of JFLAP by Instructor Showing how to layout items Poor: Better:
71
Use of JFLAP by Instructor Is this correct for a n b n c n ? How do we fix it?
72
Use of JFLAP by Instructor Experimenting with Difficult Concepts Nondeterminism: ww R Students attempt at desk - difficult: want to find the “middle” Instructor solves with class using JFLAP
73
Use of JFLAP by Instructor Testing Student Programs
74
Use of JFLAP by Instructor Relate to other CS Concepts Consider a n b n c n –one-tape TM O(n 2 ) –two-tape TM O(n) Running Time
75
Other Uses of JFLAP by Instructor Demonstrate Nondeterminism Demonstrate the running of a CFG to a PDA using LR method Which lookahead do you choose? Demonstrate a transformation from one form to another Example: PDA to CFG And many other uses...
76
JFLAP Student Use Recreate and experiment with instructor’s examples Use with Homework A study aid - create additional examples –explore concepts in depth –weaker students get more feedback
77
Additional References Astrachan, Forbes, Duvall and Rodger, “Active Learning in Small to Large Courses”, FIE 2002. Rodger, An Interactive Lecture Approach to Teaching Computer Science, SIGCSE 1995. Smith, The Craft of Teaching Cooperative Learning, An Active Learning Strategy, FIE 1989
78
Conclusion Incorporate props into your teaching Consider interactive lectures –assign students to random groups Consider instructional software/animations in your lectures Go to SIGCSE every year! –Lots of people are doing active learning
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.