WGU D278 ACTUAL EXAM PAPER 2026
QUESTIONS WITH ANSWERS GRADED A+
◍ Incremental Development.
Answer: A process for creating programs by writing a few lines at a time,
compiling, and testing.
◍ loop iterating a # of times has three parts.
Answer: loop variable initialization before the loop, a decision statement for
the loop expression, and a loop variable update at the end of the loop body
◍ if-else statement.
Answer: An if expression with the true branch's sub-statements, followed by
an else part with any false branch sub-statements.
◍ Note about integer literal.
Answer: Commas are not allowed, so 1,333,555 must be written as 1333555.
◍ waterfall process does not _________.
Answer: repeat, progress is indicated by the current phase, making time to
completion estimates easier.
◍ Pseudocode.
Answer: an informal textual representation of a program that is intended for
human understanding
◍ While loop.
Answer: A loop that repeatedly executes the loop body while the loop's
expression evaluates to true.
◍ Logical operator.
Answer: Treats operands as being true or false, and evaluates to true or false.
Logical operators include and, or, not.
,◍ Waterfall Approach.
Answer: a program can be built by carrying out the SDLC phases in
sequence; No phase repeats - phases can take longer and be larger
◍ SRS (Software Requirements Specification).
Answer: A document that records the requirements for a particular
application or software system. Commonly has UML diagrams for several
of the software product's use cases.
◍ Abstraction.
Answer: means to have a user interact with an item at a high-level, with
lower level internal details hidden from the user (aka information hiding or
encapsulation)
◍ Testing phase.
Answer: Checks that the program correctly meets the goal.
◍ Abstract Data Type (ADT).
Answer: a data type whose creation and update are constrained to specific
well-defined operations - a class can be used to implement ADT
◍ HTML.
Answer: allows a developer to describe the text, links, images, and other
features of a webpage. HTML is NOT a program, not executed statement by
statement
◍ Parameter.
Answer: A function input specified in a function definition. Example: A
pizza area function might have diameter as an input.
◍ Nested loop.
Answer: A loop that appears in the body of another loop. The nested loops
are commonly referred to as the inner loop and outer loop.
◍ algorithm time efficiency:.
Answer: The number of calculations required to solve a problem
◍ Structural diagram.
, Answer: Visualizes static elements of software, such as the types of
variables and functions used in the program.
◍ Scalar variable.
Answer: A single-item (non-array) variable.
◍ Class diagram.
Answer: A structural diagram that can be used to visually model the classes
of a computer program, including member variables and functions. A class
is a code blueprint for creating an object that is composed of data members
and functions (sometimes called methods) that operate on those data
members.
◍ Relational operator.
Answer: Checks how one operand's value relates to another, like being
greater than.
◍ Loop.
Answer: A program construct that repeatedly executes the loop's statements
(known as the loop body) while the loop's expression is true; when false,
execution proceeds past the loop. Each time through a loop's statements is
called an iteration.
◍ Assignment statement.
Answer: Assigns a variable with a value, such as x = 5. An assignment
statement's left side must be a variable. The right side is an
expression.Examples: x = 5, y = a, or z = w + 2.
◍ Dynamically typed.
Answer: A variable's type may change while a program executes, usually
based on what is assigned to the variable. (Dynamic means changing).
Python is a popular example.
◍ Analysis phase.
Answer: Defines a program's goals.
◍ Type cast.
QUESTIONS WITH ANSWERS GRADED A+
◍ Incremental Development.
Answer: A process for creating programs by writing a few lines at a time,
compiling, and testing.
◍ loop iterating a # of times has three parts.
Answer: loop variable initialization before the loop, a decision statement for
the loop expression, and a loop variable update at the end of the loop body
◍ if-else statement.
Answer: An if expression with the true branch's sub-statements, followed by
an else part with any false branch sub-statements.
◍ Note about integer literal.
Answer: Commas are not allowed, so 1,333,555 must be written as 1333555.
◍ waterfall process does not _________.
Answer: repeat, progress is indicated by the current phase, making time to
completion estimates easier.
◍ Pseudocode.
Answer: an informal textual representation of a program that is intended for
human understanding
◍ While loop.
Answer: A loop that repeatedly executes the loop body while the loop's
expression evaluates to true.
◍ Logical operator.
Answer: Treats operands as being true or false, and evaluates to true or false.
Logical operators include and, or, not.
,◍ Waterfall Approach.
Answer: a program can be built by carrying out the SDLC phases in
sequence; No phase repeats - phases can take longer and be larger
◍ SRS (Software Requirements Specification).
Answer: A document that records the requirements for a particular
application or software system. Commonly has UML diagrams for several
of the software product's use cases.
◍ Abstraction.
Answer: means to have a user interact with an item at a high-level, with
lower level internal details hidden from the user (aka information hiding or
encapsulation)
◍ Testing phase.
Answer: Checks that the program correctly meets the goal.
◍ Abstract Data Type (ADT).
Answer: a data type whose creation and update are constrained to specific
well-defined operations - a class can be used to implement ADT
◍ HTML.
Answer: allows a developer to describe the text, links, images, and other
features of a webpage. HTML is NOT a program, not executed statement by
statement
◍ Parameter.
Answer: A function input specified in a function definition. Example: A
pizza area function might have diameter as an input.
◍ Nested loop.
Answer: A loop that appears in the body of another loop. The nested loops
are commonly referred to as the inner loop and outer loop.
◍ algorithm time efficiency:.
Answer: The number of calculations required to solve a problem
◍ Structural diagram.
, Answer: Visualizes static elements of software, such as the types of
variables and functions used in the program.
◍ Scalar variable.
Answer: A single-item (non-array) variable.
◍ Class diagram.
Answer: A structural diagram that can be used to visually model the classes
of a computer program, including member variables and functions. A class
is a code blueprint for creating an object that is composed of data members
and functions (sometimes called methods) that operate on those data
members.
◍ Relational operator.
Answer: Checks how one operand's value relates to another, like being
greater than.
◍ Loop.
Answer: A program construct that repeatedly executes the loop's statements
(known as the loop body) while the loop's expression is true; when false,
execution proceeds past the loop. Each time through a loop's statements is
called an iteration.
◍ Assignment statement.
Answer: Assigns a variable with a value, such as x = 5. An assignment
statement's left side must be a variable. The right side is an
expression.Examples: x = 5, y = a, or z = w + 2.
◍ Dynamically typed.
Answer: A variable's type may change while a program executes, usually
based on what is assigned to the variable. (Dynamic means changing).
Python is a popular example.
◍ Analysis phase.
Answer: Defines a program's goals.
◍ Type cast.