TABLE 7.
Code of the main units of C1 and C2, showing that even small differences in the code could lead to different average cognitive load measured by EEG.
|
Program C1, main V(g) = 1 CC-Sonar = 0 / ![]()
|
Program C2, main V(g) = 1 CC-Sonar = 0 / ![]()
|
|
public static void main(String[] args) { int[] sequence = {−7, 1, 5, 2, −4, 3, 0}; int result = getResult(sequence, 2, 4); System.out.println(“Result = ” + result); } |
public static void main(String[] args) { System.out.println(getResult(“1234”, “56789”)); } |

