• Wrong document? Swap it for free
  • Written by students who passed
  • Immediately available after payment
  • Read online or as PDF
Sell
Where do you study
Your language
Document preview thumbnail
Preview 4 out of 32 pages
Exam (elaborations)

WGU D278 Scripting and Programming Foundations Exam Prep

Document preview thumbnail
Preview 4 out of 32 pages

A practice assessment for the WGU Scripting and Programming Foundations course. The document covers fundamental programming concepts such as algorithm design, data types, control structures, object-oriented principles, and software development lifecycles (waterfall and agile).

Content preview

1 | Page




WGU PRE-ASSESSMENT
SCRIPTING AND PROGRAMMING
FOUNDATIONS
EXAM QUESTIONS AND CORRECT
DETAILED ANSWERS (VERIFIED
ANSWERS) ALL ANSWERED
D
O


Which elements are characteristic of a class diagram?
N
O
T


A System's classes, attributes, and methods and their features,
C


constraints, and relationships
O


B Flow of logic and process interaction within a system
PY


C Physical resources or logical architecture of a system
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


What is the purpose of the following class diagram?


A Shows how the Employee class is used in the program

,2 | Page




B Describes the execution flow of the Employee class' operations
C Specifies the Employee class' behavioral requirements
D Depicts the Employee class' name, data members, and functions - ✔✔✔
Correct Answer > Depicts the Employee class' name, data members, and
functions


What is the purpose of a use case diagram, such as the following
diagram?
D
O


A Describes how a user can interact with a program
N


B Describes the data used in the program
O
T


C Illustrates the flow of the program's algorithms
C


D Shows the interaction between program components - ✔✔✔
O


Correct Answer > Describes how a user can interact with a program
PY



Review the following use case diagram:


What does a use case diagram do?


A Diagrams a single use case
B Connects several use cases to class diagrams
C Provides an overview of several use cases

,3 | Page




D Lists use case goals - ✔✔✔ Correct Answer > Provides an overview of
several use cases


What is put to output by the following flowchart, if the input is 17?


A Too young
B OK
C Too old
D
O


D Nothing is put to output. - ✔✔✔ Correct Answer > Ok
N
O


What relationship is common among a programming library's
T
C


functions?
O
PY


A Functions all relate to the same purpose.
B Each function competes with the other function.
C Each function fixes bugs in the other functions.
D Every function performs the identical computation. - ✔✔✔ Correct Answer
> Functions all relate to the same purpose.



What is put to output by the following flowchart, if the input is 3 5 -1?

, 4 | Page




A 3 5 -1
B35
C 6 10

D 6 10 -2 - ✔✔✔ Correct Answer > 6 10




Which phase of a waterfall approach would create a sequence diagram
D


that specifies the required order of events between completed program
O


components?
N
O


A Analysis
T


B Design
C
O


C Implementation
PY


D Testing - ✔✔✔ Correct Answer > Testing


Which phase of an agile approach would define a hypothesis to find a
problem in a program?


A Analysis
B Design
C Implementation

Document information

Uploaded on
November 3, 2026
Number of pages
32
Written in
2026/2027
Type
Exam (elaborations)
Contains
Questions & answers
$27.99

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
Highgradeshub
4.0
(2)
Sold
21
Followers
0
Items
5998
Last sold
2 weeks ago



Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions