Fundamentos de Python

Fundamentos de Python

12th Grade

15 Qs

quiz-placeholder

Similar activities

PRUEBA FINAL COMPUTACION

PRUEBA FINAL COMPUTACION

1st Grade - University

18 Qs

Thinglink

Thinglink

9th - 12th Grade

10 Qs

Quiz Informatica Jornadas Orientación Asunción

Quiz Informatica Jornadas Orientación Asunción

12th Grade - University

10 Qs

RECAPS

RECAPS

12th Grade

10 Qs

Online Platform Block Q

Online Platform Block Q

11th - 12th Grade

20 Qs

PRE-ASSESSMENT ETECH  M1

PRE-ASSESSMENT ETECH M1

12th Grade

10 Qs

Technology Week HTG Quiz - Monday

Technology Week HTG Quiz - Monday

7th - 12th Grade

10 Qs

Quiz on Misinformation and Bias

Quiz on Misinformation and Bias

10th Grade - University

18 Qs

Fundamentos de Python

Fundamentos de Python

Assessment

Quiz

Computers

12th Grade

Practice Problem

Medium

Created by

Jorge De Lara Hernández

Used 2+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

¿Qué estructura se utiliza para tomar decisiones en Python?

Estructuras de control 'if', 'elif' y 'else'

Clases y objetos

Funciones y métodos

Estructuras de repetición 'for' y 'while'

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Escribe un ejemplo de una estructura if-else en Python.

if x >= 0: print('x es positivo') else: print('x es negativo')

if x > 10: print('x es mayor que 10') else: print('x es 10 o menor')

if x == 10: print('x es exactamente 10') else: print('x no es 10')

if x < 5: print('x es menor que 5') else: print('x es 5 o mayor')

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

¿Qué palabra clave se utiliza para iniciar un bucle for en Python?

loop

foreach

wile

for

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

¿Cómo se define un bucle while en Python?

Un bucle while se define con 'while condición: bloque_de_código'.

Un bucle while se define con 'for condición: bloque_de_código'.

Un bucle while se define con 'repeat condición: bloque_de_código'.

Un bucle while se define con 'loop condición: bloque_de_código'.

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

¿Qué tipo de datos se utiliza para almacenar texto en Python?

int

float

str

list

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

¿Cómo se accede a un elemento de un array en Python?

Se accede a un elemento de un array usando array[indice].

Se accede a un elemento de un array usando array:indice.

Se accede a un elemento de un array usando array[indice+1].

Se accede a un elemento de un array usando array{indice}.

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

¿Qué es una condición anidada? Da un ejemplo.

if (a == 5) { // hacer algo }

if (a < 10) { // hacer algo }

if (b > 5) { if (a == 10) { // hacer algo } }

Un ejemplo de condición anidada es: if (a > 10) { if (b < 5) { // hacer algo } }.

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?