TY - GEN
T1 - Detecting and comparing brain activity in short program comprehension using EEG
AU - Yeh, Martin K.C.
AU - Gopstein, Dan
AU - Yan, Yu
AU - Zhuang, Yanyan
N1 - Publisher Copyright:
© 2017 IEEE.
PY - 2017/12/12
Y1 - 2017/12/12
N2 - Program comprehension is a common task in software development. Programmers perform program comprehension at different stages of the software development life cycle. Detecting when a programmer experiences problems or confusion can be difficult. Self-reported data may be useful, but not reliable. More importantly, it is hard to use the self-reported feedback in real time. In this study, we use an inexpensive, non-invasive EEG device to record 8 subjects' brain activity in short program comprehension. Subjects were presented either confusing or non-confusing C/C++ code snippets. Paired sample t-tests are used to compare the average magnitude in alpha and theta frequency bands. The results show that the differences in the average magnitude in both bands are significant comparing confusing and non-confusing questions. We then use ANOVA to detect whether such difference also presented in the same type of questions. We found that there is no significant difference across questions of the same difficulty level. Our outcome, however, shows alpha and theta band powers both increased when subjects are under the heavy cognitive workload. Other research studies reported a negative correlation between (upper) alpha and theta band powers.
AB - Program comprehension is a common task in software development. Programmers perform program comprehension at different stages of the software development life cycle. Detecting when a programmer experiences problems or confusion can be difficult. Self-reported data may be useful, but not reliable. More importantly, it is hard to use the self-reported feedback in real time. In this study, we use an inexpensive, non-invasive EEG device to record 8 subjects' brain activity in short program comprehension. Subjects were presented either confusing or non-confusing C/C++ code snippets. Paired sample t-tests are used to compare the average magnitude in alpha and theta frequency bands. The results show that the differences in the average magnitude in both bands are significant comparing confusing and non-confusing questions. We then use ANOVA to detect whether such difference also presented in the same type of questions. We found that there is no significant difference across questions of the same difficulty level. Our outcome, however, shows alpha and theta band powers both increased when subjects are under the heavy cognitive workload. Other research studies reported a negative correlation between (upper) alpha and theta band powers.
UR - http://www.scopus.com/inward/record.url?scp=85043250576&partnerID=8YFLogxK
UR - http://www.scopus.com/inward/citedby.url?scp=85043250576&partnerID=8YFLogxK
U2 - 10.1109/FIE.2017.8190486
DO - 10.1109/FIE.2017.8190486
M3 - Conference contribution
AN - SCOPUS:85043250576
T3 - Proceedings - Frontiers in Education Conference, FIE
SP - 1
EP - 5
BT - FIE 2017 - Frontiers in Education, Conference Proceedings
PB - Institute of Electrical and Electronics Engineers Inc.
T2 - 47th IEEE Frontiers in Education Conference, FIE 2017
Y2 - 18 October 2017 through 21 October 2017
ER -