Unit 2 Vocab Variables

Unit 2 Vocab Variables

Questio Answer
Variables A variable is a container for memory . It is something that the code can access again and again .
Variable Example X=5winter=(image of winter)
Variable= The = means "gets" not equal to
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
( ) Surrounding a variable name
Adding a variable to a string " String" + variable " My score is "+ score
Variable Reassibgemnt Changing the value of a variable based on it's current contents
Write ("something") The word something will appear for the user on the canvas
Console.log statements For the Coder, and appear in the debug area

Leave a Reply

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