D278/ WGU D278 EXAM/ WGU PRE-ASSESSMENT D Every function performs the identical computation. - ✔✔✔ Correct
SCRIPTING AND PROGRAMMING FOUNDATIONS Answer > Functions all relate to the same purpose.
EXAM 2025/2026 ACTUAL EXAM QUESTIONS AND
CORRECT DETAILED ANSWERS (VERIFIED
What is put to output by the following flowchart, if the input is 3 5
ANSWERS) ALL ANSWERED {70 Q & A} ALREADY -1?
GRADED A+/ D278 PRE-ASSESSMENT SCRIPTING
AND PROGRAMMING FOUNDATIONS | BRAND NEW! |
WGU A 3 5 -1
B35
C 6 10
What is put to output by the following flowchart, if the input is 17? D 6 10 -2 - ✔✔✔ Correct Answer > 6 10
A Too young Which elements are characteristic of a class diagram?
B OK
C Too old A System's classes, attributes, and methods and their features,
constraints, and relationships
D Nothing is put to output. - ✔✔✔ Correct Answer > Ok
B Flow of logic and process interaction within a system
C Physical resources or logical architecture of a system
What relationship is common among a programming library's
functions? D Internal structure of a class and collaboration between classes
or instances - ✔✔✔ Correct Answer > System's classes, attributes, and
methods and their features, constraints, and relationships
A Functions all relate to the same purpose.
B Each function competes with the other function.
What is the purpose of the following class diagram?
C Each function fixes bugs in the other functions.
,3|Page 4|Page
A Shows how the Employee class is used in the program C Provides an overview of several use cases
B Describes the execution flow of the Employee class' operations D Lists use case goals - ✔✔✔ Correct Answer > Provides an overview
of several use cases
C Specifies the Employee class' behavioral requirements
D Depicts the Employee class' name, data members, and
functions - ✔✔✔ Correct Answer > Depicts the Employee class' name, Which phase of a waterfall approach would create a sequence
data members, and functions diagram that specifies the required order of events between
completed program components?
What is the purpose of a use case diagram, such as the following
diagram? A Analysis
B Design
A Describes how a user can interact with a program C Implementation
B Describes the data used in the program D Testing - ✔✔✔ Correct Answer > Testing
C Illustrates the flow of the program's algorithms
D Shows the interaction between program components - ✔✔✔ Which phase of an agile approach would define a hypothesis to
Correct Answer > Describes how a user can interact with a program find a problem in a program?
Review the following use case diagram: A Analysis
B Design
What does a use case diagram do? C Implementation
D Testing - ✔✔✔ Correct Answer > Testing
A Diagrams a single use case
B Connects several use cases to class diagrams Which phase of an agile approach would create an executable
program?
, 5|Page 6|Page
After a programmer is done writing a program, another person
runs the program hundreds of times, each time with different
A Analysis
input, checking that each run yields correct output.
B Design
C Implementation
Which phase of a waterfall approach is the person carrying out?
D Testing - ✔✔✔ Correct Answer > Implementation
A Analysis
Which phase of an agile approach would create a list of
B Design
components needed to build an online auction site?
C Implementation
D Testing - ✔✔✔ Correct Answer > Testing
A Analysis
B Design
A programmer decides a program should convert U.S. units to
C Implementation
metric units and decides to write the program in C++ using
D Testing - ✔✔✔ Correct Answer > Design several functions.
Which phase of a waterfall approach defines a program's goals? Which phase of a waterfall approach is occurring when the
programmer starts writing the program?
A Analysis
B Design A Analysis
C Implementation B Design
D Testing - ✔✔✔ Correct Answer > Analysis C Implementation
D Testing - ✔✔✔ Correct Answer > Implementation