Skip to main content
. 2023 Feb 7;16:1065366. doi: 10.3389/fnins.2022.1065366

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 / Inline graphic
Inline graphic
Program C2, main
V(g) = 1 CC-Sonar = 0 / Inline graphic
Inline graphic
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”));
}