Search Header Logo

Introducción a Python - Clase 7

Authored by Enzo Zotti

Computers

University

Used 2+ times

Introducción a Python - Clase 7
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

20 sec • 1 pt

Una lista es un tipo de estructura de datos que se utiliza para almacenar una colección ordenada de elementos.

Verdadero

Falso

2.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Las listas son estructuras de datos inmutables.

Verdadero

Falso

3.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Media Image

¿Qué imprimirá este código?

12

Gomez

Generará un

IndexError

True

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

¿Qué imprimirá este código?

2

[1, 3, 2]

[2]

[2, 3]

5.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Media Image

Este codigo generará un error

Verdadero

Falso

6.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

¿Cuál de las siguientes opciones es la forma correcta de obtener la longitud de una lista en Python?

length(lista)

size(lista)

count(lista)

len(lista)

7.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Supongamos que tienes la siguiente lista en Python: mi_lista = [1, 2, 3, 4, 5].

¿Cómo se puede agregar el valor 6 al final de la lista?

my_list.insert(6)

my_list.append(6)

my_list.add(6)

my_list.extend(6)

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?

Discover more resources for Computers