Booleans
If/Else Statements
Logical Operators
Comparison Operators
Graphics & Conditionals
100

Two possible values of a Boolean variable.

What is true and false?

100

This is the primary purpose of an if statement in programming?

What is to execute a block of code based on a condition? 

100

This logical operator is used to represent "AND" in JavaScript?

What is &&?

100

This comparison operator is used to check if two values are not equal in JavaScript.

What is !=?

100

This is  function do you need to call to get the width of the canvas.

What is getWidth():

200

This person is known as the founder of Boolean algebra, which is fundamental to modern computer science and digital logic?

Who is George Boole?

200

In the statement if (x > 10),  the expression (x > 10) represents this.

What is a condition that evaluates to true or false?

200

In programming, this operator is used to check if two values are equal.

What is the equality operator (==)?

200

This is the result of the expression 5 !== '5'?

What is true?

200

The anchor point of a circle.

What is center?

300

This operator would be used to negate (or reverse) a Boolean value?

What is the NOT operator?

300

This keyword used to define an alternative block of code when the if condition is false.

What is else?


300

 In the expression true || false, this is the result.

What is true?

300

This operator is used to determine if one value is greater than another?

What is >?

300

The anchor point of a rectangle.

What is top left corner?

400

This logical operator returns true only if both operands are true?

What is the AND operator?


400

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"?

400

The following expression evaluate to: !(5 > 3 && 2 < 1) this.

What is true?


400

 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?

400

A grid that uses numbers to place objects in a geometric space.

What is coordinate system?

500

George Boole's contributions significantly impacted this technology that forms the basis of all computers today.

What is digital computing?

500

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?

500

This is the outcome of this expression: (x > 10) && (x < 20) if x=15x=15.

What is true?

500

The following expression evaluate to if y=10y=10: y > 5 && y < 15 this.

What is true?

500

This will happen if the statement if (x > 100) { drawCircle(); } is executed and x=50x=50.

What is drawCircle() will not be executed?