Data is meaningless. on its own data does not have a meaning, it is simply characters, symbols, numbers, dates or images. One method of adding meaning and context to data is to give it a data type. Examples of data types are:
-Image
-Boolean
-Real
-Text/String/Alphanumeric
-Date
-Integer
-Currency
Boolean: Stores only one of two values: yes/no
true/false 1/0.
Real: A real number which has decimal places: £1.56 or 1£5.09
Integer: whole numbers: £5, £38 or -86
Date: Dates can be stored in many forms depending on where you come from. In the UK we write it dd/mm/yyyy but
in America they wright it mm/dd/yyyy.
Currency: Data will
automatically add $ OR £ signs and decimal places E.g.
£47.99
Image: some data bases will allow images
to be stored E.g. a cute cat picture!
Text: Any
combinations of letters numbers and symbols.
-Image
-Boolean
-Real
-Text/String/Alphanumeric
-Date
-Integer
-Currency
Boolean: Stores only one of two values: yes/no
true/false 1/0.
Real: A real number which has decimal places: £1.56 or 1£5.09
Integer: whole numbers: £5, £38 or -86
Date: Dates can be stored in many forms depending on where you come from. In the UK we write it dd/mm/yyyy but
in America they wright it mm/dd/yyyy.
Currency: Data will
automatically add $ OR £ signs and decimal places E.g.
£47.99
Image: some data bases will allow images
to be stored E.g. a cute cat picture!
Text: Any
combinations of letters numbers and symbols.