The efficacy of a computer science curriculum for early childhood: evidence from a randomized controlled trial in K-2 classrooms · The Evidence on Teaching
The efficacy of a computer science curriculum for early childhood: evidence from a randomized controlled trial in K-2 classrooms
Yang, D., Yang, Z., & Bers, M. U. · 2023
Current published assessment
Assessment status: No model-attributed paper reading is stored
The published assessment remains the archive’s current judgment. Stored model readings are preserved separately and never replace it automatically.
Published grade: BPublished assessment date: not recordedReadings comparison: not reviewed
Bottom line
Current archive record
Historical overall grades (A–D)The archive's original A–D grade combined study design with limits such as outcomes made by the researchers. It is retained for older records and existing filters. A new design assessment, where recorded, answers the narrower causal-design question.Available valuesAPreregistered or independently replicated randomized trials; large multisite randomized trials; or lottery-based natural experiments.BCurrentA single well-powered randomized trial with clustering handled adequately; a strong quasi-experiment with credible identification, such as regression discontinuity or difference-in-differences with a clean shock; or a within-family, discordant-twin, or adoption design.CA meta-analysis of mixed-quality designs; a small or unregistered randomized trial, including one with fewer than about 100 participants or cluster-randomization errors; or a longitudinal study with strong controls, including prior achievement.DCross-sectional correlation; before-and-after comparison with no control group; researcher-developed outcomes only; expert opinion; or qualitative work. This grade cannot establish cause and effect, but it does not mean the paper is false.Full glossary entry →Study designStudy design is the plan that determines who is compared with whom, how treatment or exposure is assigned, what is measured, and when. Those choices determine which explanations a result can rule out.Available valuesmeta-analysisStatistically combines results from two or more studies. What it can establish depends on the designs, biases, and differences among the studies it combines.randomized trialCurrentAssigns people or groups to conditions by chance, making the groups comparable on average before treatment. Attrition, noncompliance, clustering, and outcome choice can still weaken the result.quasi-experimentEstimates an effect without random assignment by using a cutoff, timing change, assignment rule, or other comparison intended to approximate an experiment. Its credibility depends on whether that comparison rules out other explanations.
Causal design assessmentThis newer assessment asks how much the study's comparison can tell us about cause and effect. It is recorded only after a separate review and does not silently replace the archive's older overall grade.Available valuesA — strongest designA particularly strong randomized or natural experiment with a credible comparison, such as a large multisite trial or a preregistered or independently repeated trial.B — strong designA well-executed randomized trial, strong quasi-experiment, or credible within-family design whose comparison supports a causal estimate.C — limited causal designA small or otherwise limited trial, a controlled longitudinal study, or a synthesis of mixed-quality designs. Causal claims need substantial caution.D — descriptive designA cross-sectional association, uncontrolled before-and-after comparison, or other design without a credible causal counterfactual.
Evaluator independenceEvaluator independence records whether the people judging a program are separate from the people who developed or delivered it. Independence reduces one source of bias; it does not by itself make a study well designed or correct.Available valuesindependent evaluationNo involvement by the program's developer was identified in the evaluation. This addresses who evaluated the program, not whether the study design or outcome measure was independent.developer-involvedA developer participated in the evaluation, but the evaluation was not classified as developer-led.developer-ledCurrentThe program's developer led or ran the evaluation. This is a reason for additional caution, but it does not prove that the result is false.
Archive checksReading depthReading depth records whether this archive used the full paper, only the authors' abstract, somebody else's account, or an older record whose reading depth was never documented. It describes access to the paper, not study quality.Available valuesfull paper readCurrentThe paper itself was examined when this record was extracted and graded. This removes an access gap; it does not guarantee that the extraction or grade is correct.abstract onlyThe record rests on the authors' short summary rather than the full paper. Details that could affect the extraction or grade may be unavailable.secondary account onlyThe record rests on somebody else's description, such as a review's evidence table, rather than the paper itself.
In a Randomized controlled trial (RCT)A randomized controlled trial assigns participants or groups to conditions by chance. Random assignment makes the groups comparable on average, so later differences can more credibly be attributed to the treatment.Full glossary entry → in 13 US public schools, kindergarten to second-grade children who had a 12-week coding curriculum scored higher on a coding test. The gain was about half the usual spread in scores between students. There was almost no difference on a computational-thinking test and no clear difference on a standardized literacy test. The curriculum's own developers built the coding test, and no independent team has repeated the study.
Read the full explanation
What was compared
Researchers randomly chose 6 of 13 public schools to teach a 12-week coding curriculum called Coding as Another Language (CAL), which uses the ScratchJr app, in kindergarten to grade 2. The other 7 schools kept teaching as usual. Children in the two groups were then tested and compared.1 Because the schools were assigned at random, this site's review rates it the best design in the research on teaching programming. Random assignment does not guarantee that the two groups start out exactly alike or remove every bias. The researchers did confirm that the groups were similar before teaching began.2
The computational-thinking test showed almost no difference. Scores on this test (TechCheck) differed by g = 0.04.
Literacy showed no clear difference on a standardized literacy test (g = −0.01). This result tests whether gains carried over to a different subject; see transfer of learning.
A companion analysis of 747 students found no detectable effect of the curriculum on math or literacy. Children whose coding skill grew more did tend to do better in both. That is a link, not proof: it does not show that coding caused the better math or literacy.
Not every child gained equally. The journal version reports that students with disabilities and female students did not gain equally with their peers.
How sure to be
The only test that showed a gain was built by the people who made the curriculum. The same research group created ScratchJr, the CAL curriculum, the coding test that showed the gain, and the computational-thinking test (TechCheck) that showed almost no difference. See evaluator independence and who built the test.
Many individual students were missing from the results. Because of this, the What Works Clearinghouse, a federal reviewer of education research, rated the study "meets standards with reservations". That review covered only the literacy and TechCheck results. It did not cover the coding result, which is where the whole positive finding comes from.4
Only 13 schools were randomized. With so few schools, the comparison between them has limited statistical power to detect differences.
Cluster-randomized trial, with randomization done before any outcome testing. 464 consented treatment students across 28 classrooms, plus control students across 36 classrooms; about 1,000–1,057 K-2 students in the analytic samples. Public schools in a north-eastern US state; Title I schools were encouraged to apply. Reported in a technical report (ERIC ED626865) and a journal article, treated here as one study. Quality grade B; developer-led; unreplicated. Read depth: this record is based on the full text. Verification status: its figures have not been independently checked. ↩
Baseline equivalence was established. School-level randomization with baseline equivalence means genetic confounding is not a material concern here. ↩
Hedges g = 0.47 on the Coding Stages Assessment, measured at the end of the 12-week curriculum against a business-as-usual control. "g" is a standard effect size. ↩
High individual-level non-response; see differential attrition. The WWC reviewed the literacy and TechCheck domains, not the coding outcome. ↩
Transfer of learning is using knowledge or skill on a task or in a setting different from the one used for teaching or practice. The term names what was tested; it does not imply that transfer occurred.
Evaluator independence records whether the people judging a program are separate from the people who developed or delivered it. Independence reduces one source of bias; it does not by itself make a study well designed or correct.
Available values
independent evaluationNo involvement by the program's developer was identified in the evaluation. This addresses who evaluated the program, not whether the study design or outcome measure was independent.
developer-involvedA developer participated in the evaluation, but the evaluation was not classified as developer-led.
developer-ledThe program's developer led or ran the evaluation. This is a reason for additional caution, but it does not prove that the result is false.
unclearThe record does not establish whether or how the program's developer was involved. Unclear does not mean independent.
Measure origin says who made or controlled the test used for an outcome. A developer-made measure can be useful, but may capture what was taught more closely than an independent test would.
Available values
independently developedThe instrument was created outside the program or intervention team. This does not guarantee that it measures the intended skill well.
developer-createdThe intervention or study team made the outcome measure. It may be closely aligned to what was taught and needs careful interpretation.
mixed originsThe effect pools or reports instruments with more than one origin.
origin unclearThe record does not establish who made the measure.
Statistical power is a study's ability to detect an effect of a given size if one truly exists — driven mostly by sample size. An underpowered study is a blurry photograph: whatever it shows, it cannot be trusted to show detail.
Underpowered studies mislead in both directions. They miss real effects, and — less obviously — when they do clear the significance bar, the estimate is inflated, because with noisy data only lucky-large draws look significant. Small-study literatures therefore overstate effects even before publication bias filters what gets printed.
A practical habit: for classroom interventions, treat studies with a few dozen students per arm as suggestive at most, and expect honest confidence intervals to be wide.
An effect size states how big a difference is in units of the spread of scores, so results from different tests can be compared. A g of 0.4 means the treated group's average sits 0.4 standard deviations above the comparison group's — enough to move a median student to roughly the 66th percentile. (g and d are near-identical variants; g corrects a small-sample bias.)
Rough anchors: 0.1 is small and hard to distinguish from noise in most classroom studies; 0.2–0.4 is a solid, real intervention effect; above 0.6 is rare in well-controlled trials of school-age academics and deserves suspicion before celebration.
Two cautions. The same true improvement yields a bigger number on a narrow researcher-built test than on a broad standardized one (see measure alignment). And an effect measured the week treatment ends usually shrinks by follow-up (see fadeout) — so a headline number without its test and its timing is not yet information.
Attrition is the participants a study loses before it ends. It becomes differential when the two arms lose different people — and that quietly undoes what randomization bought. Once the groups being compared at the end are not the groups that were randomized at the start, the comparison is observational again, whatever the design was called.
The damage runs in whichever direction the dropouts create. A tutoring trial whose weakest students find the sessions punishing and stop attending ends up comparing its survivors against an intact control group, and reports a gain that is partly just the removal of low scorers. A demanding program that loses uncommitted families in the treatment arm produces the same artifact.
What makes it dangerous is that the overall rate looks reassuring. Ten percent lost from each arm is usually fine; ten percent from one arm and two from the other is a problem even though the total is modest. The question is never how many left, but whether the leavers differed — which is why an intention-to-treat analysis, keeping everyone in the arm they were assigned to, is the honest default.
This archive treats attrition as grade-modifying: a randomized trial with serious differential attrition does not keep a top grade simply for having randomized. It is also one of the specific things an abstract cannot tell you — abstracts carry no attrition table — which is why a source graded from the abstract alone is recorded here as debt rather than as a neutral state.
Replication asks whether a result appears again when a study is repeated with a new sample. Independent repetition matters most because it tests whether the finding survives beyond the original team and setting.
Available values
replicatedOne or more independent studies using new data found results consistent with the finding.
mixedReplication evidence is inconsistent: some repetitions support the finding while others do not, or results vary materially across settings or implementations.
failedA direct repetition or larger-scale test did not reproduce the finding. One failed replication matters, but does not by itself prove the original claim false.
unreplicatedNo independent replication has been identified. This is a claim about the literature, not a synonym for the archive having failed to check.
not applicableThe recorded source or claim is not the kind for which a replication status meaningfully applies, such as a critique or a fixed descriptive fact.
unclearThe archive has not established whether independent replications exist or what they found.
The recorded sample, comparison, methods, and practical details.
Sample
13 schools cluster-randomised (6 treatment, 7 control); 464 consented treatment students across 28 classrooms plus control students across 36 classrooms; about 1,000-1,057 K-2 students in analytic samples
Who or what was studied
Kindergarten to grade 2 in public schools in a north-eastern US state, with Title I schools encouraged to apply.
How the study worked
A genuine cluster randomised trial with randomisation before any outcome testing and baseline equivalence established — the best design in the programming-instruction literature. Three weaknesses that bound it. (1) Developer-led throughout: Bers and the DevTech group built ScratchJr, the Coding as Another Language curriculum, the Coding Stages Assessment that measured the positive result, and the TechCheck instrument that measured the null. (2) High individual-level non-response, which is why the What Works Clearinghouse rated it "meets standards with reservations". (3) Only 13 clusters, so cluster-level power is thin. Note what the WWC reviewed: the literacy and TechCheck domains — not the coding outcome that carries the entire positive result. Reported in a technical report (ERIC ED626865) and a journal article; treated here as one study.
How much confidence should we place in this?
Limits of the research itself, separate from checks on this interpretation.
Genetic confoundingGenetic confounding occurs when inherited traits influence both the environment a child receives and the outcome being measured, so an observed environment–outcome association may not be causal.Full glossary entry →
None material. School-level randomisation with baseline equivalence established.
What happened in other studies?
natural experiment
Uses an external event, policy, lottery, or other circumstance that assigns exposure without researcher control. Its credibility depends on whether that circumstance creates comparable groups.
longitudinal studyFollows the same people or groups over time. It can show that one measure precedes another, but without a credible comparison the relationship may still reflect selection or other differences.
cross-sectional studyMeasures different people or groups at one point in time. It can describe associations but usually cannot establish which factor caused another.
before-and-after study without a comparison groupMeasures the same group before and after a change, without a separate group showing what would have happened anyway. Time trends and other events remain possible explanations.
twin or adoption studyCompares relatives who differ in genetic relatedness or upbringing to separate inherited and environmental influences. It can reduce some family confounding, but its assumptions and fit to the question still matter.
reviewCollects and summarizes prior research. Its strength depends on how studies were found, selected, and evaluated; the label alone does not establish a systematic search or a causal effect.
replication studyUses new data to test an earlier finding again. Similar results can increase confidence, while disagreement can reveal limits; neither one success nor one failure settles the question by itself.
critiqueExamines another study or body of research for errors, unsupported assumptions, or alternative explanations. It can weaken a claim without providing a new effect estimate of its own.
ReplicationReplication asks whether a result appears again when a study is repeated with a new sample. Independent repetition matters most because it tests whether the finding survives beyond the original team and setting.Available valuesreplicatedOne or more independent studies using new data found results consistent with the finding.mixedReplication evidence is inconsistent: some repetitions support the finding while others do not, or results vary materially across settings or implementations.failedA direct repetition or larger-scale test did not reproduce the finding. One failed replication matters, but does not by itself prove the original claim false.unreplicatedCurrentNo independent replication has been identified. This is a claim about the literature, not a synonym for the archive having failed to check.not applicableThe recorded source or claim is not the kind for which a replication status meaningfully applies, such as a critique or a fixed descriptive fact.unclearThe archive has not established whether independent replications exist or what they found.Full glossary entry →
Replication review: not recorded
read depth not recorded
The historical record does not establish how closely the source was read. This is missing provenance, not an intermediate reading depth.
Number checkingNumber checking records whether this archive spot-checked its extracted numerical claims against the paper or abstract. It tests the accuracy of the extraction, not the strength of the study's design or result.Available valuesnumbers spot-checkedThe archive records that selected extracted figures were checked against the paper or abstract that was available.numbers not yet spot-checkedCurrentNo numerical spot-check has been recorded yet. This means the extraction awaits checking; it does not by itself show that any number is wrong.Full glossary entry →
View original technical wording
Twelve weeks of the CAL-ScratchJr curriculum moved coding performance by Hedges g = 0.47 against a business-as-usual control. It moved computational thinking (TechCheck) by g = 0.04 and standardized literacy by g = -0.01. A companion analysis of 747 students found no curriculum effect on mathematics or literacy, although within-student growth in coding skill predicted both. The journal version reports that students with disabilities and female students did not gain equally with peers. The one outcome that moved is the one measured by an instrument the curriculum's own developers built.
ReplicationReplication asks whether a result appears again when a study is repeated with a new sample. Independent repetition matters most because it tests whether the finding survives beyond the original team and setting.Available valuesreplicatedOne or more independent studies using new data found results consistent with the finding.mixedReplication evidence is inconsistent: some repetitions support the finding while others do not, or results vary materially across settings or implementations.failedA direct repetition or larger-scale test did not reproduce the finding. One failed replication matters, but does not by itself prove the original claim false.unreplicatedNo independent replication has been identified. This is a claim about the literature, not a synonym for the archive having failed to check.not applicableThe recorded source or claim is not the kind for which a replication status meaningfully applies, such as a critique or a fixed descriptive fact.unclearThe archive has not established whether independent replications exist or what they found.Full glossary entry →
No independent replication of the CAL-ScratchJr curriculum exists. The pattern it produces — coding skill up around 0.5, computational thinking at zero — is reproduced by the same group's later second-grade trial and, independently and with a different validated instrument, by the English Code Club randomised trial.