Type of Data - Phyton

Description

Type of Data
JML - GILDARDO ALONSO CORTES GALLO
Quiz by JML - GILDARDO ALONSO CORTES GALLO, updated more than 1 year ago
JML - GILDARDO ALONSO CORTES GALLO
Created by JML - GILDARDO ALONSO CORTES GALLO almost 4 years ago
131
0

Resource summary

Question 1

Question
Numeric: A numeric value is any representation of data which has a numeric value. Python identifies three types of numbers: [blank_start]Integer:[blank_end] Positive or negative whole numbers (without a fractional part) [blank_start]Float:[blank_end] Any real number with a floating point representation in which a fractional component is denoted by a decimal symbol or scientific notation [blank_start]Complex number:[blank_end] A number with a real and imaginary component represented as x+yj. x and y are floats and j is -1(square root of -1 called an imaginary number)
Answer
  • Integer:
  • Float:
  • Complex number:

Question 2

Question
Data with one of two built-in values True or False. Notice that 'T' and 'F' are capital. true and false are not valid booleans and Python will throw an error for them.
Answer
  • Integer
  • Character
  • Boolean

Question 3

Question
Sequence Type A sequence is an ordered collection of similar or different data types. Python has the following built-in sequence data types: [blank_start]String:[blank_end] is a collection of one or more characters put in single, double or triple quotes. [blank_start]List :[blank_end] is an ordered collection of one or more data items, not necessarily of the same type, put in square brackets. [blank_start]Tuple:[blank_end] is an ordered collection of one or more data items, not necessarily of the same type, put in parentheses.
Answer
  • String:
  • Tuple:
  • List:
  • Tuple:
  • String:
  • List :
  • List:
  • Tuple:
  • String:
Show full summary Hide full summary

Similar

Test Diagnóstico de Informática Básica
victorlobato2009
TECNOLOGÍA TAREA
Denisse Alcalá P
Materiales de construccion
Diana Woolfolk
INSTRUMENTOS DE MEDIDAS Y SIMBOLOGÍA ELECTRICA - VOLTAJE.
Teresa Villa
Leyes de Kirchhoff (Voltaje y corriente)
dianamardp
DISPOSITIVOS DE ALMACENAMIENTO
Esteban Bravo3B
tema 6 : ELECTRÓNICA
alejandrauscola
20 preguntas sobre sistemas operativos
esmeraldameza100
codigos QR
Cristina Padilla
Curso Basico De Android
manrongel
Historia de la Ingeniería
Camila González