Search Header Logo

M2.Variable y Expresiones

Authored by Andrés Moreno

Computers

12th Grade

Used 1+ times

M2.Variable y Expresiones
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

20 questions

Show all answers

1.

MULTIPLE SELECT QUESTION

30 sec • 1 pt

¿Cuáles de las siguientes expresiones son equivalentes a x != y?

x > y or x < y

x > y and x < y

not (x == y)

x >= y or x <= y

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

¿Cuánto es min(5, 3, 2, 1, 4)?

3

5

1

2

4

3.

MULTIPLE SELECT QUESTION

30 sec • 1 pt

Dado el conjunto s = {'1', '2', '3', '4'}, ¿cuáles de las siguientes expresiones son erróneas?

s[3] = 45

print(max(s))

print(s[3])

print(len(s))

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Suponiendo que list1 = [3, 4, 5, 20, 5, 25, 1, 3], ¿cuánto vale list1 después de ejecutar list1.sort()?

[25, 20, 5, 5, 4, 3, 3, 1]

[1, 3, 3, 4, 5, 5, 20, 25]

[3, 4, 5, 20, 5, 25, 1, 3]

[1, 3, 4, 5, 20, 5, 25, 3]

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Un comentario de línea en Python:

Comienza con #

Comienza con //

Comienza con $$

Se coloca entre /* y */

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

La función pow y el operador ** son equivalentes.

Verdadero

Falso

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

¿Cuánto es math.radians(30) * 6?

0.5

3.141592653589793

6.283185307179586

1.5707963267948966

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?