Data Types
Learning Outcomes: By the end of this topic you should be able to: describe different data types give examples of suitable uses for each data type
Data Types Boolean one of only two possible values, True/False, Yes/No
Data Types Integer a whole number (no decimal places) number of bedrooms/children …. large amounts of money house price, car price NOT telephone number (text/string)
Data Types String used for text e.g. surname, telephone number, postcode aka: text, alphanumeric
Data Types Real number with decimal fraction e.g. 5.4, 3.142, 1.0 measurements in a house (2.4m) item price in shop (£4.99) height of people (1.80m)
Data Types Date/time date of birth, date of examination, …. 25/12/2008