data is raw facts
data on its own has no meaning
some examples d2d4, wig, b2.2, 456
and figuresdata on its own has no meaning
some examples d2d4, wig, b2.2, 456
logical or boolean
•Data stored in boolean form can only be one of two available values.
•Think of a light switch – it’s on or off.
•Examples include: yes , no , true ,false , 0 ,1 m, f
•Data stored in boolean form can only be one of two available values.
•Think of a light switch – it’s on or off.
•Examples include: yes , no , true ,false , 0 ,1 m, f
Alphanumeric
•Alphanumeric data is any combination of letters, numbers and symbols (@#¬|\/>< etc.)
•This data type is also known as a string or text.
•Examples: i like fish , DL61ABC ,@*!#
•Alphanumeric or text/string is used to hold telephone numbers.
•In a computer, telephone numbers are stored as text.
•This is because the telephone number contains a leading zero and spaces
•Alphanumeric data is any combination of letters, numbers and symbols (@#¬|\/>< etc.)
•This data type is also known as a string or text.
•Examples: i like fish , DL61ABC ,@*!#
•Alphanumeric or text/string is used to hold telephone numbers.
•In a computer, telephone numbers are stored as text.
•This is because the telephone number contains a leading zero and spaces
Real
a real number is one which has decimal places .
e.g. 12.4 18.01
a real number is one which has decimal places .
e.g. 12.4 18.01
Integer
integer numbers are whole numbers , no bits ,no decimal places.
e.g. 5 , -54 , 999999
integer numbers are whole numbers , no bits ,no decimal places.
e.g. 5 , -54 , 999999
Date
dates can be stored in many different forms.
in the UK we write the data in the form DD/MM/YYYY e.g. 31/12/2014.
in the us they use the form MM/DD/YYYY e.g. 12/31/2014.
e.g. 15/08/1999 , 2009/11/30
dates can be stored in many different forms.
in the UK we write the data in the form DD/MM/YYYY e.g. 31/12/2014.
in the us they use the form MM/DD/YYYY e.g. 12/31/2014.
e.g. 15/08/1999 , 2009/11/30
other data types
•Currency – Software will automatically add £ or $ to data and include decimal places. E.g. £22.99.
•Images/Sound Bites/Video Clips – Some databases will allow an images, sound and video clips to be stored.
For example a photo of a criminal and their
fingerprints on a crime database.
•Currency – Software will automatically add £ or $ to data and include decimal places. E.g. £22.99.
•Images/Sound Bites/Video Clips – Some databases will allow an images, sound and video clips to be stored.
For example a photo of a criminal and their
fingerprints on a crime database.