370 likes | 493 Views
Visual Programming: Computing Resources to Unleash K-12 Creativity. Joel Adams, Ph.D. Department of Computer Science Calvin College. A Problem. Many high school students believe: - computing jobs are boring - only nerds study computer science - computing = no social life
E N D
Visual Programming:Computing Resourcesto Unleash K-12 Creativity Joel Adams, Ph.D. Department of Computer Science Calvin College 2012 Michigan Tapestry
A Problem 2012 Michigan Tapestry Manyhigh school students believe: - computing jobs are boring - only nerds study computer science - computing = no social life - computing involves no creativity - all the jobs are going to Asia …
CS Bachelors Degrees (U.S.) 2012 Michigan Tapestry
What Are The Facts? 2012 Michigan Tapestry According to the U.S. Bureau of Labor Statistics…
Solving The Problem • Research suggests we need to engage students in middle school or earlier, before the negative stereotypes get set. • If we wait until high school, itmay be too late. 2012 Michigan Tapestry How can we attract students to computing and dispel the stereotypes?
CSTA • Level 1 (K-6): • CS and Me • Level 2 (6-9). • CS and Community • Level 3 (9-12). • CS in the Modern World • CS Concepts and Practices • Topics in CS 2012 Michigan Tapestry The Computer Science Teacher’s Association has defined K-12 Computing Curriculum SLOs:
How Do We Engage Students? 2012 Michigan Tapestry Many of today’s students are visual learners - We need visual tools to engage them
Demos 2012 Michigan Tapestry
Alice and Scratch at Calvin • Imaginary Worlds Camps at Calvin • Summer camps for middle school and up • Roughly 300 campers since 2003 • 2003-07: Storytelling using Alice • 2008-11: Games | music videos using Scratch • Same concepts taught in both versions (variables, selection, repetition, abstraction) • Noticeable differences in campers’ questions • What are IWC campers learning? 2012 Michigan Tapestry
Bloom’s 3 Lowest Learning Levels • Knows: Can recall or recognize ideas and information in the form they were learned • Comprehends: Can interpret or translate information based on prior learning • Applies: Can transfer or use principles or data to solve a problem or task 2012 Michigan Tapestry
IWC Projects • Each IWC camper completes and demos an open-ended project at the camp’s Showcase Session • We have a corpus of 322 projects… • 209 Alice 2.0 storytellingprojects • 103 Scratch gaming projects • 10 Scratch music video projects • All projects available at alice.calvin.edu 2012 Michigan Tapestry
Idea • Study those projects to see what computing concepts campers are applyingin them • If campers usea concept in their project, they are reaching Bloom level 3 wrt that concept (variables, selection, repetition, abstraction) • Count occurrences of variables, if statements, loop statements, subprograms, … • Count animation constructs common to both Alice and Scratch (move, say/think, wait, …) • Count specific objects (e.g., fire animations) 2012 Michigan Tapestry
Research Question Are there any significant differences between the different project genres (storytelling, music video, game) with respect to the concepts that campers use/apply? We wrote scripts to count these constructs, and normalize the counts (per 100 lines) 2012 Michigan Tapestry
The Short Answer We found statistically significant differences (p < .01) in the number of: • Variables • If statements • Loop statements • Dialog (say/think) messages • … used in the different project genres. 2012 Michigan Tapestry
Variable Declarations Per 100 Lines • Significance of Differences: • Game vs Video: p = 5.4e-7 • Game vs Storytelling: p = 1.54e-7 • Video vs Storytelling: p = 0.71 2012 Michigan Tapestry
Percentage of Projects Using Variables • Significance of Differences: • Game vs Video: p = 0.082 • Game vs Storytelling: p = 2.095e-18 • Video vs Storytelling: p = 0.629 2012 Michigan Tapestry
If Statements Per 100 Lines • Significance of Differences: • Game vs Video: p = 1.25e-7 • Game vs Storytelling: p = 7.09e-37 • Video vs Storytelling: p = 0.070 2012 Michigan Tapestry
Loop Statements Per 100 Lines • Significance of Differences: • Game vs Video: p = 0.951 • Game vs Storytelling: p = 1.1e-5 • Video vs Storytelling: p = 0.0064 2012 Michigan Tapestry
Subprograms • Alice 2.0 provides fully parameterized methods • Scratch 1.4 provides parameterless message-handlers for broadcasts • A build-your-own-block mechanism is coming in Scratch 2 We decided these abstraction mechanisms were too different to compare fairly. 2012 Michigan Tapestry
Project Length (Total Lines of Code) • Significance of Differences: • Game vs Video: p = 0.0014 • Game vs Storytelling: p = 0.083 • Video vs Storytelling: p = 0.136 2012 Michigan Tapestry
Dialog (Say/Think)Msgs Per 100 Lines • Significance of Differences: • Game vs Video: p = 0.392 • Game vs Storytelling: p = 1.1e-46 • Video vs Storytelling: p = 8.24e-10 2012 Michigan Tapestry
Age Differences We compared projects of younger (11, 12) campers vs older (13, 14) campers: • Variables • If statements • Loop statements • Objects • Lines of code • Use of particular constructs We found just 2 significant differences… 2012 Michigan Tapestry
Alice Lines of Code By Age Significance of Difference: • p = 4.15e-5 2012 Michigan Tapestry
Scratch PickRandom Per 100 Lines By Age Significance of Difference: • p = 0.0083 2012 Michigan Tapestry
Gender Differences We compared projects of male vs female campers for differences in the number of: • Variables • If statements • Loop statements • Objects • Lines of code • Use of particular constructs We found just 3 significant differences… 2012 Michigan Tapestry
Scratch Loop-Types Per 100 Lines by M/F Significance of Differences: • repeat n times (p = 0.28) • forever (p = 2.4e-7) • forever if (p = 0.082) • repeat until (p = 0.11) 2012 Michigan Tapestry
Alice Dialog Msgs Per 100 Lines by M/F Significance of Difference: • p = 3.67e-5 2012 Michigan Tapestry
Alice Fire Animations Per Project by M/F Significance of Difference: • p = 1.81e-9 2012 Michigan Tapestry
Some Conclusions 2012 Michigan Tapestry • Visual tools like Alice and Scratch help students visualize and master programming abstractions • Age affects students’ ability to master abstract concepts like randomness.
Some Conclusions 2012 Michigan Tapestry • The game, music video, and storytelling project genres differ markedly in what they motivate students to use in open-ended projects (i.e., learn to applyat Bloom level 3). • Storytelling projects are good at teaching sequential / algorithmic thinking • Games motivate students to learn to use basic programming concepts like variables and control structures
Constructs Per 100 Lines by Genre 2012 Michigan Tapestry
Some Conclusions 2012 Michigan Tapestry • Given an open-ended storytelling project, boys and girls tell very different kinds of stories, on average. • Stereotypical tastes begin early!
Some Conclusions 2012 Michigan Tapestry • Alice and Scratch: • Both eliminate syntax error frustration, helping students focus on logic, master concepts • Scratch has the easier learning curve • Scratch’s social networking site lets students easily share their projects • Scratch’s 2D graphics let students create their own scenes and characters • Alice’s 3D graphics + Sims models are cool • Alice’s objects and methods bridge to Java and OOP
Resources Thank you! adams@calvin.edu 2012 Michigan Tapestry • Scratch: scratch.mit.edu • Educators resource site: scratched.media.mit.edu • A full middle school Scratch curriculum is available: colleenmlewis.com/scratch/ • Alice: alice.org • CSTA: csta.acm.org • CS Principles: www.csprinciples.org • Computing in the Core: www.computinginthecore.org