What is a variable?
A mathematical object that stands for a number.
x+4=8
What is x?
x=4
What is x?
What code do we use to look for a variable?
scanf
What is Mr. Brock's first name and combine the like terms?
3x+1+2x
Justin and 5x+1
What is a coefficient?
A number that multiplies a number.
x-23=82
What is x?
x=105
3x-2=13
What is x?
x=5
What code do we use to have the computer write out a line of code?
printf
What is Mr. Brock's middle name?
Combing Like Terms
3x+2y+y
Alexander
3x+3y
What is a constant?
A number by itself.
3x=39
What is x?
x=13
-2x+1=9
What is x?
x=-4
What code is it to have the computer make a decision?
if-else
What car does Mr. Brock drive?
2x+2y+x+2y
Toyota 4runner
3x+4y
What is an expression?
An expression is multiple terms with no equal sign.
15x=135
What is x?
x=9
(x/4)+2=10
What is x?
x=32
What code is it for the robot to turn left?
turnLeft
How old is Mr. Brock?
7x-2y+3y-2x
27
5x+y
What is an equation?
two expressions that are equal to each other using an equal sign.
(x/4)=6
What is x?
x=24
2x+1=x+4
What is x?
x=3
What is an controlling expression?
It is set parameters we use for an if-else statement.
How many siblings does Mr. Brock have?
2x+3y+2b+b+4x
One Sister
6x+3y+3b