Describing Functionality in Natural Language May Improve Decomposition Behaviors

Problem decomposition—the ability to break complex problems into simpler parts—is a critical skill for computer programming that many beginning students struggle to develop. This research examines how using natural language to describe program functionality can help students develop better problem-solving approaches. We created a tool called ”Natural Language Functions” (NLFs) that allows students to write descriptions of what they want their code to do in plain English, which then generates working Python functions. We studied how students used this tool compared to students who solved programming problems in traditional ways. Our findings show that students who used the NLFs tool created approximately three times as many functions in their solutions compared to students who didn’t have access to the tool. This indicates significantly more decomposition behavior. Additionally, we observed that students using NLFs shifted from verbally describing their problem-solving process to writing it down in their function descriptions, suggesting that the act of writing prompts serves a similar purpose to speaking aloud when working through programming problems. These results suggest that having students articulate functionality in natural language gives them an advantage when breaking down problems and building solutions. The NLF approach could serve as a valuable teaching tool that encourages structured thinking through written expression, potentially improving learning outcomes by making students’ thought processes more explicit.

Publication Details

Journal
Digital Commons - USU (Utah State University)
Published
2025-05-14
DOI
https://doi.org/10.26076/ccd2-44c8
Primary Topic
Geochemistry and Geologic Mapping
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Describing Functionality in Natural Language May Improve Decomposition Behaviors

Digital Commons - USU (Utah State University)
Geochemistry and Geologic Mapping
article

Describing Functionality in Natural Language May Improve Decomposition Behaviors

article en

Abstract

Problem decomposition—the ability to break complex problems into simpler parts—is a critical skill for computer programming that many beginning students struggle to develop. This research examines how using natural language to describe program functionality can help students develop better problem-solving approaches. We created a tool called ”Natural Language Functions” (NLFs) that allows students to write descriptions of what they want their code to do in plain English, which then generates working Python functions. We studied how students used this tool compared to students who solved programming problems in traditional ways. Our findings show that students who used the NLFs tool created approximately three times as many functions in their solutions compared to students who didn’t have access to the tool. This indicates significantly more decomposition behavior. Additionally, we observed that students using NLFs shifted from verbally describing their problem-solving process to writing it down in their function descriptions, suggesting that the act of writing prompts serves a similar purpose to speaking aloud when working through programming problems. These results suggest that having students articulate functionality in natural language gives them an advantage when breaking down problems and building solutions. The NLF approach could serve as a valuable teaching tool that encourages structured thinking through written expression, potentially improving learning outcomes by making students’ thought processes more explicit.

Digital Commons - USU (Utah State University)
Quality Education
Openalex Percentile: Top 31%
Geochemistry and Geologic Mapping
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.