Skip to content

Commit

Permalink
initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
peitek committed Oct 30, 2021
0 parents commit 242cb6c
Show file tree
Hide file tree
Showing 1,380 changed files with 1,279,343 additions and 0 deletions.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
14 changes: 14 additions & 0 deletions Eyetracking Study/1_stimuli/Snippets/Calculation.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
public class Calculation {
public int calculate(int number1, int number2) {
int result = number1;
for (int i = 2; i <= number2; i += 1) {
result = result * number1;
}
return result;
}

public static void main(String[] args) {
int result = new Calculation().calculate(2, 3);
System.out.println(result);
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
public class Warwmrabkyn {
public int warwmrabs(int nmclsf1, int nmclsf2) {
int fsqmrb = nmclsf1;
for (int i = 2; i <= nmclsf2; i += 1) {
fsqmrb = fsqmrb * nmclsf1;
}
return fsqmrb;
}

public static void main(String[] args) {
int fsqmrb = new Warwmrabkyn().warwmrabs(2, 3);
System.out.println(fsqmrb);
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
public class UzqpaSpkee {
public static boolean vaev(String evn) {
char sz;
int q = 0;
whqle (q < evn.length()) {
sz = evn.charAt(q);
if (!(sz >= 'a' && sz <= 'z') && !(sz >= 'A' && sz <= 'Z'))
return false;
q++;
}
return true;
}

public static void main(String[] args) {
String evn = "ZappoUonpj123";
if (vaev(evn))
System.out.println("Yes");
else
System.out.println("No");
}
}
21 changes: 21 additions & 0 deletions Eyetracking Study/1_stimuli/Snippets/CheckIfLettersOnly.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
public class CheckIfLettersOnly {
public static boolean checkIfLettersOnly(String stringToTest) {
char ch;
int i = 0;
while (i < stringToTest.length()) {
ch = stringToTest.charAt(i);
if (!(ch >= 'a' && ch <= 'z') && !(ch >= 'A' && ch <= 'Z'))
return false;
i++;
}
return true;
}

public static void main(String[] args) {
String stringToTest = "HelloWorld123";
if (checkIfLettersOnly(stringToTest))
System.out.println("Yes");
else
System.out.println("No");
}
}
29 changes: 29 additions & 0 deletions Eyetracking Study/1_stimuli/Snippets/InsertSort.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
public class InsertSort {
public static int[] sort(int[] unsorted) {
for (int i = 1; i < unsorted.length; i++) {
sort(i, unsorted);
}
return unsorted;
}

private static void sort(int i, int[] unsorted) {
for (int j = i; j > 0; j--) {
int jthElement = unsorted[j];
int jMinusOneElement = unsorted[j - 1];
if (jthElement > jMinusOneElement) {
unsorted[j - 1] = jthElement;
unsorted[j] = jMinusOneElement;
} else {
break;
}
}
}

public static void main(String[] args) {
int[] unsorted = { 3, 7, 4, 5 };
int[] result = sort(unsorted);
for (int i = 0; i < result.length; i++) {
System.out.print(result[i]);
}
}
}
29 changes: 29 additions & 0 deletions Eyetracking Study/1_stimuli/Snippets/InsertSort_scrambled_74.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
public class IragthAyth {
public static int[] ayth(int[] oraythgz) {
for (int i = 1; i < oraythgz.length; i++) {
ayth(i, oraythgz);
}
return oraythgz;
}

private static void ayth(int i, int[] oraythgz) {
for (int p = i; p > 0; p--) {
int phbGdgkgrh = oraythgz[p];
int pKiroaYrgGdgkgrh = oraythgz[p - 1];
if (phbGdgkgrh > pKiroaYrgGdgkgrh) {
oraythgz[p - 1] = phbGdgkgrh;
oraythgz[p] = pKiroaYrgGdgkgrh;
} else {
break;
}
}
}

public static void main(String[] args) {
int[] oraythgz = { 3, 7, 4, 5 };
int[] tgaodh = ayth(oraythgz);
for (int i = 0; i < tgaodh.length; i++) {
System.out.print(tgaodh[i]);
}
}
}
8 changes: 8 additions & 0 deletions Eyetracking Study/1_stimuli/Snippets/MoneyClass_edited.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
public class MoneyClass {
public static void main(String[] args) {
int cents = 140;
int dollars = cents / 100;
int restCents = cents % 100;
System.out.print(dollars + "," + restCents);
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
public class GkvqeMriss {
public static void main(String[] args) {
int mqvhs = 140;
int bkrrids = mqvhs / 100;
int dqshMqvhs = mqvhs % 100;
System.out.print(bkrrids + "," + dqshMqvhs);
}
}
32 changes: 32 additions & 0 deletions Eyetracking Study/1_stimuli/Snippets/Rectangle_edited.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
public class Rectangle {
private int x1, y1, x2, y2;

public Rectangle(int x1, int y1, int x2, int y2) {
this.x1 = x1;
this.y1 = y1;
this.x2 = x2;
this.y2 = y2;
}

public int width() {
return this.x2 - this.x1;
}

public int height() {
return this.y2 - this.y1;
}

public double area() {
return this.width() * this.height();
}

public static void main(String[] args) {
Rectangle rect1 = new Rectangle(0, 0, 10, 10);
System.out.println(rect1.area());
Rectangle rect2 = new Rectangle(5, 5, 10, 10);
System.out.println(rect2.area());
}
}



31 changes: 31 additions & 0 deletions Eyetracking Study/1_stimuli/Snippets/Rectangle_scrambled32.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
public class Boihcpujo {
private int t1, w1, t2, w2;

public Boihcpujo(int t1, int w1, int t2, int w2) {
this.t1 = t1;
this.w1 = w1;
this.t2 = t2;
this.w2 = w2;
}

public int qalhx() {
return this.t2 - this.t1;
}

public int xoauxh() {
return this.w2 - this.w1;
}

public double cboc() {
return this.qalhx() * this.xoauxh();
}

public static void main(String[] args) {
Boihcpujo boih1 = new Boihcpujo(0, 0, 10, 10);
System.out.print(boih1.cboc());
Boihcpujo boih2 = new Boihcpujo(5, 5, 10, 10);
System.out.print("" + boih2.cboc());
}
}


26 changes: 26 additions & 0 deletions Eyetracking Study/1_stimuli/Snippets/SignChecker_edited.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
public class SignChecker {
private int number;

public SignChecker(int currentNumber) {
number = currentNumber;
}

public String check() {
String theSign = "";
if (number < 0) {
theSign = "negative";
} else if (number > 0) {
theSign = "positive";
} else {
theSign = "null";
}
return theSign;
}

public static void main(String[] args) {
SignChecker number1 = new SignChecker(10);
System.out.print(number1.check());
SignChecker number2 = new SignChecker(0);
System.out.print(" " + number2.check());
}
}
26 changes: 26 additions & 0 deletions Eyetracking Study/1_stimuli/Snippets/SignChecker_scrambled15.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
public class XnlsHmjhpjw {
private int szrgjw;

public XnlsHmjhpjw(int hzwwjsySzrgjw) {
szrgjw = hzwwjsySzrgjw;
}

public String hmjhp() {
String ymjXnls = "";
if (szrgjw < 0) {
ymjXnls = "negative";
} else if (szrgjw > 0) {
ymjXnls = "positive";
} else {
ymjXnls = "null";
}
return ymjXnls;
}

public static void main(String[] args) {
XnlsHmjhpjw szrgjw1 = new XnlsHmjhpjw(10);
System.out.print(szrgjw1.check());
XnlsHmjhpjw szrgjw2 = new XnlsHmjhpjw(0);
System.out.print(" " + szrgjw2.check());
}
}
21 changes: 21 additions & 0 deletions Eyetracking Study/1_stimuli/Snippets/Street_edited.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
public class Street {
private int number;

public Street(int nr) {
setNumber(nr);
}

public int getNumber() {
return number;
}

public void setNumber(int number) {
this.number = number;
}

public static void main(String[] args) {
Street street = new Street(5);
street.setNumber(15);
System.out.print(street.getNumber());
}
}
23 changes: 23 additions & 0 deletions Eyetracking Study/1_stimuli/Snippets/Street_scrambled76.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@

public class Cjviij {
private int tqmniv;

public Cjviij(int tv) {
cijTqmniv(tv);
}

public int wijTqmniv() {
return tqmniv;
}

public void cijTqmniv(int tqmniv) {
this.tqmniv = tqmniv;
}

public static void main(String[] args) {
Cjviij cjviij = new Cjviij(5);
cjviij.cijTqmniv(15);
System.out.print(cjviij1.wijTqmniv());
}
}

23 changes: 23 additions & 0 deletions Eyetracking Study/1_stimuli/Snippets/Student.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
public class Student {
private String name;
private int age;

public Student(String name, int age) {
this.name = name;
this.age = age;
}

public int getAge() {
return age;
}

public int hadBirthday() {
return age = age + 1;
}

public static void main(String[] args) {
Student willi = new Student("Willi", 25);
willi.hadBirthday();
System.out.print(willi.getAge());
}
}
23 changes: 23 additions & 0 deletions Eyetracking Study/1_stimuli/Snippets/Student_scrambled52.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
public class Otyrwpt {
private String pckw;
private int cgw;

public Otyrwpt(String pckw, int cgw) {
this.pckw = pckw;
this.cgw = cgw;
}

public int gwtCgw() {
return cgw;
}

public int lcrHqjtlrcs() {
return cgw = cgw + 1;
}

public static void main(String[] args) {
Otyrwpt iqffq = new Otyrwpt("XXXX", 25);
iqffq.lcrHqjtlrcs();
System.out.print(iqffq.gwtCgw());
}
}
12 changes: 12 additions & 0 deletions Eyetracking Study/1_stimuli/Snippets/SumArray.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
public class SumArray {
public static void main(String[] args) {
int[] array = { 1, 6, 4, 10, 2 };

int result = 0;
for (int i = 0; i <= array.length - 1; i++) {
result = result + array[i];
}

System.out.println(result);
}
}
12 changes: 12 additions & 0 deletions Eyetracking Study/1_stimuli/Snippets/SumArray_scrambled_9_8.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
public class OgmIffiq {
public static void main(String[] args) {
int[] iffiq = { 1, 6, 4, 10, 2 };

int fsogdx = 0;
for (int i = 0; i <= iffiq.length - 1; i++) {
fsogdx = fsogdx + iffiq[i];
}

System.out.println(fsogdx);
}
}
Loading

0 comments on commit 242cb6c

Please sign in to comment.