Search Header Logo

Intro a Python - TC1028

Authored by Jorge Ramírez Uresti

Computers

University

Used 18+ times

Intro a Python - TC1028
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

¿Como se declara una variable tipo String?

nombre = " Pedro";

nombre = "Pedro"

nombre = 'Pedro';

nombre = pedro

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

¿Como se declara una variable tipo entero?

a = 20

a = "20"

a = 20;

a = "20";

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Si la variable a = 4, y aplicamos el operador de asignación ** 2 el nuevo valor de a es:

16

8

4

32

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Si la variable a = 9 y aplicamos el operador de asignación a%2 el nuevo valor de a es:

1

4.5

2

9

5.

MULTIPLE SELECT QUESTION

30 sec • 1 pt

Media Image

¿Cuál de las siguientes opciones es una variable de tipo Float? (Selecciona todas las correctas)

-7.12

5

'8.2'

10.4

6.

MULTIPLE SELECT QUESTION

30 sec • 1 pt

Media Image

Selecciona todas las variables escritas de forma incorrecta:

numero1

numero 2

perroGrande

9coches

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

¿Qué se despliega en la consola?

edad

(edad)

Tu edad es: 20

20

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?