Learning to program involves mastering two distinct challenges simultaneously: learning the logic of algorithms, and learning the syntax of a specific language. When novice programmers fail, it's often because the cognitive load of managing both syntax (where does the semicolon go?) and logic (how does a nested loop work?) overwhelms their working memory.

The Power of Parsons Problems

In 2006, Dale Parsons and Patricia Haden introduced a new type of programming puzzle: instead of writing code from scratch, students are given all the necessary lines of code in a scrambled order and must arrange them correctly. These are now known as Parsons problems.

Research over the last decade has shown that Parsons problems (or "unjumble" activities) are remarkably effective. They isolate the logic of programming from the syntax. By removing syntax errors from the equation, students can focus entirely on control flow and algorithmic thinking.

Why They Work

Implementing Unjumble Activities

To use these effectively, start with simple sequencing tasks, progress to activities with "distractor" lines (lines of code that look correct but shouldn't be used), and finally require students to indent the code correctly as well as ordering it.

Create Code Puzzles in Seconds

MindWave's Unjumble game type lets you easily create Parsons problems from any code snippet, complete with auto-grading and distractor support.

Start for Free โ†’