Aleatorios y funciones

Quiz
•
Computers
•
4th Grade
•
Medium
Eulalio Barrón
Used 2+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Librería que importamos para generar aleatorios en Python.
Random
Randomize
Ran
Randrange
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Comando para generar opciones aleatorias...
Choice
Random
Randrange
Rangerand
3.
FILL IN THE BLANK QUESTION
1 min • 1 pt
Escriba la línea de código para importar toda la librería que genera aleatorios...
4.
FILL IN THE BLANK QUESTION
2 mins • 1 pt
Escriba la línea de código para importar solamente la función randrange de la librería random...
5.
FILL IN THE BLANK QUESTION
2 mins • 1 pt
Escriba línea de código que genera e imprime un número aleatorio entre 10 y 20. Considerar que solo se importó la función randrange de la librería random.
6.
FILL IN THE BLANK QUESTION
2 mins • 1 pt
Escriba línea de código que genera un número aleatorio entre 10 y 20 y se asigna a la variable x. Considerar que se importó la librería random de forma general.
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
x=[‘a’,’b’,’c’,’d’]
for i in range(len(x)):
print("hola")
Observa el código, ¿Cuál es el resultado?
imprime "hola" 5 veces
imprime "hola" 4 veces
imprime los valores de la lista
El código marcaría error.
Create a free account and access millions of resources
Similar Resources on Wayground
12 questions
2B Diagramas de Flujo 1

Quiz
•
4th Grade - University
10 questions
Accesso Remoto

Quiz
•
4th Grade
8 questions
T1028 Sem10

Quiz
•
1st - 5th Grade
15 questions
Programación I

Quiz
•
4th Grade
10 questions
WORD - Hipervinculos, busqueda y multimedia. 3G

Quiz
•
1st - 5th Grade
10 questions
<HTML/>

Quiz
•
4th Grade
11 questions
Estructuras de control

Quiz
•
4th Grade
13 questions
PROGRAMACION ORGANIGRAMAS

Quiz
•
4th Grade
Popular Resources on Wayground
55 questions
CHS Student Handbook 25-26

Quiz
•
9th Grade
10 questions
Afterschool Activities & Sports

Quiz
•
6th - 8th Grade
15 questions
PRIDE

Quiz
•
6th - 8th Grade
15 questions
Cool Tool:Chromebook

Quiz
•
6th - 8th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
20 questions
Bullying

Quiz
•
7th Grade
18 questions
7SS - 30a - Budgeting

Quiz
•
6th - 8th Grade