|
|
Created by Alondra Nicol
over 7 years ago
|
|
| Question | Answer |
| Variable | Place in memory where a programmer can store data and retrieve it later using the variable established name. |
| Fixed values | Numbers, letters, and strings are called “constants” because their value does not change |
| Numeric constants | Regular numbers |
| String constants | use double or single quote |
| Literals | a constant variable's value |
| Constants | a variable that has a fixed value |
| Variable name rules | -you cannot use reserved words -must start with a letter or underscore -must have letters, underscores, and numbers -case sensitive |
| Mnemonic variable names | Memory aids to remember what we intend to store in a variable |
| Assignment statements | consist of an expression and a variable to store the result |
Want to create your own Flashcards for free with GoConqr? Learn more.