
Fundamentals of Python

Quiz
•
Computers
•
University
•
Medium
Jose Ortega
Used 3+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
¿Cómo se define una función en Python?
def nombre_función(parámetros)
define nombre_función(parámetros):
nombre_función(parámetros):
def nombre_función(parámetros):
2.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
¿Qué es un arreglo en Python?
Un arreglo en Python es un solo valor que no puede almacenar varios elementos.
Un arreglo en Python es una colección de elementos que no tienen orden y no se pueden cambiar.
Un arreglo en Python es una colección de elementos que tienen orden y se pueden cambiar.
Un arreglo en Python es un tipo de datos exclusivo para valores numéricos.
3.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
¿Cuál es el propósito de los bucles en Python?
El propósito de los bucles en Python es iterar sobre secuencias y realizar tareas repetitivas de manera eficiente.
Los bucles en Python están diseñados para ejecutar código de manera lineal
El propósito de los bucles en Python es imprimir declaraciones solo una vez
Los bucles en Python se utilizan para crear secuencias aleatorias
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
¿Cuál es la sintaxis para declarar una variable en Python?
variable_name : value
variable_name == value
variable_name = value
value => variable_name
5.
MULTIPLE CHOICE QUESTION
45 sec • 2 pts
Explique el bucle 'while' en Python.
El bucle 'while' en Python ejecuta el código solo una vez independientemente de la condición y luego se termina
El bucle 'while' en Python se utiliza para iterar sobre un rango fijo de valores
El bucle 'while' en Python ejecuta repetidamente un bloque de código siempre que una condición especificada sea verdadera.
El bucle 'while' en Python es similar al bucle 'for' porque hacen lo mismo
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Según el siguiente comando,
tuto = 10
¿De qué tipo de dato es la variable 'tuto'?
Dato estructurado simple
Dato simple entero
Dato simple flotante
Dato estructurado entero
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
¿Cómo se itera sobre los elementos de un arreglo en Python?
for item in my_list:
for i in range(len(my_list)):
for item in range(my_list):
while item in my_list:
Create a free account and access millions of resources
Similar Resources on Wayground
9 questions
EIGRP Redes

Quiz
•
University
10 questions
Estructuras de programación y lógica en Ren'Py

Quiz
•
9th Grade - University
10 questions
Python 2

Quiz
•
University
15 questions
Cuestionario: Fundamentos de Programación

Quiz
•
University
10 questions
Conocimientos en Videojuegos y Unity

Quiz
•
12th Grade - University
10 questions
Prueba de Algoritmo y Programación

Quiz
•
University
11 questions
QUIZ DE GRAFOS Y ARBOLES AA

Quiz
•
University
15 questions
Test de Programación en JAVA EPLP123-1

Quiz
•
University
Popular Resources on Wayground
50 questions
Trivia 7/25

Quiz
•
12th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
11 questions
Negative Exponents

Quiz
•
7th - 8th Grade
12 questions
Exponent Expressions

Quiz
•
6th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
20 questions
One Step Equations All Operations

Quiz
•
6th - 7th Grade
18 questions
"A Quilt of a Country"

Quiz
•
9th Grade