Search Header Logo

Abstracciones procedimentales

Authored by RUTH PATRICIA SANCHEZ MONTERO

Information Technology (IT)

University

Used 17+ times

Abstracciones procedimentales
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

¿Cuál es la forma correcta de declarar una variable de tipo flotante en Python?

float precio = 10.5

precio: float = 10.5

precio = 10.5

float = precio 10.5

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

¿Qué tipo de datos devuelve la expresión 5 > 3 and 4 < 2 en Python?

int

float

bool

str

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

¿Cuál es el resultado de la siguiente operación en Python: 7 % 3?

1

2

0

3

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

¿Qué salida produce este código?
nombre = "Lucía"

print(nombre[0])

a

L

i

Lucía

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

¿Qué hace la función int("12") en Python?

Convierte el número 12 a booleano

Genera un error

Convierte el string "12" a un número entero

Convierte el número 12 a cadena

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

¿Cuál es el operador lógico correcto para evaluar si una persona es mayor de edad y es estudiante?

if edad >= 18 and estudiante:

if edad >= 18 or estudiante:

if edad >= 18 & estudiante:

if edad >= 18 not estudiante:

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

¿Qué salida se obtiene del siguiente código?

x = 10

y = 3

print(x / y)

3

3.0

3.3333333333333335

3.33

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?