Fundamentos de Programación en Python
Quiz
•
Information Technology (IT)
•
6th Grade
•
Practice Problem
•
Hard
Luis Castillo
Used 3+ times
FREE Resource
Enhance your content in a minute
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.
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
15 questions
komputasi awan
Quiz
•
University
10 questions
DAS. TEMA 1.1
Quiz
•
9th Grade
15 questions
Mobile Programming - POCC
Quiz
•
University
12 questions
PRAA1 AULA 10-11-12
Quiz
•
11th Grade - University
10 questions
Se liga 1º trimestre 1º Ano
Quiz
•
10th Grade
15 questions
Kennis over Nederland en ICT
Quiz
•
12th Grade - University
15 questions
Pensamento Computacional
Quiz
•
12th Grade
10 questions
Lego Spike & Python - Challenge 3 Quiz
Quiz
•
6th - 8th 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 Information Technology (IT)
20 questions
Context Clues
Quiz
•
6th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade
10 questions
Groundhog Day Trivia Questions
Interactive video
•
3rd - 6th Grade
20 questions
Exponents
Quiz
•
6th Grade
5 questions
Legends, Leaders, & Changemakers: Maya Angelou
Interactive video
•
6th - 8th Grade
15 questions
Distributive Property & Review
Quiz
•
6th Grade
10 questions
Figurative Language
Quiz
•
6th Grade
10 questions
Understanding Poetry and Literary Devices
Interactive video
•
4th - 8th Grade
