Introducción a Python - Clase 5

Quiz
•
Computers
•
University
•
Medium
Enzo Zotti
Used 2+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Para definir una función se utiliza la palabra reservada:
function
No utilizamos palabra reservada
def
void
2.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Las funciones si o si llevan parámetros:
Verdadero
Falso
3.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Para retornar un dato de una función utilizamos:
return
Las funciones no retornan nada
end
4.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Las variables dentro de una función son de ámbito local:
Verdadero
Falso
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Una función retorna por defecto el tipo de dato None:
Verdadero
Falso
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
¿Que sucede en este código?
La funcion saludar retorna ¡Hola Eliana!
La funcion imprime por pantalla ¡Hola nombre!
La funcion no hace nada porque no tiene return
La funcion imprime por pantalla ¡Hola Eliana!
7.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Para capturar y tratar un error en Python utilizamos el bloque:
try-catch
try-except
try-error
Ninguna es correcta
Create a free account and access millions of resources
Similar Resources on Wayground
10 questions
Programación Avanzada II - Parte 5

Quiz
•
University
12 questions
Diseño de Algoritmos Unidad2

Quiz
•
University
6 questions
SOII. Nivel 2 SF

Quiz
•
University
10 questions
EP 2° CODE.ORG

Quiz
•
2nd Grade - University
10 questions
Introducción a Python - Clase 3

Quiz
•
University
7 questions
Introducción a C++

Quiz
•
University
12 questions
Programación

Quiz
•
3rd Grade - University
15 questions
Python Quiz

Quiz
•
University
Popular Resources on Wayground
15 questions
Hersheys' Travels Quiz (AM)

Quiz
•
6th - 8th Grade
20 questions
PBIS-HGMS

Quiz
•
6th - 8th Grade
30 questions
Lufkin Road Middle School Student Handbook & Policies Assessment

Quiz
•
7th Grade
20 questions
Multiplication Facts

Quiz
•
3rd Grade
17 questions
MIXED Factoring Review

Quiz
•
KG - University
10 questions
Laws of Exponents

Quiz
•
9th Grade
10 questions
Characterization

Quiz
•
3rd - 7th Grade
10 questions
Multiply Fractions

Quiz
•
6th Grade