Search Header Logo

Repaso Unidades 1

Authored by diplomadodatos uba

Information Technology (IT)

Professional Development

Used 4+ times

Repaso Unidades 1
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

¿Cuál es la función para obtener la longitud de una lista?

size(lista)

length(lista)

len(lista)

count(lista)

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

¿Qué operador se usa para comprobar si un elemento está en una lista?

in

==

exist

has

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

¿Qué método usamos para agregar elementos a una lista en Python?

add()

push()

append()

insert()

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

¿Cómo se convierte un número entero a una cadena en Python?

convertToString(10)

str(10)

toString(10)

string(10)

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

¿Cuál es la salida de type(10.5) en Python?

int

float

double

decimal

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

¿Cómo se define una cadena de texto en Python?

texto = "Hola"

texto = Hola

texto = <Hola>

texto: str = "Hola"

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

¿Qué ocurre si intentamos dividir por cero en Python?

Se imprime 0

Se lanza un ZeroDivisionError

Se devuelve None

Se ignora el error

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?