2.1.1 The use of, and need for, data types Flashcards

1
Q

State:

“True or false value”

A

Boolean

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

Define:

Character

A

“Single character which can be a letter, number or symbol”

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

Define:

Integer

A

“Whole numbers, positive or negative”

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

State:

“Any number, with or without decimal places, positive or negative”

A

Real/Float

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

Define:

String

A

“A group of characters stored together”

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

Define:

Immutable

A

“When the value of a number data type changes, a new object is created”

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