No student devices needed. Know more
14 questions
Below are the valid data types in Python EXCEPT
int
float
char
decimel
_____ data type contain integer values with no decimal such as 1, 200, 999 etc.
int
float
char
String
_____ data type contain integer values with decimal such as 10.1, 5555.0, 33.33 etc.
int
float
char
String
_____ data type contain a character (text) such as A, a, Z, z etc.
int
float
char
String
_____ data type contain a set of characters (text) or word such as Hello, Ali, Car Type etc.
int
float
char
String
_____ data type represent one of two values either True or False such as 1, 0, 2 > 1, 3 < 2.
int
float
char
Boolean
Which if the values below is an integer data type?
1
1.0
1/2
"1"
Which if the values below is a float data type?
2
2.11
2/4
"2.11"
Which if the values below is a char data type?
firstValue
F
1.0
10 > 3
Which if the values below is a string data type?
firstValue
F
1.0
10 > 3
Which if the values below return TRUE if executed?
10 > 3
10 < 3
10 >< 3
10 <> 3
Which if the values below return FALSE if executed?
10 > 3
10 < 3
10 >< 3
10 <> 3
Which if the values below return FALSE if executed?
1
0
-1
-50
Which of the following statement is true between char and string data types?
char data type contain only a character but string data type contain more than one characters
char and string data type can use only one character
char and string is not valid data type
char and string can only be used with number values only
Explore all questions with a free account