Please enable JavaScript to use CodeHS

Utah Introducción a Python 1 y 2

Description

En esta breve lección, se presentará a los alumnos la idea de comprobar sus propios programas. Conocerán cómo deben utilizarse los autograduadores y qué otras formas hay de asegurarse de que han completado con éxito un programa antes de seguir adelante.

Objective

Students will be able to:

  • utilize different methods of checking their programs
  • understand the limitations of autograders
Description

En esta lección, los alumnos aprenderán a utilizar los comandos izquierda, derecha y setheading/seth para mover a Tracy a más lugares del lienzo. Ahora dispondrán de muchos comandos que podrán utilizar para que Tracy cree gráficos más complejos.

Objective

Students will be able to:

  • Use the left and right commands in order to turn Tracy from her current direction
  • Use the setheading/seth commands to turn Tracy to face a specific direction
Description

En esta lección, los alumnos se familiarizan con los for loops. Aprenderán cómo los for loops simplifican el proceso de hacer pequeños cambios en un programa y ayudan a evitar la repetición de código. Los for loops se escriben así:

for i in range (4):
    // Código que se repetirá 4 veces
Objective

Students will be able to:

  • Create for loops to repeat code a fixed number of times
  • Explain when a for loop would be a useful tool
  • Utilize for loops to write programs that would be difficult/impossible without loops
  • Use the bgcolor command to change the color of Tracy’s canvas
Description

En esta lección, se presenta a los alumnos la posibilidad de girar a Tracy en cualquier ángulo. Con esta función, Tracy puede ahora dibujar líneas diagonales, lo que abre la posibilidad de dibujar múltiples formas que antes no estaban disponibles.

Objective

Students will be able to:

  • Use angles inside turning commands
  • Turn Tracy at angles in conjunction with for loops
Description

En esta lección, los alumnos repasan los contenidos con un Cuestionario de Fin de Unidad de 10 preguntas.

Objective

Students will be able to:

  • Prove their knowledge of the following commands and concepts through a multiple choice quiz:
    • for loops
    • left / right
    • setheading / seth
    • speed
    • bgcolor