Informatics in Education logo


Login Register

  1. Home
  2. To appear
  3. Assessing Graphical Loop Invariant Based ...

Informatics in Education

INFORMATION Submit your article Become a reviewer Join INFEDU as an Associate Editor Help
  • Article info
  • Related articles
  • More
    Article info Related articles

Assessing Graphical Loop Invariant Based Programming Performance in a CS1 Course
Géraldine BRIEVEN ORCID icon link to view author Géraldine BRIEVEN details   Benoit DONNET ORCID icon link to view author Benoit DONNET details  

Authors

 
Placeholder
https://doi.org/10.15388/infedu.2507.010
Pub. online: 22 May 2026      Type: Early View Article      Open accessOpen Access

Published
22 May 2026

Abstract

We investigate the pedagogical impact of Graphical Loop Invariant Based Programming (GLIBP) in an introductory programming course. This approach encourages students to visually model the objects and variables handled in the loop, before implementing it. To evaluate the efficiency of this GLI model, a four-condition A/B/C/D test was conducted across two problems, with students receiving varying levels of scaffolding (from no support to a fully constructed GLI). Analysis of students’ code showed that a well-designed GLI reduced errors related to the loop guard and the update of variables. However, many students struggled to understand or represent a GLI. The fill-in-the-blank GLI version, in particular, often added cognitive load rather than reducing it. Three recommendations emerged: train students to interpret a provided GLI when writing code; second, teach students to sketch their own model by recognizing similarities to previously solved problems; finally, guide students with questions to ensure all necessary variables and relationships are properly identified.

Related articles PDF XML
Related articles PDF XML

Copyright
2026 G. Brieven, B. Donnet, Published by Vilnius University and Tallinn University
Open access article under the CC BY license.

Keywords
Graphical Loop Invariant Based Programming CS1 A/B Testing Diagrammatic Reasoning Student Difficulties

Metrics
since February 2020
263

Article info
views

79

PDF
downloads

14

XML
downloads

Export citation

Copy and paste formatted citation
Placeholder

Download citation in file


Share


RSS

INFORMATICS IN EDUCATION

  • Online ISSN: 2335-8971
  • Print ISSN: 1648-5831
  • Copyright © The Author(s), CC BY 4.0
  •  

For contributors

  • Submit
  • OA Policy

Contact us

  • Institute of Data Science and Digital Technologies,
  • Vilnius University, Akademijos St. 4, 08412, Vilnius, Lithuania
  • E-mail: editorial@infedu.lt
Powered by PubliMill  •  Privacy policy