Mind map
2-2-1
Map content
2-2-1
Numbers are not just numbers
- counting apples in school
- adding numbers because we want to know something
Maths introduce "variables"
- x = y + 2
- x and y can be viewed as containers or references to the actual number
Computer programs uses variables heavily
- many numbers in programs
- we need to be able to refer to them using names that make sense to us
Let's have a look at how we do that in code
- 5 variables exist
- private is an advanced feature
- always use it here
- relates to OOP
- after the course you should look at that
- float tells us what kind of data the variable contain / refer to
- name = value;
- More advanced variable point to a bitmap
- indicate advanced features
- show in debugger debugger
- set break point
- show effect of click
Many types exist
- boolean
- integer
- string
Information
- Description
- Mind Map on 2-2-1, created by karlund on 07/08/2013.
- Created by
- karlund · Aug 2013
- Updated
- Aug 29, 2016
- Views
- 54
- Rating
More on Variables, Constants and Data Types