WGU D335 CERTIFICATION SCRIPT 2026
QUESTIONS WITH SOLUTIONS GRADED A+
◍ Reverse Course.
Answer: A learning method involving video lectures at home and labs in
class
◍ Dictionaries.
Answer: Data structure with key-value pairs used for mapping inputs to
outputs
◍ Conditional Statements.
Answer: Used for multiple choices. 'if' for an option, 'elif' for alternatives,
'else' as the final option if none apply
◍ __main__.
Answer: A special variable in Python that indicates the main module
◍ Tons: value_1 Pounds: value_2 Ounces: value_3.
Answer: output format for ounces conversion based on the input ounces
value
◍ determines how a value can behave.
Answer: type( )
◍ Tuples.
Answer: Immutable ordered collection of items in Python denoted by
parentheses
◍ Comparisons.
Answer: Operations that return true or false based on the comparison of
values
◍ stub function.
, Answer: A function that acts as a placeholder and returns a simple value so
another function can be tested
◍ string literal.
Answer: Text enclosed in quotes.
◍ end=' '.
Answer: Keeps multiple print statements on one line.
◍ area_value.
Answer: the exact area of the trapezoid calculated using the trapezoid area
formula
◍ runtime error.
Answer: the program attempts an impossible operation
◍ displays output to the screen and starts a new line.
Answer: print( )
◍ sentence.
Answer: A new sentence string composed of three existing words from a
text file.
◍ Cold Water State.
Answer: Water is 'Cold' if the temperature is between 33° F and 80° F.
◍ File read and write.
Answer: Using open(), write(), and read() methods to interact with a text
file.
◍ returns the index of the first occurrence of x in the string.
Answer: find(x)
◍ A named item used to hold a value?.
Answer: variable
◍ travels.
Answer: Distance: total_miles_traveled miles - accepts three integer inputs
representing the number of times an employee travels to a job site
, ◍ Cold.
Answer: State of water when temperature is between 33° F and 80° F.
◍ cost_of_stocks.
Answer: Total cost of the purchased shares of stock calculated from the
stock selections.
◍ expression.
Answer: Any valid unit of code that resolves to a value.
◍ data_type.
Answer: output data type based on the input index value of the list element
using type()
◍ Iteration Statements.
Answer: Statements used for repeated execution of instructions in a program
◍ Floor division.
Answer: Dividing integers to get the whole number part of the quotient
◍ Boiling.
Answer: State of water when temperature is 212° F or higher.
◍ whitespace.
Answer: Any blank space or new line.
◍ Lists.
Answer: Ordered collection of items in Python denoted by square brackets
◍ Range Function.
Answer: Returns a sequence of numbers, commonly used in for loops
◍ runtime error.
Answer: The program attempts an impossible operation.
◍ any blank space or new line.
Answer: whitespace
◍ A program consists of?.
QUESTIONS WITH SOLUTIONS GRADED A+
◍ Reverse Course.
Answer: A learning method involving video lectures at home and labs in
class
◍ Dictionaries.
Answer: Data structure with key-value pairs used for mapping inputs to
outputs
◍ Conditional Statements.
Answer: Used for multiple choices. 'if' for an option, 'elif' for alternatives,
'else' as the final option if none apply
◍ __main__.
Answer: A special variable in Python that indicates the main module
◍ Tons: value_1 Pounds: value_2 Ounces: value_3.
Answer: output format for ounces conversion based on the input ounces
value
◍ determines how a value can behave.
Answer: type( )
◍ Tuples.
Answer: Immutable ordered collection of items in Python denoted by
parentheses
◍ Comparisons.
Answer: Operations that return true or false based on the comparison of
values
◍ stub function.
, Answer: A function that acts as a placeholder and returns a simple value so
another function can be tested
◍ string literal.
Answer: Text enclosed in quotes.
◍ end=' '.
Answer: Keeps multiple print statements on one line.
◍ area_value.
Answer: the exact area of the trapezoid calculated using the trapezoid area
formula
◍ runtime error.
Answer: the program attempts an impossible operation
◍ displays output to the screen and starts a new line.
Answer: print( )
◍ sentence.
Answer: A new sentence string composed of three existing words from a
text file.
◍ Cold Water State.
Answer: Water is 'Cold' if the temperature is between 33° F and 80° F.
◍ File read and write.
Answer: Using open(), write(), and read() methods to interact with a text
file.
◍ returns the index of the first occurrence of x in the string.
Answer: find(x)
◍ A named item used to hold a value?.
Answer: variable
◍ travels.
Answer: Distance: total_miles_traveled miles - accepts three integer inputs
representing the number of times an employee travels to a job site
, ◍ Cold.
Answer: State of water when temperature is between 33° F and 80° F.
◍ cost_of_stocks.
Answer: Total cost of the purchased shares of stock calculated from the
stock selections.
◍ expression.
Answer: Any valid unit of code that resolves to a value.
◍ data_type.
Answer: output data type based on the input index value of the list element
using type()
◍ Iteration Statements.
Answer: Statements used for repeated execution of instructions in a program
◍ Floor division.
Answer: Dividing integers to get the whole number part of the quotient
◍ Boiling.
Answer: State of water when temperature is 212° F or higher.
◍ whitespace.
Answer: Any blank space or new line.
◍ Lists.
Answer: Ordered collection of items in Python denoted by square brackets
◍ Range Function.
Answer: Returns a sequence of numbers, commonly used in for loops
◍ runtime error.
Answer: The program attempts an impossible operation.
◍ any blank space or new line.
Answer: whitespace
◍ A program consists of?.