Data types and Casting

Cards (6)

  • List the 5 main data types used in programming
    • String
    • Integer
    • Real
    • Boolean
    • Char
    • Casting
  • When is a string used?
    when entering any combination of letters, numbers or symbols
  • When is an integer used
    to enter any whole number
  • When is Real used
    to enter any decimal number
  • When is Char used
    when specifying any one individual character
  • When is Casting used
    to convert from one data type to another