← Latest papers
💻 computer science

Planning on Paper: Problem Decomposition with Diagrams in Introductory Computing

This study investigates how introductory computing students use pencil-and-paper diagrams to decompose a word game task, revealing diverse representational strategies and common conceptual challenges that highlight tensions between structural and sequential reasoning in novice planning.

Original authors: Annapurna Vadaparty, Devamardeep Hayatpur, Adalbert Gerald Soosai Raj, Leo Porter, Daniel Zingaro

Published 2026-06-12
📖 5 min read🧠 Deep dive

Original authors: Annapurna Vadaparty, Devamardeep Hayatpur, Adalbert Gerald Soosai Raj, Leo Porter, Daniel Zingaro

Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer

The Big Picture: Building a House Without Blueprints

Imagine you are asked to build a house. Most people would start by grabbing a hammer and a saw, trying to figure out where the walls go as they build. But a good architect knows you need a blueprint first. You need to break the big job (building a house) into smaller, manageable jobs (laying the foundation, framing the walls, wiring the electricity).

In computer science, this process is called decomposition. It's the skill of breaking a giant, scary problem into tiny, easy-to-solve pieces.

This paper is about a group of researchers who wanted to see how beginners (students just starting to learn coding) draw these blueprints. They didn't ask the students to write code; they just asked them to draw a picture of how the program should work on a piece of paper.

The Experiment: The "Evil" Word Game

The researchers gave 55 students a specific challenge: design a computer program for a tricky version of the game "Hangman."

In this version, called "Evil Word Guesser," the computer is a cheater. It doesn't pick one secret word at the start. Instead, it waits to see what letter you guess, then changes its mind to pick a group of words that makes it hardest for you to win. It's a complex puzzle that requires the computer to constantly update its list of possibilities.

The students were told: "Don't write code. Just draw a diagram showing how you would break this game down into different functions (little helper programs) and how they talk to each other."

What the Students Drew: Two Different Languages

When the researchers looked at the drawings, they found that students were speaking two different "languages" of diagrams, often mixing them up.

  1. The "Family Tree" Style (Hierarchical):

    • The Analogy: Imagine a CEO giving orders to managers, who give orders to workers. The CEO doesn't do the work; they just tell the managers what to do.
    • What it looks like: A big box at the top (the main program) with arrows pointing down to smaller boxes (helper functions). This shows who calls whom.
    • The Issue: Students often forgot that the game needs to repeat (a loop). They drew a tree, but trees don't go back and start over.
  2. The "Assembly Line" Style (Sequencing):

    • The Analogy: Imagine a factory conveyor belt. Step 1 happens, then Step 2, then Step 3. It's a straight line of time.
    • What it looks like: Boxes connected by arrows showing the order of events. "First get the word, then ask for a guess, then check if you won."
    • The Issue: This style is great for showing time, but it gets messy when you try to show that one part of the program is actually a "manager" calling a "worker."

The Big Clash: Many students tried to use both styles in the same drawing. They drew a "Family Tree" structure but then added "Assembly Line" arrows to show time.

  • The Result: It was like drawing a map where some roads are one-way streets and others are two-way, but the legend doesn't explain which is which. It created confusion about whether a step was a "boss giving an order" or just "the next thing to happen."

The Common Mistakes: Where the Blueprints Broke

The researchers found several recurring problems in the students' drawings:

  • The Missing Loop (The "Stuck Record"):
    Many students forgot to draw a loop. In a game, you keep guessing until you win or lose. Some students drew a path that went from start to finish and stopped, like a song that plays once and then silence. They missed the part where the game says, "Okay, try again."
  • The "Do-It-All" Box:
    Some students drew one giant box that tried to do everything: "Get the word, guess the letter, check if you won, and print the score." This is like trying to build the whole house in one day without breaking it down. It makes the plan impossible to follow.
  • The "Magic" Inputs:
    Some students drew a box that said "Get the user's guess," but they didn't show where that guess came from. It was like a recipe that says "Add the secret ingredient" but doesn't say what the ingredient is or where to get it.
  • The "Cheater" Confusion:
    Since the game was "Evil," the computer had to constantly update its list of possible words. Many students forgot this rule. They drew a game where the computer picked one word at the start and stuck with it, missing the entire point of the "Evil" twist.

Why This Matters

The paper argues that because Artificial Intelligence (GenAI) can now write code for us, teachers need to focus less on teaching students how to type code and more on teaching them how to plan.

If a student can't draw a good blueprint, they can't tell the AI what to build. The study shows that students struggle with the planning part. They get stuck trying to figure out the order of events versus the structure of the program.

The Takeaway

The researchers suggest that teachers need to be very clear about how to draw these plans.

  • If you teach students to draw "Family Trees," explain that time isn't shown in the tree.
  • If you teach "Assembly Lines," explain that they don't show who is the boss.
  • Don't let them mix the two without a clear legend, or they will get confused.

In short: Before you can build a house (or a program), you need to know exactly what your blueprint is supposed to look like. This paper shows that beginners often don't know the rules of the blueprint, so teachers need to teach those rules explicitly.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →