WGU D278: SCRIPTING AND PROGRAMMING FOUNDATIONS
CH 3: BRANCHES
Sequence of statements executed only under certain conditions - Answer -branch
Creates two branches (if-else) - Answer -decision
Decision and its two branches - Answer -if-else
Decision whose false branch has no statements - Answer -if
Series of decisions cascade in each other's decisions - Answer -if-elseif branch
== - Answer -equality operator
Equality operator symbol - Answer -==
Evaluates to true if the left & right sides are equal - Answer -== definition
Branches that include other statements - Answer -nested branch
Decisions are independent so more than one branch can execute - Answer -multiple if
branches
Does not equal symbol - Answer -!=
!= - Answer -does not equal
Two values: true or false - Answer -boolean
Checks how operands relate to each other - Answer -relational operator
Less than or equal to symbol - Answer -<=
<= - Answer -less than or equal to
Treats operands as true or false and evaluates to true or false - Answer -logical
operator definition
And, or, not - Answer -logical operators
True when both operands are true - Answer -logical and
True when at least one of two operands is true - Answer -logical or
True when one operand is false - Answer -logical not
CH 3: BRANCHES
Sequence of statements executed only under certain conditions - Answer -branch
Creates two branches (if-else) - Answer -decision
Decision and its two branches - Answer -if-else
Decision whose false branch has no statements - Answer -if
Series of decisions cascade in each other's decisions - Answer -if-elseif branch
== - Answer -equality operator
Equality operator symbol - Answer -==
Evaluates to true if the left & right sides are equal - Answer -== definition
Branches that include other statements - Answer -nested branch
Decisions are independent so more than one branch can execute - Answer -multiple if
branches
Does not equal symbol - Answer -!=
!= - Answer -does not equal
Two values: true or false - Answer -boolean
Checks how operands relate to each other - Answer -relational operator
Less than or equal to symbol - Answer -<=
<= - Answer -less than or equal to
Treats operands as true or false and evaluates to true or false - Answer -logical
operator definition
And, or, not - Answer -logical operators
True when both operands are true - Answer -logical and
True when at least one of two operands is true - Answer -logical or
True when one operand is false - Answer -logical not