English

Pedagogy of Teaching Pointers in the C Programming Language using Graph Transformations

Programming Languages 2025-03-27 v1

Abstract

Visual learners think in pictures rather than words and learn best when they utilize representations based on graphs, tables, charts, maps, colors and diagrams. We propose a new pedagogy for teaching pointers in the C programming language using graph transformation systems to visually simulate pointer manipulation. In an Introduction to C course, the topic of pointers is often the most difficult one for students to understand; therefore, we experiment with graph-based representations of dynamic pointer structures to reinforce the learning. Groove, a graph transformation tool, is used to illustrate the behaviour of pointers through modelling and simulation. A study is presented to evaluate the effectiveness of the approach. This paper will also provide a comparison to other teaching methods in this area.

Cite

@article{arxiv.2503.20469,
  title  = {Pedagogy of Teaching Pointers in the C Programming Language using Graph Transformations},
  author = {Adwoa Donyina and Reiko Heckel},
  journal= {arXiv preprint arXiv:2503.20469},
  year   = {2025}
}

Comments

In Proceedings GCM 2023 and 2024, arXiv:2503.19632

R2 v1 2026-06-28T22:35:03.533Z