Skip to content

Commit

Permalink
Merge pull request #315 from abadoni5/aayush/issue#241
Browse files Browse the repository at this point in the history
added polls to the end of each chapter
  • Loading branch information
NicolasSandoval authored Mar 12, 2024
2 parents 8d25d31 + 56efe0f commit d1cf0e8
Show file tree
Hide file tree
Showing 47 changed files with 367 additions and 28 deletions.
8 changes: 8 additions & 0 deletions _sources/lectures/TWP05/TWP05_16.rst
Original file line number Diff line number Diff line change
Expand Up @@ -49,3 +49,11 @@ Utilice el intérprete de modo interactivo aquí abajo para solucionar los sigui

“La vida es como andar en bicicleta. Para mantener el equilibrio, debes seguir moviéndote”. - Einstein

.. poll:: TWP05
:scale: 3
:allowcomment:

En una escala del 1 (a mejorar) al 3 (excelente),
¿cómo calificaría este capítulo?


10 changes: 9 additions & 1 deletion _sources/lectures/TWP05/TWP05_16_en.rst
Original file line number Diff line number Diff line change
Expand Up @@ -45,4 +45,12 @@ Use the interactive interpreter below to solve the following exercises.
:align: center
:alt:

"Life is like riding a bicycle. To keep your balance, you must keep moving". - Einstein
"Life is like riding a bicycle. To keep your balance, you must keep moving". - Einstein


.. poll:: TWP05E
:scale: 3
:allowcomment:

On a scale from 1 (needs improvement) to 3 (excellent),
how would you rate this chapter?
9 changes: 8 additions & 1 deletion _sources/lectures/TWP10/TWP10_7.rst
Original file line number Diff line number Diff line change
Expand Up @@ -76,4 +76,11 @@ Lista de Ejercicios “again”
:align: center
:alt:

“La vida es como andar en bicicleta. Para mantener el equilibrio, debes seguir moviéndote”. - Einstein
“La vida es como andar en bicicleta. Para mantener el equilibrio, debes seguir moviéndote”. - Einstein

.. poll:: TWP10
:scale: 3
:allowcomment:

En una escala del 1 (a mejorar) al 3 (excelente),
¿cómo calificaría este capítulo?
7 changes: 7 additions & 0 deletions _sources/lectures/TWP10/TWP10_7_en.rst
Original file line number Diff line number Diff line change
Expand Up @@ -79,3 +79,10 @@ Exercise List “again”
:alt:

“Life is like riding a bicycle. To keep balance, you must keep moving”. - Einstein

.. poll:: TWP10E
:scale: 3
:allowcomment:

On a scale from 1 (needs improvement) to 3 (excellent),
how would you rate this chapter?
7 changes: 7 additions & 0 deletions _sources/lectures/TWP15/TWP15_6.rst
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,10 @@ Repeticiones anidadas


“La vida es como andar en bicicleta. Para mantener el equilibrio, debes seguir moviéndote”. - Einstein

.. poll:: TWP15
:scale: 3
:allowcomment:

En una escala del 1 (a mejorar) al 3 (excelente),
¿cómo calificaría este capítulo?
9 changes: 8 additions & 1 deletion _sources/lectures/TWP15/TWP15_6_en.rst
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,11 @@ Nested loops
:align: center
:alt:

"Life is like riding a bicycle. To keep your balance, you must keep moving" - Einstein
"Life is like riding a bicycle. To keep your balance, you must keep moving" - Einstein

.. poll:: TWP15E
:scale: 3
:allowcomment:

On a scale from 1 (needs improvement) to 3 (excellent),
how would you rate this chapter?
7 changes: 7 additions & 0 deletions _sources/lectures/TWP17/TWP17_5.rst
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,10 @@ Lista de Ejercícios “again”
:alt:

“La vida es como andar en bicicleta. Para mantener el equilibrio, debes seguir moviéndote”. - Einstein

.. poll:: TWP17
:scale: 3
:allowcomment:

