
Python funciones
Authored by MANUEL DE LA CRUZ CHAVES MAZA
Professional Development
5th Grade
Used 33+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
9 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
¿Con qué palabra se especifica el valor que queremos que la función nos devuelva?
return
result
def
give
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Dada la siguiente función, ¿Cuál es/son sus parámetros?
c, d
a, b, c, d, resultado
resultado
a, b
3.
MULTIPLE SELECT QUESTION
30 sec • 1 pt
Si queremos importar la función randint del módulo random, ¿cuál es/son formas correctas de hacerlo, y de luego utilizar la función?
import random
a = random.randint(1,10)
from random import randint
a = randint(1,10)
from random import *
a = randint(1,10)
from random import *
a = random.randint(1,10)
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
¿Qué hace la siguiente función?
Retorna el número de x dividido en 10.
Siempre retorna 0
Retorna el número de dígitos del número x
Retorna un dígito del número x
5.
MULTIPLE SELECT QUESTION
30 sec • 1 pt
Cuál/es de las siguientes es una definición de función que SÍ es válida?
def blabla():
def m_90(a,b,c,d,e,f):
def hola(chao):
def while(x,y):
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
¿Cuál código es correcto para una función que reciba un número N y entregue 1+2+3+4+...+N?
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Indica cuál es la línea de código incorrecta en la siguiente función.
def f(x,y):
print("Funcion f")
return x**2+y**2
print("Final de la función")
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?
Similar Resources on Wayground
10 questions
Documentos en el Comercio Internacional
Quiz
•
1st - 5th Grade
10 questions
Equipo de salud (repaso)
Quiz
•
KG - Professional Dev...
10 questions
LIMPIEZA Y DESINFECCIÓN
Quiz
•
1st - 5th Grade
10 questions
Derecho Procesal Civil
Quiz
•
1st - 10th Grade
10 questions
PROGRAMACION MODULAR DE VECTORES Y MATRICES
Quiz
•
1st - 5th Grade
10 questions
ARBOL DE DECISIONES
Quiz
•
1st - 5th Grade
10 questions
INDUCCIÒN
Quiz
•
1st - 10th Grade
10 questions
Entrevistas por competencias
Quiz
•
5th Grade
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade
Discover more resources for Professional Development
25 questions
Multiplication Facts
Quiz
•
5th Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
10 questions
Groundhog Day Trivia Questions
Interactive video
•
3rd - 6th Grade
10 questions
Groundhog Behavior and Hibernation Facts
Interactive video
•
3rd - 5th Grade
10 questions
Multiplying Fractions
Quiz
•
5th Grade
10 questions
Understanding Poetry and Literary Devices
Interactive video
•
4th - 8th Grade
10 questions
Understanding Equivalent Fractions
Interactive video
•
3rd - 5th Grade
20 questions
The Water Cycle
Quiz
•
5th Grade