Search Header Logo

Quiz Python 'Operadores y String'

Authored by Leidy Coronel

Computers

Professional Development

Used 2+ times

Quiz Python 'Operadores y String'
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 CHOICE QUESTION

15 mins • 1 pt

Determine el resultado de la siguiente instrucción Python:

>>> print (-1+2)

  • cero

1

-1

2

2.

MULTIPLE CHOICE QUESTION

15 mins • 1 pt

Media Image

¿Es posible definir una cadena de string utilizando una comilla doble y comilla simple en una misma cadena. Tal como se muestra en la imagen?

Verdadero

Falso

3.

MULTIPLE CHOICE QUESTION

15 mins • 1 pt

La salida de la siguiente instrucción Python es:

>>> print(1+ 2 + 3 + 4 + 5 * 2)

30

25

20

15

4.

MULTIPLE CHOICE QUESTION

15 mins • 1 pt

Media Image

¿Es posible definir un string utilizando comillas triples?

Verdadero

Falso

5.

MULTIPLE CHOICE QUESTION

15 mins • 1 pt

¿Cuál es el resultado que se obtiene al ejecutar esta instrucción Python?:

>>> print(1+ 2 + 3 + (4 + 5) * 2)

26

18

24

22

6.

MULTIPLE CHOICE QUESTION

15 mins • 1 pt

¿Qué codificación utiliza Python 3 para los strings?

ASCII

UTF-8

UNICODE

LATIN-1

7.

MULTIPLE CHOICE QUESTION

15 mins • 1 pt

El resultado de la siguiente operación nos devuelve un número de tipo integer:

>>> print(10/5)

Verdadero

Falso

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?