Data types Flashcards
What is an integer?
A whole number
What is an example of an integer?
An example of an integer is:
1475, 0 , -3
What is a real number?
A real number is a number with a decimal point.
What is an example of a real number?
an example is:
2.3 or 5.59
What is Boolean?
A Boolean value expresses a truth value e.g. TRUE or FALSE
What is Character?
It is a single alphabetic or numeric character.
What is an example of a character?
a , 4, f, 9
What is a string?
A string is a sequence of one or more characters.
What is an example of a string?
LJSKSNA24, Hello world, MEMEgamer
basically a sequence of one or more characters
What data type is this?
True
Boolean
What data type is this?
-5
Integer
What data type is this?
āJā
character
What data type is this?
56.34
Real
What data type is this?547
string