Do Structured Flowcharts Outperform Pseudocode? Evidence From Eye Movements

Computational thinking is a key universal competence, often taught using methods specific to computer science. One step towards achieving it is learning to analyse and create algorithms. Researchers have long been trying to establish how the form of representation of algorithms (pseudocode versus fl...

Full description

Bibliographic Details
Main Authors: Magdalena Andrzejewska, Anna Stolinska
Format: Article
Language:English
Published: IEEE 2022-01-01
Series:IEEE Access
Subjects:
Online Access:https://ieeexplore.ieee.org/document/9994685/
_version_ 1797976507828666368
author Magdalena Andrzejewska
Anna Stolinska
author_facet Magdalena Andrzejewska
Anna Stolinska
author_sort Magdalena Andrzejewska
collection DOAJ
description Computational thinking is a key universal competence, often taught using methods specific to computer science. One step towards achieving it is learning to analyse and create algorithms. Researchers have long been trying to establish how the form of representation of algorithms (pseudocode versus flowchart) affects its understanding and have reached varying, sometimes conflicting results. This article presents findings that provide objective new data on this topic. In our experiment, we used two different types of algorithmic tasks with three levels of complexity and a group of 114 research participants with varying programming skills. In addition, we used an eye tracking technique that allowed us to collect detailed information about the subjects’ attention distribution during analysis of algorithms. Our results show that subjects took significantly less time to analyse flowcharts (than they did with pseudocode), made much fewer errors, and had higher confidence in the correctness of their solution. Based on eye tracking data, a reduced number of both re-analyses of the algorithm and input data re-referencing was observed for graphically presented tasks. The difference in favour of flowcharts was revealed (with few exceptions) for all levels of algorithm complexity (simple, medium, complex), while regarding the duration of analysis the advantage of flowcharts increased with the growing complexity of algorithms. For complex algorithms, a significant relationship was observed between algorithm presentation and level of programming skills versus the duration of task solving and confidence level. Our study strongly supports the idea of using graphic representation of algorithms both when learning to code and in acquiring computational thinking skills.
first_indexed 2024-04-11T04:52:01Z
format Article
id doaj.art-4ab58a8b2cb74b828befdab90c8e1cf7
institution Directory Open Access Journal
issn 2169-3536
language English
last_indexed 2024-04-11T04:52:01Z
publishDate 2022-01-01
publisher IEEE
record_format Article
series IEEE Access
spelling doaj.art-4ab58a8b2cb74b828befdab90c8e1cf72022-12-27T00:00:49ZengIEEEIEEE Access2169-35362022-01-011013296513297510.1109/ACCESS.2022.32309819994685Do Structured Flowcharts Outperform Pseudocode? Evidence From Eye MovementsMagdalena Andrzejewska0https://orcid.org/0000-0003-1373-1905Anna Stolinska1https://orcid.org/0000-0003-0979-011XInstitute of Security and Computer Science, Pedagogical University of Krakow, Krakow, PolandCollege of Economics and Computer Science of Krakow, Krakow, PolandComputational thinking is a key universal competence, often taught using methods specific to computer science. One step towards achieving it is learning to analyse and create algorithms. Researchers have long been trying to establish how the form of representation of algorithms (pseudocode versus flowchart) affects its understanding and have reached varying, sometimes conflicting results. This article presents findings that provide objective new data on this topic. In our experiment, we used two different types of algorithmic tasks with three levels of complexity and a group of 114 research participants with varying programming skills. In addition, we used an eye tracking technique that allowed us to collect detailed information about the subjects’ attention distribution during analysis of algorithms. Our results show that subjects took significantly less time to analyse flowcharts (than they did with pseudocode), made much fewer errors, and had higher confidence in the correctness of their solution. Based on eye tracking data, a reduced number of both re-analyses of the algorithm and input data re-referencing was observed for graphically presented tasks. The difference in favour of flowcharts was revealed (with few exceptions) for all levels of algorithm complexity (simple, medium, complex), while regarding the duration of analysis the advantage of flowcharts increased with the growing complexity of algorithms. For complex algorithms, a significant relationship was observed between algorithm presentation and level of programming skills versus the duration of task solving and confidence level. Our study strongly supports the idea of using graphic representation of algorithms both when learning to code and in acquiring computational thinking skills.https://ieeexplore.ieee.org/document/9994685/Codingcomputational thinkingeye trackingflowchartpseudocodesolving algorithmic problems
spellingShingle Magdalena Andrzejewska
Anna Stolinska
Do Structured Flowcharts Outperform Pseudocode? Evidence From Eye Movements
IEEE Access
Coding
computational thinking
eye tracking
flowchart
pseudocode
solving algorithmic problems
title Do Structured Flowcharts Outperform Pseudocode? Evidence From Eye Movements
title_full Do Structured Flowcharts Outperform Pseudocode? Evidence From Eye Movements
title_fullStr Do Structured Flowcharts Outperform Pseudocode? Evidence From Eye Movements
title_full_unstemmed Do Structured Flowcharts Outperform Pseudocode? Evidence From Eye Movements
title_short Do Structured Flowcharts Outperform Pseudocode? Evidence From Eye Movements
title_sort do structured flowcharts outperform pseudocode evidence from eye movements
topic Coding
computational thinking
eye tracking
flowchart
pseudocode
solving algorithmic problems
url https://ieeexplore.ieee.org/document/9994685/
work_keys_str_mv AT magdalenaandrzejewska dostructuredflowchartsoutperformpseudocodeevidencefromeyemovements
AT annastolinska dostructuredflowchartsoutperformpseudocodeevidencefromeyemovements