EIGHT GRADE THIRD TERM

 


WEEK #1 

MONITORING SYSTEM




VIDEO 


week 2
Modular Programming and Logical Control

WHAT IS PYTHON?








Control Structures

https://youtu.be/9XbeXpKMR_E

GAME CLICK ON THE LINK AND PLAY THE VIDEO GAME HERE

1.

2.

3.



SINTAX TABLE

Reverse Engineering: Graphs

EXCERCISE SOLUTION


Excercises 

DUA ACTIVITY



WEEK 3 Data Analysis
Objectiveof the class
Develop Logical sequences and basic functions in Python to automate processes.



WEEK 4 FORMATIVE ACTIVITY
STREAMLIT LIBRARY

Important files

Example streamlit code

1.FORMATIVE ACTIVITY CODE 





WEEK 5 RECEIVING DATA





WEEK 6 Analyzing and Interpreting Data

FORMATIVE ACTIVITY II
Hello dear students, in the following exercise you must find the errors in the code provided by your teacher. Afterwards, you have to save the changes and be careful not to run it in Spyder—just save your progress. Then, open Streamlit and check if your code runs correctly.





FORMATIVE DUA 


WEEK 7 User-Centered design

LIBRARIES

-TIME LIBRARY SLEEP

EXAMPLE: Please analyze the following code. After that, copy and paste it into Spyder and run it.


import time


i=10

print("Countdown")

while i>0:

    print(i)

    i=i-1 #The new value of i is the old value of i minus 1.

    time.sleep(1)

print(0)

print("Time is over.")



- Dictionaries in python are objects stored into categories. Guide the discussion towards that.

Use a While loop, "while(True)" to make a python script that counts up every second and prints the result (use the countdown script as base).


ACTIVITY CLASS

Run the "dictionaries.py" file on spyder.

  • What does it do?
  • How does the variable temp work?
  • What does temp["ESP1"] mean?
  • The variables temp, humid, weight are called dictionaries. Based on the script, how do dictionaries work?
  • Complete the code so that the script also prints all the humidities and weights on console, one every two seconds.

Write down: What happened to the second ESP32 or to its sensors?

LINK CODE

https://blogleolozano.blogspot.com/2026/09/dictionariespy.html

ACTIVITY CLASS 2


✏️ Student Task:

Now it's your turn! Modify the rabbit_database dictionary to include 3 more rabbits: "Bunny2", "Bunny3", and "Bunny4".

Requirements:

  1. Follow the exact same dictionary structure as "Bunny1".

  2. Each new rabbit must have:

    • weight_g (a number in grams, e.g., 1900, 2100)

    • temperature_c (a float number in °C, e.g., 38.8, 39.1)

    • motion_status (a text status: "Active", "Resting", or "Exploring")

  3. Print the full database at the end using print(rabbit_database).

  4. Please click on the link

https://blogleolozano.blogspot.com/2026/10/class-activity-2-week-7.html



WEEK 8 final project
Hello dear students, please follow the instructions of our teacher. Remember, today our goal is to complete our monitoring app. As soon as you finish, please upload your work via the link on this blog.

Apply simple automatic choices via pattern recognition and logical
conditions.
resources:



upload your final project in the following link.









WEEK 8 DUA  ACTIVITY

Hoy tu reto es construir tu aplicación de monitoreo de conejos, recuerda que nuestro colegio requiere realizar seguimiento a nuestros conejos para que no les falte nada así que se instalaron varios sensores para recolectar información para mantenerlos sanos y fuertes.

A)Entra en el siguiente enlace e inicia tu reto: https://share.gemini.google/gfhJbAGTrT8T

B)Resuelve las siguientes preguntas en tu cuaderno:

1.¿Cuántos conejos colocaste en tu pantalla y de qué colores son?

2.Cuando presionas el botón de actualizar en el sensor de temperatura, ¿qué le pasa a la línea de la gráfica?

3.Al oprimir el botón de dispensar comida, ¿qué cambia en la gráfica de los conejos?

4.Si presionas el botón de activar aire, ¿la temperatura de la gráfica aumenta o disminuye?

5.¿Cuál es tu gráfica o sensor favorito de los que agregaste a tu aplicación?

C)Resuelve las actividades impresas que te dará tu profesor.


No hay comentarios:

Publicar un comentario