En una escala del 1 (a mejorar) al 3 (excelente),
¿cómo calificaría este capítulo?
9 changes: 8 additions & 1 deletion _sources/lectures/TWP17/TWP17_5_en.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,11 @@ Exercise List "again"
:align: center
:alt:

"Life is like riding a bicycle. To keep your balance, you must keep moving." - Einstein
"Life is like riding a bicycle. To keep your balance, you must keep moving." - Einstein

.. poll:: TWP17E
:scale: 3
:allowcomment:

On a scale from 1 (needs improvement) to 3 (excellent),
how would you rate this chapter?
7 changes: 7 additions & 0 deletions _sources/lectures/TWP18/TWP18_7.rst
Original file line number Diff line number Diff line change
Expand Up @@ -40,3 +40,10 @@ Programación en pareja
:width: 18.201cm
:align: center
:alt:

.. poll:: TWP18
:scale: 3
:allowcomment:

En una escala del 1 (a mejorar) al 3 (excelente),
¿cómo calificaría este capítulo?
7 changes: 7 additions & 0 deletions _sources/lectures/TWP18/TWP18_7_en.rst
Original file line number Diff line number Diff line change
Expand Up @@ -40,3 +40,10 @@ Pair programming
:width: 18.201cm
:align: center
:alt:

.. poll:: TWP18E
:scale: 3
:allowcomment:

On a scale from 1 (needs improvement) to 3 (excellent),
how would you rate this chapter?
7 changes: 7 additions & 0 deletions _sources/lectures/TWP20/TWP20_5.rst
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,10 @@ Lista de ejercicios "again"
:alt:

“La vida es como andar en bicicleta. Para mantener el equilibrio, debes seguir moviéndote”. - Einstein

.. poll:: TWP20
:scale: 3
:allowcomment:

En una escala del 1 (a mejorar) al 3 (excelente),
¿cómo calificaría este capítulo?
9 changes: 8 additions & 1 deletion _sources/lectures/TWP20/TWP20_5_en.rst
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,11 @@ Exercise List "again"
:align: center
:alt:

"Life is like riding a bicycle. To keep your balance, you must keep moving." - Einstein
"Life is like riding a bicycle. To keep your balance, you must keep moving." - Einstein

.. poll:: TWP20E
:scale: 3
:allowcomment:

On a scale from 1 (needs improvement) to 3 (excellent),
how would you rate this chapter?
7 changes: 7 additions & 0 deletions _sources/lectures/TWP23/TWP23_6.rst
Original file line number Diff line number Diff line change
Expand Up @@ -45,3 +45,10 @@


“La vida es como andar en bicicleta. Para mantener el equilibrio, debes seguir moviéndote”. - Einstein

.. poll:: TWP23
:scale: 3
:allowcomment:

En una escala del 1 (a mejorar) al 3 (excelente),
¿cómo calificaría este capítulo?
9 changes: 8 additions & 1 deletion _sources/lectures/TWP23/TWP23_6_en.rst
Original file line number Diff line number Diff line change
Expand Up @@ -44,4 +44,11 @@ Last Exercise
:alt:


“Life is like riding a bicycle. To keep your balance, you must keep moving.” - Einstein
“Life is like riding a bicycle. To keep your balance, you must keep moving.” - Einstein

.. poll:: TWP23E
:scale: 3
:allowcomment:

On a scale from 1 (needs improvement) to 3 (excellent),
how would you rate this chapter?
7 changes: 7 additions & 0 deletions _sources/lectures/TWP25/TWP25_5.rst
Original file line number Diff line number Diff line change
Expand Up @@ -49,3 +49,10 @@ Múltiple herencia y ¿Qué objeto es?
print(isinstance(wlan0, Ethernet))
print(isinstance(eth0, PCI))
print(isinstance(eth0, USB))

.. poll:: TWP25
:scale: 3
:allowcomment:

