Data types Flashcards
1
Q
Character
A
single letter, number or punctuation
e.g.
T
8
?
2
Q
String
A
A sequence of characters
e.g.
Harry Waters
14:20
Ice Age 4
3
Q
Integer
A
A whole number
e.g.
567
-345
34567
4
Q
Real
A
A decimal number
e.g.
56.7
-3.6
5
Q
Boolean
A
An answer that only has two possible values
e.g.
True / False
Yes / No
1 / 0
6
Q
A