GCSE Computer Science/AQA GCSE Computer Science/Constants, variables and data types

From Wikibooks, open books for an open world
Jump to navigation Jump to search
  • data - facts, numbers and statistics that are not in context so therefore have no meaning. eg, 75p
  • information - data in context. eg, the drink costs 75p
  • knowledge - the transfer of information between humans. eg, Joe Bloggs told Josh the drink was 75p
  • constants - something that never changes e.g Pi
  • variable - something thats changes over time eg. x +1 = Y

Data can exist in a number of different formats - typically referred to as DATA TYPES.

The range of data types within this course are: INTEGER REAL BOOLEAN CHARACTER STRING