Does learning to code help kids solve general problems?
Teaching primary school children to code using Scratch and Python significantly improves both their computational thinking and general logical problem-solving abilities.
Source
Enhancing computational thinking through coding education in primary school students: an experimental study on the impact of early programming exposure on problem-solving skills
What they did
Researchers conducted a 24-week study with 200 children aged 8 to 12, randomly assigning them to an experimental group of 100 or a control group of 100. The experimental group received 48 total hours of structured coding instruction using Scratch and Python, while the control group followed their standard school curriculum. Both groups completed paper-based tests before and after the intervention to measure computational thinking and general problem-solving skills.
What they found
The coding group showed massive improvements, with their average computational thinking score rising from 20.4 to 30.6 and their problem-solving score increasing from 17.8 to 23.5. These gains represent very large effect sizes, whereas the control group experienced no meaningful changes. Furthermore, the cognitive benefits were consistent regardless of the child's gender or initial mathematical ability.
The limits
What it doesn't show
The study used a passive control group, meaning it cannot prove whether coding specifically caused these improvements or if any engaging extra-curricular activity would have had the same effect. It was also conducted in a single urban area, so the findings might not apply to rural or culturally diverse populations. Finally, because there was no long-term follow-up, the results do not show whether these cognitive benefits persist over multiple years.
Key terms
- Computational thinking
- The mental process of formulating problems and their solutions in a way that an information-processing agent could effectively execute.
- Quasi-experimental design
- A research design that compares groups to test an intervention but may lack full random assignment of units to conditions.
- Constructionism
- An educational theory proposing that learning is most effective when people are actively making tangible, real-world objects or artifacts.
- Decomposition
- The analytical process of breaking down a complex problem into smaller, more manageable sub-problems.
- Active control group
- A comparison group in an experiment that receives an alternative, engaging activity rather than doing nothing or continuing with business as usual.
- Cohen's d
- A standardized measure used to express the size of the difference between two group means.
Flashcards
Want these cards to stick?
Save the deck to NoteFren and study it with spaced repetition.
Quiz yourself
What experimental design did this study employ to measure the intervention's impact on computational thinking?
Common questions
Did children need strong math skills beforehand to benefit from coding?
No, the study found that students in the lowest quartile of prior mathematical ability experienced similar cognitive gains to those in the highest quartile.
How did the transition from block-based to text-based coding affect the students?
The switch from Scratch to Python in week 17 caused a temporary dip in performance and a spike in debugging, but eventually led to deeper conceptual understanding.
Did boys benefit more from the coding curriculum than girls?
No, there were no statistically significant differences in computational thinking or problem-solving gains between male and female students.
What specific problem-solving skills improved the most?
Students showed the highest improvements in logical puzzles and pattern recognition, whereas arithmetic calculation skills did not see significant transfer benefits.
More on Development