
Unit 3 Vocabulary
Authored by Jason King
others

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
12 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Block of statements
One or more statements enclosed in an open curly brace '{' and a closing curly brace '}'.
used to start a conditional statement. This is followed by a statement or a block of statements that will be executed if the Boolean expression is true.
Used to execute the following statement or block of statements if one of the conditions are true
used to execute a statement or block of statements if the Boolean expression on the if part was false.
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Boolean expression
A Boolean expression with two or more conditions joined by a logical and '&&' or a logical or '||'.
A mathematical or logical expression that is either true or false.
One or more statements enclosed in an open curly brace '{' and a closing curly brace '}'.
used to start a conditional statement. This is followed by a statement or a block of statements that will be executed if the Boolean expression is true.
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
complex conditional
used to have 3 or more possible outcomes such as if x is equal, x is greater than, or x is less than some value. It will only execute if the condition in the 'if' was false and the condition in the else if is true.
used to start a conditional statement. This is followed by a statement or a block of statements that will be executed if the Boolean expression is true.
Used to execute code only if a Boolean expression is true.
A Boolean expression with two or more conditions joined by a logical and '&&' or a logical or '||'.
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
conditional
Used to execute code only if a Boolean expression is true.
Rules about how to distribute a negation on a complex conditional.
used to have 3 or more possible outcomes such as if x is equal, x is greater than, or x is less than some value. It will only execute if the condition in the 'if' was false and the condition in the else if is true.
A Boolean expression with two or more conditions joined by a logical and '&&' or a logical or '||'.
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
DeMorgan's Laws
turns a true statement false and a false statement true
used to execute a statement or block of statements if the Boolean expression on the if part was false.
Rules about how to distribute a negation on a complex conditional.
Used to execute the following statement or block of statements if one of the conditions are true
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
logical and
Used to only execute the following statement or block of statements if both conditions are true
Used to execute the following statement or block of statements if one of the conditions are true
used to start a conditional statement. This is followed by a statement or a block of statements that will be executed if the Boolean expression is true.
A Boolean expression with two or more conditions joined by a logical and '&&' or a logical or '||'.
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
logical or
One or more statements enclosed in an open curly brace '{' and a closing curly brace '}'.
Used to only execute the following statement or block of statements if both conditions are true
Used to execute the following statement or block of statements if one of the conditions are true
turns a true statement false and a false statement true
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?