
A4 IIIB - Funciones PSeInt & Python
Authored by Allan Ruiz
Computers
10th Grade
Used 18+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
10 questions
Show all answers
1.
FILL IN THE BLANK QUESTION
1 min • 1 pt
Modularidad en programación.
Es un bloque de código reutilizable que realiza una tarea específica. Permite dividir programas complejos en partes más pequeñas y manejables, mejorando la legibilidad, mantenibilidad y eficiencia del código. Reciben entradas (parámetros o argumentos), realizan operaciones, y opcionalmente devuelven un resultado.
Se debe leer el concepto y escribir la respuesta del mismo.
2.
FILL IN THE BLANK QUESTION
1 min • 1 pt
Modularidad en PSeInt.
La función calcular recibe los parámetros precio y cantidad para retornar la variable total.
Se debe analizar el código y completarlo.
3.
FILL IN THE BLANK QUESTION
1 min • 1 pt
Modularidad en PSeInt.
La función es_par recibe el parámetro num para retornar la variable par.
Se debe analizar el código y completarlo.
4.
FILL IN THE BLANK QUESTION
1 min • 1 pt
Modularidad en PSeInt.
La función convertir recibe el parámetro precio_d para retornar la variable precio_q.
Se debe analizar el código y completarlo.
5.
FILL IN THE BLANK QUESTION
1 min • 1 pt
Modularidad en PSeInt.
La función promediar recibe como parámetros n1, n2, n3 y n4 para calcular el promedio de notas recibidas.
Se debe analizar el código y completarlo.
6.
FILL IN THE BLANK QUESTION
1 min • 1 pt
Modularidad en Python.
La función square_root recibe como parámetros n1 y n2 para calcular sus raices cuadradas.
Se debe analizar el código y completarlo.
7.
FILL IN THE BLANK QUESTION
1 min • 1 pt
Modularidad en Python.
La función calculate_total recibe como parámetros price y quantity para devolver el total a pagar.
Se debe analizar el código y completarlo.
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?