Teaching Mental Models in Introductory Programming

In this article, an evaluation of syllabi, books, teaching materials, and examinations concerning introductory programming revealed that the subject disproportionately focuses on teaching and learning language features instead of mental models. It is demonstrated that the shift from low-level to high-level languages resulted in the "language-trap" that leads to an emphasis on language features at the expense of mental models. To mitigate the language-trap effect, a novel instructional approach called MTL three-tier that combines low-level syntax, Memory Transfer Language, and high-level syntax is proposed. Results from two experiments show that using assembly codes in combination with the MTL-three-tier approach at the beginning of the course assists instructors in avoiding the language-trap. For novices, the cognitive load is reduced, consequently, increasing the ability to form viable mental models. Results from the first experiment show that novices in the experimental group were 2.17 times more likely to form viable mental models than those in the control sample. From the second experiment, results show that novices from the experimental group were 14.50 times more likely to avoid common errors in introductory programming than were the novices in the control group.

Institutions

Publication Details

Journal
Journal of ICT Systems
Published
2025-08-25
DOI
https://doi.org/10.56279/jicts.v3i2.160
Primary Topic
Genetics, Bioinformatics, and Biomedical Research
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Teaching Mental Models in Introductory Programming

Journal of ICT Systems
Genetics, Bioinformatics, and Biomedical Research
article

Teaching Mental Models in Introductory Programming

article en

Abstract

In this article, an evaluation of syllabi, books, teaching materials, and examinations concerning introductory programming revealed that the subject disproportionately focuses on teaching and learning language features instead of mental models. It is demonstrated that the shift from low-level to high-level languages resulted in the "language-trap" that leads to an emphasis on language features at the expense of mental models. To mitigate the language-trap effect, a novel instructional approach called MTL three-tier that combines low-level syntax, Memory Transfer Language, and high-level syntax is proposed. Results from two experiments show that using assembly codes in combination with the MTL-three-tier approach at the beginning of the course assists instructors in avoiding the language-trap. For novices, the cognitive load is reduced, consequently, increasing the ability to form viable mental models. Results from the first experiment show that novices in the experimental group were 2.17 times more likely to form viable mental models than those in the control sample. From the second experiment, results show that novices from the experimental group were 14.50 times more likely to avoid common errors in introductory programming than were the novices in the control group.

Journal of ICT SystemsVol. 3(2)
The University of Dodoma (TZ)
Quality Education
Openalex Percentile: Top 49%
Genetics, Bioinformatics, and Biomedical Research
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.