CC-EEG Individual Reports
Information for Study Participants
To access your individual report, please use the link provided via mail. If you have any questions, please contact alakmeh @ ifi dot uzh dot ch.
Abstract
The impact of graphical user interface (GUI) modes, specifically light (positive polarity) and dark (negative polarity), on cognitive processes remains to be a debated topic in Software Engineering and Human-Computer Interaction. While light mode is associated with improved readability in general reading tasks, dark mode has gained popularity among developers due to perceived comfort and aesthetics. However, objective cognitive effects of GUI modes during complex tasks like code comprehension are largely unexplored. This study investigates how GUI mode and task difficulty influence cognitive load and brain activity during code comprehension. Using electroencephalography (EEG), we measured alpha, beta, and theta band power of 42 participants solving 24 Python code comprehension tasks of varying difficulty under alternating GUI modes. Our findings indicate that task difficulty significantly influences cognitive load, observing higher alpha and theta power during harder tasks. Temporal analysis revealed a progressive increase in alpha power, peaking near 70% of task completion, followed by a decline before completion. In contrast, GUI mode generally showed no significant effects on brain activity across tasks. However, during hard tasks, participants exhibited increased alpha power in central and centroparietal regions when using dark mode, suggesting a subtle additional cognitive burden under high mental effort for dark mode users. We suggest future research to integrate our and previous findings to achieve a holistic view of how the brain processes and comprehends code.