Mind map
Enter text here
Map content
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
Information
- Description
- Mind Map on Enter text here, created by Jessica Phillips on 26/02/2019.
- Created by
- Jessica Phillips · Feb 2019
- Updated
- Feb 26, 2019
- Views
- 0
- Rating
More on Variables, Constants and Data Types