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
10 questions
Ôn tập biến và lệnh gán trong Python

Quiz
•
10th Grade
11 questions
prgramming

Quiz
•
6th Grade - University
15 questions
Review materi Kelas 11

Quiz
•
12th Grade
10 questions
Quiz sobre Listas em Python

Quiz
•
12th Grade
10 questions
Cuestionario N°1 - Arquitectura Web

Quiz
•
10th Grade
10 questions
Aula 4 - IC

Quiz
•
University
15 questions
Variables, tipos de datos y operadores

Quiz
•
8th Grade
10 questions
Quiz Meet 1 Mini SC Programing

Quiz
•
University
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

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

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

Interactive video
•
10th - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

Lesson
•
6th - 8th Grade
Discover more resources for Information Technology (IT)
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
9 questions
Tips & Tricks

Lesson
•
6th - 8th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
20 questions
Getting to know YOU icebreaker activity!

Quiz
•
6th - 12th Grade
10 questions
Understanding the Scientific Method

Interactive video
•
5th - 8th Grade
20 questions
Figurative Language Review

Quiz
•
6th Grade
20 questions
Run-On Sentences and Sentence Fragments

Quiz
•
3rd - 6th Grade