Students have difficulty distinguishing between for loops and while loops¶
Claim · All claims
Evidence · 1 study · designr3·q3
Currency · newest study 2026 · not yet checked against its sources · not reviewed by a person · recheck by 2031: baselines and conditions change
Subclaims¶
Reading the evidence codes
q is the design tier, i the impact, n the sample, and the kind with its r
the rigour judged within that kind: what each code means.
This claim: no standardized effect is recorded in observations/ for it yet, so no benchmark reading is possible.
q3 i? 34.9% of students misidentified a while loop on an item assessing loop-structure identification, suggesting unfamiliarity with how while loops are defined and applied. → Shile Zhang and Shuhan Zhang 2026
Evidence¶
Shile Zhang and Shuhan Zhang 2026¶
Shile Zhang and Shuhan Zhang. (2026). Integrating AI into computational thinking: development and validation of an assessment tool for higher education students. International Journal of STEM Education. https://doi.org/10.1186/s40594-026-00623-0
q3 · i? · design · r3
Response-pattern analysis of Item 16 (Loops-FKSA1) in the main study, requiring identification of the loop structure counting valid images from a list. The correct answer was a while loop controlled by a Boolean condition; 34.9% selected the for-loop option.
"Nevertheless, 34.9% of students selected Option B, suggesting that many students misinterpreted the syntax and were unfamiliar with how while loops are defined and applied"
Discussion¶
Related Claims¶
- The taxonomy decodes overlapping misconceptions behind a single observed loop-tracing error — related
- Users have difficulty distinguishing between the various kinds of document types, resource types and formats in a faceted taxonomy — related
- Immersive learning tools should surface misconceptions and track learner difficulties so instructors can adapt teaching and assessment — related
- Students struggle with the 'not' operator and logical operator precedence when evaluating conditional statements
Page metadata
| Field | Value |
|---|---|
type |
claim |
id |
students-struggle-for-while-loop-distinction |
title |
Students have difficulty distinguishing between for loops and while loops |
description |
Students have difficulty distinguishing between for loops and while loops |
status |
review |
evidence_strength |
moderate |
newest_evidence |
2026 |
recheck_by |
2031 |
generated |
by process:wiki-ingest on 2026-10-12 |
trust |
unverified — no one has confirmed this page's content |
sources |
1 — shile-zhang-and-shuhan-zhang-2026 |
Frontmatter is the page's machine-readable record — see the Schema & Guide.