Match Data Types

Drag terms to their matching definitions

Terms

Integer
Float/Real
String
Boolean
Character
Array

Definitions

Choosing the Right Data Type

Always choose the most appropriate data type for your data:

  • • Age → Integer (whole numbers only)
  • • Price → Float (needs decimal places)
  • • Name → String (text)
  • • Is member? → Boolean (yes/no question)
Review data types →