What is Data?
Data is raw facts and figures, data on its own has no meaning.
E.g
d243
b2.2
853
ldor4
These are all example of data as they have no meaning.
Data is raw facts and figures, data on its own has no meaning.
E.g
d243
b2.2
853
ldor4
These are all example of data as they have no meaning.
Different Data Types:
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
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.
•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.
E.g:
&*&!£@:<
dqwu 344
i like fish
Real:
A real number is one which has decimal places.
E.g:
1579.24
53.5
65.787339
6.64
Integer:
Integer numbers are whole number, no bits, no decimal places.
E.g
235876
-45
36
Date
•Dates can be stored in many different forms.
•In the UK we write the date 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//1855
2004/04/27
11/18/1953
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.
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
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.
•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.
E.g:
&*&!£@:<
dqwu 344
i like fish
Real:
A real number is one which has decimal places.
E.g:
1579.24
53.5
65.787339
6.64
Integer:
Integer numbers are whole number, no bits, no decimal places.
E.g
235876
-45
36
Date
•Dates can be stored in many different forms.
•In the UK we write the date 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//1855
2004/04/27
11/18/1953
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.