Intro to CS · Day 3 of 10
Debugging Detective
Find the difference between what the code should do and what it actually does.
- Tool: Code.org Express, Lesson 2
- Time: one class period
- Turn in: progress screenshot, three-bug log, and reflection
English
Words for today: bug · debug · test
What to do
- Sign in through your teacher's Code.org section. Open Debugging in Maze.
- For each puzzle, predict what the current blocks will do before you press Run.
- Change one block, test, and compare the result with your prediction.
- Keep a three-bug log. For each bug, record what happened, what you changed, and how the next test changed the result.
- Capture the lesson progress screen at the end of class.
If your code is not working
- Read the instruction at the top of the level again.
- Run the code after one change so you know which change mattered.
- Use the built-in hint, then show your teacher the level and what you already tried.
Before you submit
- Upload the progress screenshot and the three-bug log.
- In the submission comment, complete the reflection.
Reflection
Write 2 or 3 sentences: "The bug that took the longest was ____. I found it by ____."
Word bank: bug · debug · test · predict · result · change
Español
Palabras de hoy: bug (error) · debug (depurar) · test (probar)
Qué hacer
- Inicia sesión en la sección de Code.org de tu maestro. Abre Debugging in Maze.
- En cada rompecabezas, predice qué harán los bloques actuales antes de presionar Run.
- Cambia un bloque, prueba y compara el resultado con tu predicción.
- Mantén un registro de tres errores. Para cada uno, anota qué pasó, qué cambiaste y cómo cambió el resultado en la siguiente prueba.
- Toma una captura de la pantalla de avance al final de la clase.
Si tu código no funciona
- Vuelve a leer la instrucción que aparece arriba del nivel.
- Ejecuta el código después de un solo cambio para saber cuál cambio importó.
- Usa la pista del nivel. Después, muéstrale a tu maestro el nivel y lo que ya intentaste.
Antes de entregar
- Sube la captura de avance y el registro de tres errores.
- En el comentario, completa la reflexión.
Reflexión
Escribe 2 o 3 oraciones: "El error que más tardé en resolver fue ____. Lo encontré al ____."
Banco de palabras: error · depurar · probar · predecir · resultado · cambio
PASSPORT 3 / PASAPORTE 3
Use controlled tests to repair code / Usar pruebas controladas para reparar código
I can: I can predict, change one thing, observe the result, and revise the matching pseudocode.
Puedo: Puedo predecir, cambiar una sola cosa, observar el resultado y revisar el pseudocódigo correspondiente.
Show Your Learning / Demuestra lo aprendido
Use Passport Checkpoint 3 as the three-bug log. Revise the matching pseudocode after each successful repair and submit a readable checkpoint screenshot.
Usa el Punto de control 3 como registro de tres errores. Revisa el pseudocódigo correspondiente después de cada reparación y entrega una captura legible.
- Now / Ahora: Use Passport 3 as the three-bug log; predict before every run.
Usa el Pasaporte 3 como registro de tres errores; predice antes de cada ejecución. - Next / Después: After each repair, copy the matching pseudocode line and revise it.
Después de cada reparación, copia la línea correspondiente del pseudocódigo y revísala. - Done / Al terminar: Submit the progress screenshot, three complete test records, and improvement claim.
Entrega la captura de avance, tres registros completos de prueba y la afirmación de mejora.
- English: Make a Google copy · Word · PDF
- Español: Crear una copia de Google · Word · PDF
Points / Puntos: 5 points: progress 1; three test records 3; revision/claim 1.
5 puntos: avance 1; tres registros 3; revisión/afirmación 1.
Privacy / Privacidad: Crop names, email addresses, and profile details from screenshots. / Recorta nombres, correos electrónicos y datos del perfil de las capturas.