Code Unit 2 Code Unit 2 Variable Vocabulary

Code Unit 2 Code Unit 2 Variable Vocabulary

Term Definition
Variable A variable is a container for memory. It is something that the code can access again and again.
Variable Example X=5Winter=(images of winter)
Assign a variable To store a value in memory with a name
String "Text that is printed on the user screen" Must be in quote marks
; Ends each line of code
" " Used for a string- -text the user sees
( ) Surrounds a variable name
Adding a variable to a string "String" + variable "My score is " + score
Variable reassignment Changing the value of a variable based on it's current contents
Write The word something will appear for the USER on the canvas
Console log For the coder and appear in the debug area

Leave a Reply

Your email address will not be published. Required fields are marked *