Cards (6)

    • what is a Boolean data type and what are the storage requirements?
      • true or false value
      • 1 bit of storage
    • what is a character data type and what are the storage requirements?


      • represents individual characters
      • 1 byte of storage in ascii or unicode
    • what is a string data type and what are the storage requirements?


      • represents a sequence of characters
      • number of characters multiplied by 1 byte for ascii/ 4 bytes for unicode
    • what is a integer data type and what are the storage requirements?


      • positive or negative whole numbers
      • 2 bytes for short int
      • 4 bytes for int
      • 8 bytes for long int
    • what is a float/real data type and what are the storage requirements?


      • represents decimal numbers
      • 4 bytes for real/float
      • 8 bytes for double
    • what is a variable
      A variable is a named memory location in random access memory (RAM) that holds a value.