WGU D278 PRE-ASSESSMENT SCRIPTING
AND PROGRAMMING FOUNDATIONS
VERIFIED SOLUTION BUNDLE 2026
COMPLETE ANSWERS GRADED A+
⩥ Multiple branches.
Answer: Each decision is independent, this more than one branch can
execute
⩥ Equality operator.
Answer: Checks whether two operands' values are the same (==) or
different (!=)
⩥ Boolean.
Answer: A type that has just two values : true or false
⩥ Relational operator.
Answer: Checks how one operand's value relates to another (> , <, =, >=,
<=)
⩥ Logical operator.
,Answer: treats operands as being true or false, and evaluates to true or
false; includes: and, or, not
Commonly used to detect if a value is within a range
Ex.) x = 4
(x>1) and (x<9) true
⩥ Precedence rules.
Answer: The order in which operators are evaluated in an expression.
⩥ If statement.
Answer: is an if decision expression followed by a sub-statement,
without the "else" part
⩥ Loop.
Answer: A program constructed that repeatedly executes the loops
statement (loop body) while the loop expression is true
When false, execution proceeds past the loop
⩥ Iteration.
Answer: Each time through a loop's statement
, ⩥ Infinite loop.
Answer: A loop that never stops iterating; accidental infinite loops are
common
⩥ Sentinel value.
Answer: A special value indicating the end of a list, such as a list of
positive integers ending with ), as in 10 1 6 3 0
⩥ Loops commonly consists of three parts:.
Answer: Loop variable initialized before the loop
A decision statement with the loop expression
Loop variable updated at the end of the loop body
⩥ While loop.
Answer: A loop that repeatedly executes the loop body while the loop's
expression evaluates to true
Generally used when a number of iterations is not known
⩥ For loop.
AND PROGRAMMING FOUNDATIONS
VERIFIED SOLUTION BUNDLE 2026
COMPLETE ANSWERS GRADED A+
⩥ Multiple branches.
Answer: Each decision is independent, this more than one branch can
execute
⩥ Equality operator.
Answer: Checks whether two operands' values are the same (==) or
different (!=)
⩥ Boolean.
Answer: A type that has just two values : true or false
⩥ Relational operator.
Answer: Checks how one operand's value relates to another (> , <, =, >=,
<=)
⩥ Logical operator.
,Answer: treats operands as being true or false, and evaluates to true or
false; includes: and, or, not
Commonly used to detect if a value is within a range
Ex.) x = 4
(x>1) and (x<9) true
⩥ Precedence rules.
Answer: The order in which operators are evaluated in an expression.
⩥ If statement.
Answer: is an if decision expression followed by a sub-statement,
without the "else" part
⩥ Loop.
Answer: A program constructed that repeatedly executes the loops
statement (loop body) while the loop expression is true
When false, execution proceeds past the loop
⩥ Iteration.
Answer: Each time through a loop's statement
, ⩥ Infinite loop.
Answer: A loop that never stops iterating; accidental infinite loops are
common
⩥ Sentinel value.
Answer: A special value indicating the end of a list, such as a list of
positive integers ending with ), as in 10 1 6 3 0
⩥ Loops commonly consists of three parts:.
Answer: Loop variable initialized before the loop
A decision statement with the loop expression
Loop variable updated at the end of the loop body
⩥ While loop.
Answer: A loop that repeatedly executes the loop body while the loop's
expression evaluates to true
Generally used when a number of iterations is not known
⩥ For loop.