logo

Crowdly

Browser

Add to Chrome

1 DAW A - Programación

Looking for 1 DAW A - Programación test answers and solutions? Browse our comprehensive collection of verified answers for 1 DAW A - Programación at educacionadistancia.juntadeandalucia.es.

Get instant access to accurate answers and detailed explanations for your course questions. Our community-driven platform helps students succeed!

RA1.g — Observa el siguiente código Python. ¿Qué se mostrará por pantalla?

lenguajes: list[str] = ["Python", "Java", "Kotlin"]

print("python" in lenguajes)

❌
❌
❌
✅
View this question

RA1.h — Observa el siguiente código Python. ¿Qué valor se mostrará por pantalla?

precio: float = 19.99

resultado: int = int(precio)

print(resultado)

❌
✅
❌
❌
View this question

RA1.i — Un alumno quiere documentar la siguiente función Python mediante una docstring. ¿Cuál de las siguientes opciones describe mejor su finalidad?

DESCUENTO = 0.15

def calcular_precio_final(precio: float) -> float:

return precio * (1 - DESCUENTO)

❌
✅
❌
❌
View this question

RA1.h — Observa el siguiente código Python. ¿Qué resultado se mostrará por pantalla?

valor1: bool = bool(0)

valor2: bool = bool("False")

print(valor1, valor2)

❌
❌
❌
✅
View this question

RA1.i — Observa el siguiente fragmento de Python. ¿Qué afirmación es correcta?

MAX_INTENTOS = 3 # Número máximo de intentos permitidos

intentos: int = 1

intentos += 1 # Incrementamos el contador

❌
❌
✅
❌
View this question

RA1.i — Observa el siguiente código Python. ¿Qué afirmación es correcta?

mensaje: str = "Python # programación"

# mensaje = "Java"

print(mensaje)

✅
❌
❌
❌
View this question

RA1.h — Observa el siguiente código Python. ¿Qué afirmación es correcta?

numero1: int = 5

numero2: float = 2.0

resultado = numero1 + numero2

❌
❌
❌
✅
View this question

RA1.h — Observa el siguiente código Python. ¿Qué valor contiene la variable resultado?

numero: str = "15"

resultado: int = int(numero) + 5

print(resultado)

❌
❌
❌
✅
View this question

RA1.h — Observa el siguiente código Python. ¿Qué sucede al ejecutarlo?

precio: str = "12.5"

total: float = float(precio) * 2

print(total)

❌
❌
❌
✅
View this question

RA1.f — Observa las siguientes expresiones de Python. ¿Cuál contiene exclusivamente literales de tipo str?

❌
❌
❌
✅
View this question

Want instant access to all verified answers on educacionadistancia.juntadeandalucia.es?

Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!

Browser

Add to Chrome