Quiz Complete, well Done!
To check if two values are equal, we use the
operator.
What is the result of the expression: true || false?
Boolean
OR Operator
The
operator is used to check if two values are not equal.
A Boolean expression is a statement that can be evaluated to either
or false.
AND Operator
What is the result of the expression: 10 <= 10?
What is the main purpose of Boolean algebra?
Boolean values can either be
or false.
NOT Operator
Boolean Operator
What is the result of the expression: true == false?
An if statement is used to execute a block of code if a condition is
.
Which of the following is a Boolean operator?
What is the result of the expression: true != false?
The else keyword is used to specify a block of code that should be executed if the if condition is
.
What is the result of the expression: 5 > 10?
Logic
Which logical operation represents the AND operation in Boolean algebra?