Two possible values of a Boolean variable.
What is true and false?
This is the primary purpose of an if statement in programming?
What is to execute a block of code based on a condition?
This logical operator is used to represent "AND" in JavaScript?
What is &&?
This comparison operator is used to check if two values are not equal in JavaScript.
What is !=?
This is function do you need to call to get the width of the canvas.
What is getWidth():
This person is known as the founder of Boolean algebra, which is fundamental to modern computer science and digital logic?
Who is George Boole?
In the statement if (x > 10), the expression (x > 10) represents this.
What is a condition that evaluates to true or false?
In programming, this operator is used to check if two values are equal.
What is the equality operator (==)?
This is the result of the expression 5 !== '5'?
What is true?
The anchor point of a circle.
What is center?
This operator would be used to negate (or reverse) a Boolean value?
What is the NOT operator?
This keyword used to define an alternative block of code when the if condition is false.
What is else?
In the expression true || false, this is the result.
What is true?
This operator is used to determine if one value is greater than another?
What is >?
The anchor point of a rectangle.
What is top left corner?
This logical operator returns true only if both operands are true?
What is the AND operator?
The following code output if x=5x=5?
if (x > 10):
print("Greater than 10")
else:
print("10 or less")
What is "10 or less"?
The following expression evaluate to: !(5 > 3 && 2 < 1) this.
What is true?
In the expression x <= 10, what does the <= operator check for this.
What is it checks if xx is less than or equal to 10?
A grid that uses numbers to place objects in a geometric space.
What is coordinate system?
George Boole's contributions significantly impacted this technology that forms the basis of all computers today.
What is digital computing?
In the following code snippet, this condition will execute the print statement?
if (temperature < 32):
print("It's freezing!")
What is when the temperature is less than 32?
This is the outcome of this expression: (x > 10) && (x < 20) if x=15x=15.
What is true?
The following expression evaluate to if y=10y=10: y > 5 && y < 15 this.
What is true?
This will happen if the statement if (x > 100) { drawCircle(); } is executed and x=50x=50.
What is drawCircle() will not be executed?