Fundamentos de Programación en Python

Quiz
•
Information Technology (IT)
•
6th Grade
•
Hard
Luis Castillo
Used 3+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
¿Qué es una variable en Python?
Una variable en Python es un método para manipular cadenas.
Una variable en Python es un espacio en memoria que almacena datos y se le asigna un nombre.
Una variable en Python es un tipo de dato específico.
Una variable en Python es un comando para ejecutar funciones.
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
¿Cuáles son los tipos de datos básicos en Python?
string, number, boolean, collection
char, byte, array, object
integer, decimal, character, map
int, float, str, bool, list, tuple, set, dict
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
¿Qué estructura de control se utiliza para tomar decisiones en Python?
for, while, do
if, elif, else
try, except, finally
switch, case, break
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
¿Cómo se define una función en Python?
function nombre_funcion(parametros) { cuerpo_de_la_funcion }
nombre_funcion(parametros) => cuerpo_de_la_funcion
def nombre_funcion: cuerpo_de_la_funcion
def nombre_funcion(parametros): cuerpo_de_la_funcion
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
¿Qué es una lista en Python y cómo se crea?
Se define como: mi_lista = elemento1, elemento2, elemento3
Se crea utilizando la función: crear_lista(elemento1, elemento2, elemento3)
Se crea con la sintaxis: mi_lista = {elemento1, elemento2, elemento3}
Se crea con la sintaxis: mi_lista = [elemento1, elemento2, elemento3]
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
¿Qué es un diccionario en Python y para qué se utiliza?
Una estructura de datos que solo almacena números enteros.
Un conjunto de funciones que permiten manipular cadenas de texto.
Un diccionario en Python es una colección de pares de clave-valor que se utiliza para almacenar y acceder a datos de manera eficiente.
Una lista de elementos ordenados que se utiliza para almacenar datos.
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
¿Cuál es la diferencia entre un bucle 'for' y un bucle 'while'?
La diferencia principal es que 'for' itera un número específico de veces, y 'while' itera mientras una condición sea verdadera.
El bucle 'for' no puede tener condiciones, mientras que 'while' siempre las tiene.
Ambos bucles son idénticos y se pueden usar indistintamente.
El bucle 'for' se usa solo en arrays, mientras que 'while' se usa en objetos.
Create a free account and access millions of resources
Similar Resources on Wayground
15 questions
Lista no Scratch 9°ano

Quiz
•
9th Grade
15 questions
Python String Methods Quiz

Quiz
•
10th Grade
10 questions
TEST #08

Quiz
•
University
10 questions
Python

Quiz
•
7th Grade
11 questions
Dasar-Dasar Koding dan Kecerdasan Artifisial

Quiz
•
11th Grade
11 questions
Python_Recap_GGITSummerCamp25

Quiz
•
9th Grade
14 questions
Quiz sobre HTML

Quiz
•
11th Grade
12 questions
[Quiz] Python Function

Quiz
•
University
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Information Technology (IT)
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
10 questions
Video Games

Quiz
•
6th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
10 questions
Fast Food Slogans

Quiz
•
6th - 8th Grade
4 questions
End-of-month reflection

Quiz
•
6th - 8th Grade
20 questions
Adding and Subtracting Integers

Quiz
•
6th Grade