Mindmap
2-2-1
Inhalt der Mindmap
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
Informationen
- Beschreibung
- Mindmap am 2-2-1, erstellt von karlund am 07/08/2013.
- Erstellt von
- karlund · Aug 2013
- Aktualisiert
- 29 Aug 2016
- Aufrufe
- 54
- Bewertung
Mehr zu Variables, Constants and Data Types