Search Header Logo

Python Quiz

Authored by Ana P

Computers

1st - 5th Grade

Used 27+ times

Python Quiz
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

17 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

En Python, el tipo de la variable debe ser definido antes de asignar un valor a la variable

Verdadero

Falso

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

En Python para hacer un comentario debemos poner al inicio el siguiente símbolo

//

/*

#

$$

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

En Python podemos asignar a una variable un valor de un cierto tipo y luego asignarle otro valor de distinto tipo

Verdadero

Falso

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

'Hello' será lo mismo que "Hello"

Verdadero

Falso

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

Si nos encontramos estas líneas mientras leemos un código en Python:

Estas definiciones hacen referencia a distintas variables

Estas definiciones hacen referencia a la misma variable

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Que ocurre si aplicamos la expresión string1+string2 ? A dos variables de tipo string

Se repite la string1 string2 veces (string2 debe contener números)

Concatena la string1 con la string2

Da un Syntax Error

Suma string1 a string2 (deben contener números)

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Que se usa en Python para definir un bloque de código, como podría ser el cuerpo de código de un bucle, de un condicional o una función?

Llaves

Paréntesis

Identación (Colocar el código un poco más hacia dentro que el código principal)

Comillas

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

Microsoft

Continue with Microsoft

or continue with

Facebook

Facebook

Apple

Apple

Others

Others

Already have an account?