WGU D335 COMPREHENSIVE STUDY GUIDE
2026 FULL QUESTIONS AND SOLUTIONS
GRADED A+
◍ A notable resource for learning programming through tutorials and guides.
Answer: Corey Schaefer
◍ Method to add elements to the end of a list.
Answer: Append
◍ A special variable in Python that holds the name of the current module.
Answer: __name__
◍ An efficient, comparison-based sorting algorithm.
Answer: Merge Sort
◍ Extracting a portion of a sequence like a string or list in Python.
Answer: Slicing
◍ mutation.
Answer: Change or cause to change in form or nature
◍ A program that translates Python code into machine code.
Answer: Python compiler
◍ Primary highways: 1-99, odd for north/south, even for east/west. Auxiliary:
100-999, servicing the rightmost two digits of the primary highway.
Answer: Interstate Highway Numbers
◍ interpreted programming.
Answer: A programming language for which most of its implementations
execute instructions directly, without previously compiling a program into
machine-language instructions.
, ◍ Function to obtain the magnitude of an integer, removing the negative sign.
Answer: Absolute value function
◍ Function returning 'Heads' or 'Tails' based on a random value of 1 or 0.
Answer: Coin Flip Function
◍ invoke.
Answer: To activate, usually references the calling of a function in a
program.
◍ for loop.
Answer: Executes a block once for each element of a collection.
◍ A learning method involving video lectures at home and labs in class.
Answer: Reverse Course
◍ validator.
Answer: A program or service that checks for syntax errors prior to
execution
◍ Repeats an action for everything in a container.
Answer: for loop
◍ compiler.
Answer: A program that takes source code and converts it to machine code
by producing a separate file.
◍ parameters.
Answer: The inputs to a procedure. There can be any number of parameters,
including none. (may also be called arguments)
◍ Used to iterate until a condition is met, breaking based on a condition rather
than a specific number of iterations.
Answer: While Loop
◍ logical operators.
Answer: The AND and OR operators. The important property they have
which is different from other operators is that the second operand expression
is evaluated only when necessary.
2026 FULL QUESTIONS AND SOLUTIONS
GRADED A+
◍ A notable resource for learning programming through tutorials and guides.
Answer: Corey Schaefer
◍ Method to add elements to the end of a list.
Answer: Append
◍ A special variable in Python that holds the name of the current module.
Answer: __name__
◍ An efficient, comparison-based sorting algorithm.
Answer: Merge Sort
◍ Extracting a portion of a sequence like a string or list in Python.
Answer: Slicing
◍ mutation.
Answer: Change or cause to change in form or nature
◍ A program that translates Python code into machine code.
Answer: Python compiler
◍ Primary highways: 1-99, odd for north/south, even for east/west. Auxiliary:
100-999, servicing the rightmost two digits of the primary highway.
Answer: Interstate Highway Numbers
◍ interpreted programming.
Answer: A programming language for which most of its implementations
execute instructions directly, without previously compiling a program into
machine-language instructions.
, ◍ Function to obtain the magnitude of an integer, removing the negative sign.
Answer: Absolute value function
◍ Function returning 'Heads' or 'Tails' based on a random value of 1 or 0.
Answer: Coin Flip Function
◍ invoke.
Answer: To activate, usually references the calling of a function in a
program.
◍ for loop.
Answer: Executes a block once for each element of a collection.
◍ A learning method involving video lectures at home and labs in class.
Answer: Reverse Course
◍ validator.
Answer: A program or service that checks for syntax errors prior to
execution
◍ Repeats an action for everything in a container.
Answer: for loop
◍ compiler.
Answer: A program that takes source code and converts it to machine code
by producing a separate file.
◍ parameters.
Answer: The inputs to a procedure. There can be any number of parameters,
including none. (may also be called arguments)
◍ Used to iterate until a condition is met, breaking based on a condition rather
than a specific number of iterations.
Answer: While Loop
◍ logical operators.
Answer: The AND and OR operators. The important property they have
which is different from other operators is that the second operand expression
is evaluated only when necessary.