Datatypes Flashcards

You may prefer our related Brainscape-certified flashcards:
1
Q

Integers

A

All positive and negative numbers e.g. 234, -19

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

Real/Floating point numbers

A

Any number with a fractional component e.g. 0.253

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

Char

A

A character or datatype that can hold any single letter, digit, punctuation marks, formatting or other control codes e.g. ?, G etc.

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

Strings

A

Primitive or composite, can include any number of letters, digits, punctuation marks, formatting or control codes e.g. Hello, £19.99.

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

Boolean

A

A logical character or a datatype can either be set to true/false, it is used as the decision points or logical flags in programming.

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