En una escala del 1 (a mejorar) al 3 (excelente),
¿cómo calificaría este capítulo?
9 changes: 8 additions & 1 deletion _sources/lectures/TWP25/TWP25_5_en.rst
Original file line number Diff line number Diff line change
Expand Up @@ -48,4 +48,11 @@ Multiple Inheritance and What Object is It?

print(isinstance(wlan0, Ethernet))
print(isinstance(eth0, PCI))
print(isinstance(eth0, USB))
print(isinstance(eth0, USB))

.. poll:: TWP25E
:scale: 3
:allowcomment:

On a scale from 1 (needs improvement) to 3 (excellent),
how would you rate this chapter?
9 changes: 8 additions & 1 deletion _sources/lectures/TWP30/TWP30_7.rst
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Herramientas de Python
======================

+ Condiciones: ``if``, ``elif``, ``else``
+ Hello
+ Ciclo: ``while``
+ Operador de asignación: ``=``
+ Operador de igualdad: ``==``
Expand Down Expand Up @@ -29,3 +29,10 @@ Ahora solo faltan tus ejercicios


“La vida es como andar en bicicleta. Para mantener el equilibrio, debes seguir moviéndote ”. - Einstein

.. poll:: TWP30
:scale: 3
:allowcomment:

En una escala del 1 (a mejorar) al 3 (excelente),
¿cómo calificaría este capítulo?
9 changes: 8 additions & 1 deletion _sources/lectures/TWP30/TWP30_7_en.rst
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,11 @@ Now all that's left are your exercises
<br/>


"Life is like riding a bicycle. To keep your balance, you must keep moving." - Einstein
"Life is like riding a bicycle. To keep your balance, you must keep moving." - Einstein

.. poll:: TWP30E
:scale: 3
:allowcomment:

On a scale from 1 (needs improvement) to 3 (excellent),
how would you rate this chapter?
7 changes: 7 additions & 0 deletions _sources/lectures/TWP33/TWP33_9.rst
Original file line number Diff line number Diff line change
Expand Up @@ -66,3 +66,10 @@ Herramientas de Python
+ El método ``text.find()`` busca una subcadena.
+ ``float()`` convierte algo a un punto flotante.
+ Bibliotecas: ``urllib.request`` y ``time``.

.. poll:: TWP33
:scale: 3
:allowcomment:

En una escala del 1 (a mejorar) al 3 (excelente),
¿cómo calificaría este capítulo?
9 changes: 8 additions & 1 deletion _sources/lectures/TWP33/TWP33_9_en.rst
Original file line number Diff line number Diff line change
Expand Up @@ -65,4 +65,11 @@ Python Tools
+ ``text[4:9]`` accesses from the fifth to the ninth character.
+ The method ``text.find()`` searches for a substring.
+ ``float()`` converts something to a floating point number.
+ Libraries: ``urllib.request`` and ``time``.
+ Libraries: ``urllib.request`` and ``time``.

.. poll:: TWP33E
:scale: 3
:allowcomment:

On a scale from 1 (needs improvement) to 3 (excellent),
how would you rate this chapter?
7 changes: 7 additions & 0 deletions _sources/lectures/TWP35/TWP35_4.rst
Original file line number Diff line number Diff line change
Expand Up @@ -30,3 +30,10 @@ JSON
texto = urllib.request.urlopen(url).read()
data = json.loads(texto)
print(data["value"]["joke"])

.. poll:: TWP35
:scale: 3
:allowcomment:

En una escala del 1 (a mejorar) al 3 (excelente),
¿cómo calificaría este capítulo?
9 changes: 8 additions & 1 deletion _sources/lectures/TWP35/TWP35_4_en.rst
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,11 @@ JSON
url = "http://api.icndb.com/jokes/random?limitTo=[nerdy]"
text = urllib.request.urlopen(url).read()
data = json.loads(text)
print(data["value"]["joke"])
print(data["value"]["joke"])

.. poll:: TWP35E
:scale: 3
:allowcomment:

