2.3.1: understand the need for, and understand how to use, data types (integer, real, Boolean, char)
Keyword | Definition |
---|---|
Boolean | a type of data which is either True or False |
Casting | converting from one data type to another |
Char | a single digit, letter or punctuation mark (e.g. *) |
Integer | type of data which is a whole number (e.g. 1) |
Real | type of data which is a number that's got a decimal point (e.g. 1.432). Also known as a float |