
Python 3 - Ciclos y Funciones
Quiz
•
Engineering
•
12th Grade
•
Practice Problem
•
Medium
ABRAHAM FLORES
Used 1+ times
FREE Resource
Enhance your content in a minute
14 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
¿Qué imprime este código? for i in range(3):
print(i)
1 2 3
0 1 2
0 1 2 3
1 2
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
¿Cuál es la salida del siguiente código? x = 10 if x > 5: print("Mayor que 5") else: print("Menor o igual a 5")
Mayor que 5
Menor o igual a 5
Nada
Error
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
¿Cuál es la sintaxis correcta para definir una función en Python?
function mi_funcion():
def mi_funcion:
def mi_funcion():
func mi_funcion():
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
¿Qué imprime este código? def saludar(): print("Hola mundo") saludar()
saludar
Hola mundo
Error
Nada
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
¿Para qué se utiliza la palabra clave def en Python?
Para definir un ciclo
Para crear una función
Para comparar valores
Para declarar una variable
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
¿Qué imprime este código? for letra in "hola": print(letra)
h o l a
hola
h
Error
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
¿Cuál es el resultado del siguiente código? def sumar(a, b): return a + b print(sumar(3, 4))
34
7
a + b
Error
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
13 questions
prueba MRU
Quiz
•
11th Grade - University
10 questions
Verifica sul condizionamento
Quiz
•
12th Grade
10 questions
Intro to Coding
Quiz
•
12th Grade - University
15 questions
Quizz 1.1 Elaboracion de piezas mecanicas en 2D
Quiz
•
12th Grade
12 questions
Manejo Defensivo - ACI INGENIERÍA
Quiz
•
12th Grade - University
18 questions
Conocimientos en Ciberseguridad
Quiz
•
12th Grade
15 questions
Quiz comparacion MER-MR-MOR
Quiz
•
12th Grade
15 questions
Estructuras de Datos: Desafío Estudiantil
Quiz
•
12th 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 Engineering
20 questions
-AR -ER -IR present tense
Quiz
•
10th - 12th Grade
12 questions
Add and Subtract Polynomials
Quiz
•
9th - 12th Grade
13 questions
Model Exponential Growth and Decay Scenarios
Quiz
•
9th - 12th Grade
27 questions
7.2.3 Quadrilateral Properties
Quiz
•
9th - 12th Grade
7 questions
Amoeba Sisters Dihybrid Cross Punnett Square
Interactive video
•
9th - 12th Grade
10 questions
The Holocaust: Historical Overview
Interactive video
•
9th - 12th Grade
10 questions
Key Features of Quadratic Functions
Interactive video
•
8th - 12th Grade
11 questions
Exponent Quotient Rules A1 U7
Quiz
•
9th - 12th Grade