On a scale from 1 (needs improvement) to 3 (excellent),
how would you rate this chapter?
11 changes: 11 additions & 0 deletions _sources/lectures/TWP37/TWP37_6.rst
Original file line number Diff line number Diff line change
Expand Up @@ -100,3 +100,14 @@ Usando y ordenando un diccionario

for participante in sorted(puntuaciones, reverse=True):
print(f"{puntuaciones[participante]} obtuvo un puntaje de {participante:.2f}")


.. poll:: TWP37
:scale: 3
:allowcomment:

En una escala del 1 (a mejorar) al 3 (excelente),
¿cómo calificaría este capítulo?



10 changes: 9 additions & 1 deletion _sources/lectures/TWP37/TWP37_6_en.rst
Original file line number Diff line number Diff line change
Expand Up @@ -99,4 +99,12 @@ Using and sorting a dictionary
file.close()

for participant in sorted(scores, reverse=True):
print(f"{scores[participant]} obtained a score of {participant:.2f}")
print(f"{scores[participant]} obtained a score of {participant:.2f}")


.. poll:: TWP37E
:scale: 3
:allowcomment:

On a scale from 1 (needs improvement) to 3 (excellent),
how would you rate this chapter?
8 changes: 8 additions & 0 deletions _sources/lectures/TWP38/TWP38_4.rst
Original file line number Diff line number Diff line change
Expand Up @@ -48,3 +48,11 @@ Recuerde
+ Python es un lenguaje interpretado de alto nivel
+ El intérprete de Python convierte los comandos instrucción por instrucción
a lenguaje máquina


.. poll:: TWP38
:scale: 3
:allowcomment:

En una escala del 1 (a mejorar) al 3 (excelente),
¿cómo calificaría este capítulo?
9 changes: 8 additions & 1 deletion _sources/lectures/TWP38/TWP38_4_en.rst
Original file line number Diff line number Diff line change
Expand Up @@ -44,4 +44,11 @@ Remember
+ Programming languages have a formal syntax.
+ Computers only understand machine language.
+ Python is a high-level interpreted language.
+ The Python interpreter converts instructions command by command into machine language.
+ The Python interpreter converts instructions command by command into machine language.

.. poll:: TWP38E
:scale: 3
:allowcomment:

On a scale from 1 (needs improvement) to 3 (excellent),
how would you rate this chapter?
13 changes: 11 additions & 2 deletions _sources/lectures/TWP40/TWP40_12.rst
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,21 @@ Conversión de grados usando C
C = 5.0 * (F - 32.0) / 9.0;
printf("Celsius: %2.1f\n", C);
}
Conversión de grados usando Python
----------------------------------

.. code-block:: python
F = float(input("Farenheit: "))
C = 5.0 * (F - 32.0) // 9.0
print("Celsius: %2.1f" % C)
print("Celsius: %2.1f" % C)
.. poll:: TWP40
:scale: 3
:allowcomment:

En una escala del 1 (a mejorar) al 3 (excelente),
¿cómo calificaría este capítulo?


9 changes: 8 additions & 1 deletion _sources/lectures/TWP40/TWP40_12_en.rst
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,11 @@ Converting degrees using C
scanf("%f", &F);
C = 5.0 * (F - 32.0) / 9.0;
printf("Celsius: %2.1f\n", C);
}
}
.. poll:: TWP40E
:scale: 3
:allowcomment:

On a scale from 1 (needs improvement) to 3 (excellent),
how would you rate this chapter?
10 changes: 9 additions & 1 deletion _sources/lectures/TWP42/TWP42_3.rst
Original file line number Diff line number Diff line change
Expand Up @@ -337,4 +337,12 @@ Agrupación de datos
print()

# cerrar el cursor
cursor.close()
cursor.close()


.. poll:: TWP42
:scale: 3
:allowcomment:

En una escala del 1 (a mejorar) al 3 (excelente),
¿cómo calificaría este capítulo?
Loading

0 comments on commit d1cf0e8

Please sign in to comment.