Quiz
Type of Data - Phyton
Este quiz tem tipos de pergunta que abrem no player de sempre.
Perguntas do quiz (3)
1Numeric:
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)- AInteger:
- BFloat:
- CComplex number:
2Data 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.
- AInteger
- BCharacter
- CBoolean
3Sequence 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.- AString:
- BTuple:
- CList:
- DTuple:
- EString:
- FList :
- GList:
- HTuple:
- IString:
Informações
- Descrição
- Type of Data
- Idioma
- Español
- Visualizações
- 150
- Etiquetas
- Avaliação
- Ainda sem avaliações Avalie este quiz