Data types Flashcards

1
Q

What is an integer?

A

A whole number

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

What is an example of an integer?

A

An example of an integer is:

1475, 0 , -3

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

What is a real number?

A

A real number is a number with a decimal point.

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

What is an example of a real number?

A

an example is:

2.3 or 5.59

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

What is Boolean?

A

A Boolean value expresses a truth value e.g. TRUE or FALSE

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

What is Character?

A

It is a single alphabetic or numeric character.

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

What is an example of a character?

A

a , 4, f, 9

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

What is a string?

A

A string is a sequence of one or more characters.

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

What is an example of a string?

A

LJSKSNA24, Hello world, MEMEgamer

basically a sequence of one or more characters

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

What data type is this?

True

A

Boolean

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

What data type is this?

-5

A

Integer

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

What data type is this?

ā€˜Jā€™

A

character

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

What data type is this?

56.34

A

Real

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

What data type is this?547

A

string

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