Subtopics
Unlock all subtopics
UpgradeRevision Method
Data Types - Revision Notes
Revision Notes
Data Types
- **Integer**: Whole numbers (positive, negative, or zero), e.g. 5, -12, 0.
- **Float**: Floating-point numbers with decimal places, e.g. 3.14, -0.05.
- **Boolean**: Logical values, either `true` or `false`.
- **String**: Sequence of characters, e.g. "Hello, world!".
- **Character**: A single character, e.g. 'A', '2', ' '.
Exam Tips
- Know the basic data types and their characteristics.
- Be able to identify the appropriate data type for a given scenario.