Students struggle with the 'not' operator and logical operator precedence when evaluating conditional statements¶
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? 36.9% of students selected an incorrect option on a conditional-logic item, appearing to apply the 'not' operator as a final step after reading conditions left to right, indicating misunderstanding of operator precedence. → 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 13 (Conditionals-FKSA1) in the main study, which combined 'not', 'and', and 'or' operators. 36.9% chose Option B, suggesting students misapply operator precedence by evaluating conditions sequentially rather than by precedence rules.
"However, 36.9% of students selected Option B, where they may execute the parentheses first and neglect the function of the "not" condition to make the following parentheses false to print out the provided output."
Discussion¶
Related Claims¶
- Exception-type confusion was the dominant difficulty pattern in SafeDivide at the University of Houston (90% of incorrect attempts) and persisted across harder problems in both deployments — related
- Students have difficulty distinguishing between for loops and while loops
- Taking initial multiple-choice tests without feedback can lead students to later produce the incorrect lure answers they selected, even when an overall retrieval practice benefit occurs — related
Page metadata
| Field | Value |
|---|---|
type |
claim |
id |
students-struggle-operator-precedence-conditionals |
title |
Students struggle with the 'not' operator and logical operator precedence when evaluating conditional statements |
description |
Students struggle with the 'not' operator and logical operator precedence when evaluating conditional statements |
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.