Datatypes Flashcards
1
Q
Integers
A
All positive and negative numbers e.g. 234, -19
2
Q
Real/Floating point numbers
A
Any number with a fractional component e.g. 0.253
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.
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.
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.