Tipos de datos parte 1

Beschreibung

Quiz am Tipos de datos parte 1, erstellt von Desarrollo Académico e Ingeniería am 29/05/2020.
Desarrollo  Académico e Ingeniería
Quiz von Desarrollo Académico e Ingeniería, aktualisiert more than 1 year ago
Desarrollo  Académico e Ingeniería
Erstellt von Desarrollo Académico e Ingeniería vor etwa 4 Jahre
164
0

Zusammenfassung der Ressource

Frage 1

Frage
¿Para qué sirve el comando type( )?
Antworten
  • Para que nos diga el tipo de variable que coloquemos en el argumento de la función type( )
  • Para nada
  • Para confundirnos

Frage 2

Frage
Si se define x=6.0 y le preguntamos a Python >>>type(x) ¿Qué nos mostraría la consola?
Antworten
  • int
  • str
  • float
  • bool

Frage 3

Frage
Si se define x="hola" y le preguntamos a Python >>>type(x) ¿Qué nos mostraría la consola?
Antworten
  • int
  • str
  • float
  • bool

Frage 4

Frage
Si se define x=6 y le preguntamos a Python >>>type(x) ¿Qué nos mostraría la consola?
Antworten
  • float
  • int
  • string
  • list
  • tuple

Frage 5

Frage
Si se define x=True y le preguntamos a Python >>>type(x) ¿Qué nos mostraría la consola?
Antworten
  • dict
  • float
  • int
  • bool

Frage 6

Frage
x=['hola','Pepe', 'José'] Si le preguntamos a Python >>>type(x) ¿Qué nos mostraría la consola?
Antworten
  • tuple
  • dict
  • list
  • bool

Frage 7

Frage
x=('hola','Pepe', 'José') Si le preguntamos a Python >>>type(x) ¿Qué nos mostraría la consola?
Antworten
  • bool
  • range
  • tuple
  • list

Frage 8

Frage
x={'Ernesto':36, 'José':58} Si le preguntamos a Python >>>type(x) ¿Qué nos mostraría la consola?
Antworten
  • int
  • list
  • tuple
  • set
  • dict

Frage 9

Frage
x={'hola','Pepe', 'José'} Si le preguntamos a Python >>>type(x) ¿Qué nos mostraría la consola?
Antworten
  • frozenset
  • list
  • dict
  • set

Frage 10

Frage
x=set(('hola','Pepe', 'José')) X=frozenset(x) Si le preguntamos a Python >>>type(X) ¿Qué nos mostraría la consola?
Antworten
  • set
  • tuple
  • list
  • bool
  • frozenset
Zusammenfassung anzeigen Zusammenfassung ausblenden

ähnlicher Inhalt

Thromboseprophylaxe
tia.weber
LB A, Kapitel 1.2, Firmierung
Stefan Kurtenbach
Wirk Uni Wien Teil 2
Sabrina Lösch
OEKO UniVie
Magdalena Zöschg
Folien: Systemtheorie
tschiggli
FOST 3 - Inferenzstatistik
Kathy H
PuKW STEP6 - Hummel
Salome Jeong
Vetie - Tierzucht & Genetik - Key Learning Questions
Fioras Hu
Projektmanagement Uni Due
Awash Kaul
Vetie - Radiologie Übungs-K
Fioras Hu
GESKO JOUR Karteikarten
Sascha Walter