3.2.1 - Data types Flashcards

(6 cards)

1
Q

Integer

A

Whole number, positive or negative, without any decimal part.​

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

Real

A

Any number that includes a fractional or decimal part.

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

Boolean

A

Data type that can hold one of two values: true or false.

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

Character

A

A single letter, digit, or symbol.

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

String

A

A sequence of characters, such as letters, numbers, or symbols.​

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

Data type

A

Defines the kind of data a variable can hold

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