Mindmap
Programming
Inhalt der Mindmap
Programming
Variables
- A Variable is a piece of data which can be changed, there are data types that contain certain types of data.
- Data Types
- String
- An ordered array of alpha-numeric text
- Integer
- – A number without decimals
- Character
- A single piece of alpha-numeric text
- Boolean
- A data type with only two possible values
- Real (Decimal)
- A number with decimals
- String
Scoping
- A variables scope refers to where the variable can be accessed and modified.
- Scopes
- Local Scope
- When a variable can be read and modified only within the procedure in which it is declared.
- Module Scope
- Procedures that are in the same module can be read and modify that variable when it’s declared
- Project Scope
- If a variable is in project scope the variable can be read and modified within the same program and project.
- Local Scope
Selection
- An IF statement is a conditional statement and is a type of selection, it will only run parts of the program if the Boolean is True.
- Operators
- ==
- Checks if the values for the operands are equal or not;
- ==
Informationen
- Beschreibung
- Programming Theory for Computer Science
- Erstellt von
- Jake Davis · Aug 2017
- Aktualisiert
- 29 Okt 2017
- Aufrufe
- 24
- Tags
- Bewertung