uint 2 vocabulary variables

uint 2 vocabulary variables

Question Answer
variable a variable is a container for memory something that the code can access again and again
variable example X=5 winter=(image of winter)
variable= the= means get not equal to
assigning a variable assigning a variable to store a value in memory with a name
string example "5+7" is not the same as 5+7
; ends each line of code
" " used for a string–text the user can see
( ) 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("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 *