Search Header Logo

Prueba saber grado décimo

Authored by Victor Moreno

Information Technology (IT)

10th Grade

Used 6+ times

Prueba saber grado décimo
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

30 sec • 1 pt

¿Cuál es la salida del siguiente código en Python?

python

print("Hola" + "Mundo")

Hola Mundo

HolaMundo

"Hola"+"Mundo"

Error de sintaxis

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

¿Qué hace la función len() en Python?

Convierte un texto a mayúsculas.

Cuenta el número de caracteres en una cadena o elementos en una lista.

Suma dos números.

Detiene la ejecución del programa.

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

¿Cuál es el resultado de este código?

python

for i in range(3):
print(i)

0 1 2

1 2 3

3 3 3

range(3)

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

¿Cómo se captura un número entero ingresado por el usuario en Python?

input("Ingrese un número")

int(input("Ingrese un número"))

print(input("Ingrese un número"))

float("Ingrese un número")

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

¿Qué imprime este código?

python

texto = "Python"
print(len(texto))

P y t h o n

6

Python

5

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

¿Cuál es el error en este bucle for?

python

for x in 5: print(x)

Falta range() para iterar.

Debería ser while x in 5:.

No hay error, funciona correctamente.

Falta el signo : al final.

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

¿Qué hace este código?

python

nombre = input("¿Cómo te llamas? ")
print("Hola,", nombre)

Suma dos números.

Pide el nombre al usuario y lo saluda.

Genera un error porque falta int().

Imprime "Hola, nombre" literalmente.

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?