Variables Complejas Python

Variables Complejas Python

University

10 Qs

quiz-placeholder

Similar activities

Code Twisters Round 1 Demo

Code Twisters Round 1 Demo

University

10 Qs

Mastering Python Control Flow

Mastering Python Control Flow

University

15 Qs

Java_Quiz_Part_2

Java_Quiz_Part_2

University

12 Qs

Quiz N1 C2

Quiz N1 C2

University

5 Qs

Python_Quiz_1

Python_Quiz_1

University

10 Qs

Python_MCQ_2

Python_MCQ_2

University

15 Qs

Ôn tập HKI Công nghệ - Khối 4

Ôn tập HKI Công nghệ - Khối 4

4th Grade - University

10 Qs

Cuestionario sobre la Web 2.0

Cuestionario sobre la Web 2.0

University

15 Qs

Variables Complejas Python

Variables Complejas Python

Assessment

Quiz

Information Technology (IT)

University

Medium

Created by

Joan Martí

Used 1+ times

FREE Resource

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

¿Qué estructura de datos en Python permite almacenar información de distinto tipo?

Las listas

Las tuplas

Los diccionarios

Todas las opciones son correctas

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

En la lista mylist = [10,20, 30] ¿cómo se mostraría el valor 30?

print(mylist[3])

print(mylist(3))

print(mylist[2])

print(mylist(2))

3.

MULTIPLE SELECT QUESTION

30 sec • 1 pt

La forma correcta de escribir una tupla es:

tupla = 1, 2.5, 'Visual Studio Code'

tupla = [1, 2.5, 'Visual Studio Code']

tupla = {1, 2.5, 'Visual Studio Code'}

tupla = (1, 2.5, 'Visual Studio Code')

4.

MULTIPLE CHOICE QUESTION

1 min • 2 pts

Media Image

¿Qué devuelve el siguiente código?

[1, 2, 5, 3]

[1, 2, 5, 1, 2, 3]

[1, 2, 3, 1, 2, 3]

[2, 4, 6]

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

¿Qué devuelve el siguiente código?

{'a': 2, 'b': 1, 'c': 3}

{'a': 1, 'b': 2, 'c': 3}

{'a': 2, 'b': 1}

{'b': 2, 'a': 1, 'c': 3}

6.

MULTIPLE CHOICE QUESTION

1 min • 2 pts

Media Image

¿Cuál es la salida de este código?

[[1, 2], [3, 4], [5, 6]]

[[9, 2], [3, 4], [5, 6]]

[[1, 2], [9, 4], [5, 6]]

[[9, 2], [9, 4], [5, 6]]

7.

MULTIPLE CHOICE QUESTION

1 min • 2 pts

Media Image

¿Qué devuelve el siguiente código?

(1, 2, 3, 10, 20)

(2, 3, 4, 5, 10, 20)

(2, 3, 4, 5)

(2, 3, 10, 20)

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?