Mindmap
Enter text here
Inhalt der Mindmap
Enter text here
Programming Fundamentals
- Variables
- Variables and Constants are both named locations in memory
- They are used to store tempoary values that can change as the program is run.
- Variables sometimes need to be declared before they can be used this is called a variable declaration
- Choosing a sensible identifier is easy for example player_name is more simple to understand that x_Mary because x could mean anything. Doing it this way mean its easier to understand and to fix if their are some errors in it.
- Their are rules to choose a good identifier such as: cannot include spaces,can only contain letters numbers and underscore symbols you cannot used words such as 'if' or 'else' , they are case sensitive and they should be quite short to make it clear and understandable.
- Constants
- Constants and variables are both named locations in memory
- Used to store values that do not change throughout the programs execution
- Variables
Informationen
- Beschreibung
- Mindmap am Enter text here, erstellt von Jessica Phillips am 26/02/2019.
- Erstellt von
- Jessica Phillips · Feb 2019
- Aktualisiert
- 26 Feb 2019
- Aufrufe
- 0
- Bewertung
Mehr zu Variables, Constants and Data Types