diff --git a/.DS_Store b/.DS_Store index 3e87f64..c230d60 100644 Binary files a/.DS_Store and b/.DS_Store differ diff --git a/Lerntagebuch.md b/Lerntagebuch.md index 07e6157..66b8c66 100644 --- a/Lerntagebuch.md +++ b/Lerntagebuch.md @@ -37,6 +37,77 @@ ## Uebung 03 (14.11.2022) +### Übung1.java + +after breakpoint at line 35 + +enter an integer number: 45 +input: 45, Schleifenvariable: 2, Ergebnis 1 +input: 45, Schleifenvariable: 3, Ergebnis 0 +number 45 passed check: false + +when i enter 45 after breakpoint +*Thread [main] (Suspended (breakpoint at line 35 in Uebung1)) + Uebung1.checkNumber(int) line: 35 + Uebung1.run() line: 23 + Uebung1.main(String[]) line: 17 * + +when i enter 47 after breakpoint +*Thread [main] (Suspended (breakpoint at line 35 in Uebung1)) + Uebung1.checkNumber(int) line: 35 + Uebung1.run() line: 23 + Uebung1.main(String[]) line: 17* + +###Übung2.java + +enter an integer number: 22 +number 22 passed check: false + +enter an integer number: 2 +number 2 passed check: false + +enter an integer number: -33 +number -33 passed check: true + +enter an integer number: -4 +number -4 passed check: true + +after breakpoint at line 40 + +*Thread [main] (Suspended (breakpoint at line 40 in Uebung2)) + Uebung2.checkNumber(int) line: 40 + Uebung2.run() line: 23 + Uebung2.main(String[]) line: 17 * + +after step over + +*Thread [main] (Suspended (breakpoint at line 40 in Uebung2)) + Uebung2.checkNumber(int) line: 40 + Uebung2.checkNumber(int) line: 40 + Uebung2.run() line: 23 + Uebung2.main(String[]) line: 17 * + +- in welcher Zeile steht der Debugger? +- Zeile 40 + +- Notieren Sie die Anzahl der Einträge in der *Debug View* +- Uebung2.checkNumber(int) line: 40 +- Uebung2.checkNumber(int) line: 40 +- Uebung2.run() line: 23 +- Uebung2.main(String[]) line: 17 + +- in welcher Zeile steht der Debugger? +- 34 + +- Notieren Sie die Anzahl der Einträge in der *Debug View* +- Uebung2.checkNumber(int) line: 34 +- Uebung2.checkNumber(int) line: 40 +- Uebung2.checkNumber(int) line: 40 +- Uebung2.run() line: 23 +- Uebung2.main(String[]) line: 17 + + + ## SU 04 (16.11.2022) ### Lernziel - **Source Code Management** diff --git a/UebungIDEs/.DS_Store b/UebungIDEs/.DS_Store index d7566ad..aeb0865 100644 Binary files a/UebungIDEs/.DS_Store and b/UebungIDEs/.DS_Store differ