Data types Flashcards

1
Q

Character

A

single letter, number or punctuation
e.g.
T
8
?

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

String

A

A sequence of characters
e.g.
Harry Waters
14:20
Ice Age 4

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Integer

A

A whole number
e.g.
567
-345
34567

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Real

A

A decimal number
e.g.
56.7
-3.6

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Boolean

A

An answer that only has two possible values
e.g.
True / False
Yes / No
1 / 0

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q
A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly