IDEAS home Printed from https://ideas.repec.org/a/taf/tbitxx/v41y2022i12p2528-2545.html
   My bibliography  Save this article

Identifying program confusion using electroencephalogram measurements

Author

Listed:
  • Martin K.-C. Yeh
  • Yu Yan
  • Yanyan Zhuang
  • Lois Anne DeLong

Abstract

In this paper, we present an experimental study in which an electroencephalogram (EEG) device was used to measure cognitive load in programmers as they attempted to predict the output of C code snippets. Our goal was to see if particular patterns within the snippet induced higher levels of cognitive load, and if the collected EEG data might provide more detailed insights than performance measures. Our results suggest that while cognitive load can be an influence on code comprehension performance, other human factors, such as a tendency to forget certain programming rules or to misread what the code is asking them to do may also play a role, particularly for novice programmers. We conclude that: (1) different types of code patterns can affect programmers' cognitive processes in disparate ways, (2) neither self-reported data nor brainwave activity alone is a reliable indicator of programmers' level of comprehension for all types of code snippets, (3) EEG techniques could be useful to better understand the relationships between program comprehension, code patterns and cognitive processes, and (4) tests like ours could be useful to identify crucial learning gaps in novice programmers, which, in turn can be leveraged to improve programming tools and teaching strategies.

Suggested Citation

  • Martin K.-C. Yeh & Yu Yan & Yanyan Zhuang & Lois Anne DeLong, 2022. "Identifying program confusion using electroencephalogram measurements," Behaviour and Information Technology, Taylor & Francis Journals, vol. 41(12), pages 2528-2545, September.
  • Handle: RePEc:taf:tbitxx:v:41:y:2022:i:12:p:2528-2545
    DOI: 10.1080/0144929X.2021.1933182
    as

    Download full text from publisher

    File URL: http://hdl.handle.net/10.1080/0144929X.2021.1933182
    Download Restriction: Access to full text is restricted to subscribers.

    File URL: https://libkey.io/10.1080/0144929X.2021.1933182?utm_source=ideas
    LibKey link: if access is restricted and if your library uses this service, LibKey will redirect you to where you can use your library subscription to access this item
    ---><---

    As the access to this document is restricted, you may want to search for a different version of it.

    More about this item

    Statistics

    Access and download statistics

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:taf:tbitxx:v:41:y:2022:i:12:p:2528-2545. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    We have no bibliographic references for this item. You can help adding them by using this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: Chris Longhurst (email available below). General contact details of provider: http://www.tandfonline.com/tbit .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.