You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 7, 2026. It is now read-only.
Repository navigation
Commit 5499e4d
Browse filesBrowse the repository at this point in the historyBrowse files
Bombe entschärfen: Teile einer Zeile antippen (stelle:)
Runden mit stelle: zeigen die Teile jeder Zeile als eigene Knöpfe (for-Felder,
Bedingung, Ziel/Wert, Aufruf/Argumente). Richtige Zeile, falscher Teil gibt
einen eigenen Hinweis. L13 (sechs Runden) und L15 (sechs Runden) nutzen es.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Ugz28TMpQfqqrpf8hBYRpx
intro: In jedem Programm steckt **genau ein Fehler**, und die Bombe tickt. Lies, was das Programm tun soll, und tippe auf die falsche Zeile, bevor die Zeit abläuft. Acht Runden, je 25 Sekunden.
201
+
intro: In jedem Programm steckt **genau ein Fehler**, und die Bombe tickt. Lies, was das Programm tun soll, und tippe auf die falsche Zeile, bevor die Zeit abläuft. Sind die Teile einer Zeile umrandet, tippst du genau auf den falschen Teil, zum Beispiel nur auf `i++`. Acht Runden, je 25 Sekunden.
202
202
zeit: 25
203
203
204
204
runde:
@@ -225,6 +225,7 @@ runde:
225
225
}
226
226
frage: Soll von 10 bis 1 rückwärts zählen.
227
227
fehler: 1
228
+
stelle: i++
228
229
besser: for (int i = 10; i >= 1; i--) {
229
230
> Mit `i++` wird `i` immer größer, die Bedingung `i >= 1` bleibt wahr: eine Endlosschleife. Rückwärts zählst du mit `i--`.
230
231
@@ -236,6 +237,7 @@ runde:
236
237
System.out.println(summe);
237
238
frage: Soll die Summe 1 + 2 + 3 + 4 = 10 ausgeben.
238
239
fehler: 3
240
+
stelle: i
239
241
besser: summe = summe + i;
240
242
> `summe = i` überschreibt die Summe in jedem Durchlauf. Am Ende steht dort nur 4.
241
243
@@ -245,6 +247,7 @@ runde:
245
247
}
246
248
frage: Soll genau fünfmal Määäh ausgeben.
247
249
fehler: 1
250
+
stelle: i <= 5
248
251
besser: for (int i = 0; i < 5; i++) {
249
252
> Von 0 bis einschließlich 5 sind es sechs Durchläufe. Wer bei 0 anfängt, nimmt `<`.
250
253
@@ -254,6 +257,7 @@ runde:
254
257
}
255
258
frage: Soll 1, 2 und 3 ausgeben.
256
259
fehler: 2
260
+
stelle: system.out.println
257
261
besser: System.out.println(i);
258
262
> Java unterscheidet Groß- und Kleinbuchstaben: `System` schreibt man mit großem S.
259
263
@@ -264,6 +268,7 @@ runde:
264
268
}
265
269
frage: Soll die Siebenerreihe ausgeben: 7 x 1 = 7, 7 x 2 = 14 und so weiter.
266
270
fehler: 3
271
+
stelle: zahl * zahl
267
272
besser: System.out.println(zahl + " x " + i + " = " + zahl * i);
268
273
> `zahl * zahl` ist immer 49. Gerechnet werden muss `zahl * i`.
269
274
@@ -273,6 +278,7 @@ runde:
273
278
}
274
279
frage: Soll die geraden Zahlen 2, 4, 6, 8 und 10 ausgeben.
275
280
fehler: 1
281
+
stelle: i + 2
276
282
besser: for (int i = 2; i <= 10; i = i + 2) {
277
283
> `i + 2` rechnet nur, speichert aber nichts. Damit `i` wirklich wächst, braucht es `i = i + 2`.
intro: In jedem Programm steckt **genau ein Fehler** rund um Arrays, und die Bombe tickt. Tippe auf die falsche Zeile, bevor die Zeit abläuft. Sechs Runden, je 30 Sekunden.
234
+
intro: In jedem Programm steckt **genau ein Fehler** rund um Arrays, und die Bombe tickt. Tippe auf die falsche Zeile, bevor die Zeit abläuft. Sind die Teile einer Zeile umrandet, tippst du genau auf den falschen Teil. Sechs Runden, je 30 Sekunden.
235
235
zeit: 30
236
236
237
237
runde:
@@ -241,6 +241,7 @@ runde:
241
241
}
242
242
frage: Soll alle fünf Werte ausgeben.
243
243
fehler: 2
244
+
stelle: i <= zahlen.length
244
245
besser: for (int i = 0; i < zahlen.length; i++) {
245
246
> Mit `<=` läuft i bis 5. Das Fach `zahlen[5]` gibt es nicht.
intro: Every program hides **exactly one mistake**, and the bomb is ticking. Read what the program should do and tap the wrong line before time runs out. Eight rounds, 25 seconds each.
201
+
intro: Every program hides **exactly one mistake**, and the bomb is ticking. Read what the program should do and tap the wrong line before time runs out. If the parts of a line have a border, tap exactly the wrong part, for example just `i++`. Eight rounds, 25 seconds each.
202
202
zeit: 25
203
203
204
204
runde:
@@ -225,6 +225,7 @@ runde:
225
225
}
226
226
frage: Should count backwards from 10 to 1.
227
227
fehler: 1
228
+
stelle: i++
228
229
besser: for (int i = 10; i >= 1; i--) {
229
230
> With `i++`, `i` keeps growing and the condition `i >= 1` stays true: an endless loop. To count backwards, use `i--`.
230
231
@@ -236,6 +237,7 @@ runde:
236
237
System.out.println(sum);
237
238
frage: Should output the sum 1 + 2 + 3 + 4 = 10.
238
239
fehler: 3
240
+
stelle: i
239
241
besser: sum = sum + i;
240
242
> `sum = i` overwrites the sum in every pass. In the end it only holds 4.
241
243
@@ -245,6 +247,7 @@ runde:
245
247
}
246
248
frage: Should output Baaa exactly five times.
247
249
fehler: 1
250
+
stelle: i <= 5
248
251
besser: for (int i = 0; i < 5; i++) {
249
252
> From 0 up to and including 5 there are six passes. If you start at 0, use `<`.
250
253
@@ -254,6 +257,7 @@ runde:
254
257
}
255
258
frage: Should output 1, 2 and 3.
256
259
fehler: 2
260
+
stelle: system.out.println
257
261
besser: System.out.println(i);
258
262
> Java tells upper and lower case apart: `System` is written with a capital S.
259
263
@@ -264,6 +268,7 @@ runde:
264
268
}
265
269
frage: Should output the 7 times table: 7 x 1 = 7, 7 x 2 = 14 and so on.
266
270
fehler: 3
271
+
stelle: number * number
267
272
besser: System.out.println(number + " x " + i + " = " + number * i);
268
273
> `number * number` is always 49. It has to be `number * i`.
269
274
@@ -273,6 +278,7 @@ runde:
273
278
}
274
279
frage: Should output the even numbers 2, 4, 6, 8 and 10.
275
280
fehler: 1
281
+
stelle: i + 2
276
282
besser: for (int i = 2; i <= 10; i = i + 2) {
277
283
> `i + 2` only calculates and stores nothing. For `i` to really grow, you need `i = i + 2`.
intro: Every program contains **exactly one mistake** to do with arrays, and the bomb is ticking. Tap the wrong line before time runs out. Six rounds, 30 seconds each.
234
+
intro: Every program contains **exactly one mistake** to do with arrays, and the bomb is ticking. Tap the wrong line before time runs out. If the parts of a line have a border, tap exactly the wrong part. Six rounds, 30 seconds each.
235
235
zeit: 30
236
236
237
237
runde:
@@ -241,6 +241,7 @@ runde:
241
241
}
242
242
frage: Should output all five values.
243
243
fehler: 2
244
+
stelle: i <= numbers.length
244
245
besser: for (int i = 0; i < numbers.length; i++) {
245
246
> With `<=`, i runs up to 5. There is no slot `numbers[5]`.
246
247
@@ -249,6 +250,7 @@ runde:
249
250
System.out.println(names[1]);
250
251
frage: Should output the first name, Ada.
251
252
fehler: 2
253
+
stelle: names[1]
252
254
besser: System.out.println(names[0]);
253
255
> Counting starts at 0. `names[1]` is already Ben.
intro: Cada programa esconde **exatamente um erro**, e a bomba está a fazer tiquetaque. Lê o que o programa deve fazer e toca na linha errada antes de o tempo acabar. Oito rondas, 25 segundos cada.
201
+
intro: Cada programa esconde **exatamente um erro**, e a bomba está a fazer tiquetaque. Lê o que o programa deve fazer e toca na linha errada antes de o tempo acabar. Se as partes de uma linha tiverem moldura, toca exatamente na parte errada, por exemplo só em `i++`. Oito rondas, 25 segundos cada.
202
202
zeit: 25
203
203
204
204
runde:
@@ -225,6 +225,7 @@ runde:
225
225
}
226
226
frage: Deve contar para trás de 10 até 1.
227
227
fehler: 1
228
+
stelle: i++
228
229
besser: for (int i = 10; i >= 1; i--) {
229
230
> Com `i++`, `i` fica sempre maior e a condição `i >= 1` continua verdadeira: um ciclo infinito. Para contar para trás usas `i--`.
230
231
@@ -236,6 +237,7 @@ runde:
236
237
System.out.println(soma);
237
238
frage: Deve mostrar a soma 1 + 2 + 3 + 4 = 10.
238
239
fehler: 3
240
+
stelle: i
239
241
besser: soma = soma + i;
240
242
> `soma = i` substitui a soma em cada iteração. No fim fica lá só 4.
241
243
@@ -245,6 +247,7 @@ runde:
245
247
}
246
248
frage: Deve mostrar Mééé exatamente cinco vezes.
247
249
fehler: 1
250
+
stelle: i <= 5
248
251
besser: for (int i = 0; i < 5; i++) {
249
252
> De 0 até 5, inclusive, são seis iterações. Quem começa em 0 usa `<`.
250
253
@@ -254,6 +257,7 @@ runde:
254
257
}
255
258
frage: Deve mostrar 1, 2 e 3.
256
259
fehler: 2
260
+
stelle: system.out.println
257
261
besser: System.out.println(i);
258
262
> O Java distingue maiúsculas de minúsculas: `System` escreve-se com S maiúsculo.
259
263
@@ -264,6 +268,7 @@ runde:
264
268
}
265
269
frage: Deve mostrar a tabuada do 7: 7 x 1 = 7, 7 x 2 = 14 e assim por diante.
266
270
fehler: 3
271
+
stelle: numero * numero
267
272
besser: System.out.println(numero + " x " + i + " = " + numero * i);
268
273
> `numero * numero` dá sempre 49. Tem de ser `numero * i`.
269
274
@@ -273,6 +278,7 @@ runde:
273
278
}
274
279
frage: Deve mostrar os números pares 2, 4, 6, 8 e 10.
275
280
fehler: 1
281
+
stelle: i + 2
276
282
besser: for (int i = 2; i <= 10; i = i + 2) {
277
283
> `i + 2` só calcula e não guarda nada. Para `i` crescer mesmo, é preciso `i = i + 2`.
intro: Cada programa tem **exatamente um erro** com arrays, e a bomba está a fazer tique-taque. Toca na linha errada antes de o tempo acabar. Seis rondas, 30 segundos cada.
234
+
intro: Cada programa tem **exatamente um erro** com arrays, e a bomba está a fazer tique-taque. Toca na linha errada antes de o tempo acabar. Se as partes de uma linha tiverem moldura, toca exatamente na parte errada. Seis rondas, 30 segundos cada.
235
235
zeit: 30
236
236
237
237
runde:
@@ -241,6 +241,7 @@ runde:
241
241
}
242
242
frage: Deve mostrar os cinco valores.
243
243
fehler: 2
244
+
stelle: i <= numeros.length
244
245
besser: for (int i = 0; i < numeros.length; i++) {
245
246
> Com `<=`, i vai até 5. A posição `numeros[5]` não existe.
246
247
@@ -249,6 +250,7 @@ runde:
249
250
System.out.println(nomes[1]);
250
251
frage: Deve mostrar o primeiro nome, ou seja, Ada.
0 commit comments