Preguntas sobre funciones en Python

Preguntas sobre funciones en Python

University

10 Qs

quiz-placeholder

Similar activities

Excel (Preguntas varias)

Excel (Preguntas varias)

University

14 Qs

Prak MC

Prak MC

University

15 Qs

SOII. Gestión ficheros y práctica

SOII. Gestión ficheros y práctica

University

10 Qs

Bermain Gambar

Bermain Gambar

1st Grade - Professional Development

15 Qs

Los periféricos del computador

Los periféricos del computador

1st Grade - Professional Development

9 Qs

Networking Essentials - Test 5

Networking Essentials - Test 5

University

10 Qs

Programación II Parte 5

Programación II Parte 5

University

10 Qs

Evaluación SENA

Evaluación SENA

University

10 Qs

Preguntas sobre funciones en Python

Preguntas sobre funciones en Python

Assessment

Quiz

Computers

University

Practice Problem

Medium

Created by

Jimmy PECHO

Used 6+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

¿Cuál es la función que se usa para mostrar un mensaje en pantalla en Python?

print()

input()

display()

output()

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

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

Muestra un mensaje en pantalla.

Convierte una cadena en un número.

Permite al usuario ingresar datos desde el teclado.

Calcula un valor numérico.

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

¿Qué tipo de datos devuelve input()?

Entero (int)

Flotante (float)

Cadena de texto (str)

Booleano (bool)

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

¿Cuál de las siguientes líneas de código pedirá al usuario su nombre y lo mostrará en pantalla?

print("¿Cuál es tu nombre?")

nombre = print(input("¿Cuál es tu nombre?"))

nombre = input("¿Cuál es tu nombre?"); print("Hola,", nombre)

input("¿Cuál es tu nombre?"); print(nombre)

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

¿Cómo se utiliza input() para mostrar un mensaje de bienvenida que diga "Hola, [nombre]!" después de pedir el nombre del usuario?

input("Hola, nombre")

nombre = input("¿Cuál es tu nombre?"); print("Hola, " + nombre + "!")

nombre = print("Hola, " + nombre + "!")

nombre = input("Hola, " + nombre + "!")

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

¿Qué salida mostrará el siguiente código? nombre = input("¿Cuál es tu nombre? ") print("Hola, " + nombre)

Hola, [nombre ingresado]

¿Cuál es tu nombre?

input("¿Cuál es tu nombre? ")

nombre = input()

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

¿Cuál es el propósito de incluir un mensaje entre comillas dentro de input()?

Para indicar una operación matemática.

Para mostrar un mensaje que guíe al usuario sobre qué ingresar.

Para almacenar directamente una variable.

Para mostrar un número.

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?

Discover more resources for Computers