Variables, Expressions and Statements

Cards (9)

  • Integer:
    A whole number
  • Real:
    A real number (capable of containing a fractional part)
  • Char:
    A single character
  • String:
    A sequence of zero or more characters
  • Boolean:
    The logical values TRUE and FALSE
  • Date:
    A valid calendar date
  • A variable is a storage location for a data value that has an identifier.
  • Assignment is the process of giving a value an identifier in a program.
  • Input the correct data types:
    Integer | 1, 2, 3
    Char | "a", "b", "c"
    Real | 1.1, 1.2, 1.3
    Boolean | True, False
    String | "Hello", "World