Unit 2 Flashcards
What does the “sum” refer to?
addition
What does the “difference” refer to?
subtraction
What does “product” refer to?
multiplication
what does “quotient” refer to?
division
What is another word for the result of division?
quotient
What is another word for the result of multiplication?
product
What is another word for the result of addition?
sum
What is another word for the result of subtraction?
difference
2 + 2 = 4
Four is the “__”
sum
2 - 1 = 1
One is the “__”
difference
2 * 3 = 6
Six is the “__”
product
2 / 4 = 2
Two is the “__”
quotient
What is “Assignment”?
Assignment is setting a variable to a value and telling the computer the value’s type.
How is a Number declared?
By not using quotes.
True or False
A number is declared by using quotes.
False.
A number is declared by not using quotes.
var numberTwo = 2;
var numberTwo = “2”; <– is a string
How is a string declared?
A string is declared by using quotes.
True or False
A string is declared by NOT using quotes.
False.
A string is declared by using quotes.
What is an example of the Simple Assignment operator in JavaScript?
The equal sign = var count = 10;
True or False:
This is a string.
False, there are no quotes.
“This is a string.”
True or False:
“This is a string.”
True.
True or False:
This is a Number:
“456”
False that is a string.
This is a number
456
In math, what does additive mean?
Additive refers to both addition and subtraction.
Subtraction is just adding with negative numbers