Search Header Logo

Python 1

Authored by Alexandra Estefania Arias Torres

Computers

University

Used 3+ times

Python 1
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

11 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

Media Image

¿Qué es una variable en Python?

  • Un espacio en memoria que almacena datos.

  • Un comando para mostrar mensajes en pantalla.

Un error en el código

Un tipo de dato en Python

2.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

¿Cómo se declara una variable llamada nombre y le asignas el valor "Juan"?

  • nombre == "Juan"

  • nombre = "Juan"

  • nombre := "Juan"

  • nombre -> "Juan"

3.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

¿Qué tipos de datos existen en Python?

  • Solo cadenas de texto (str).

  • Enteros (int) y cadenas de texto (str).

  • Enteros (int), cadenas de texto (str), flotantes (float) y booleanos (bool).

  • Solo enteros (int) y booleanos (bool)

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

¿Cuál es el resultado de la siguiente operación?

12 / 6

"2"

2.0

2

"2.0"

5.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Media Image

Qué tipo de dato usaría para representar lo siguiente:

  • - Probabilidad de pasar una materia

int

str

float

bool

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

¿Qué función se utiliza para mostrar un mensaje o valor en la pantalla en Python?

show( )

display ( )

print ( )

message ( )

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

¿Cuál es la sintaxis correcta para mostrar el contenido de una variable x usando print?

  • print[x]

  • print("x")

  • print(x)

  • print x

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?