Written by students who passed Immediately available after payment Read online or as PDF Wrong document? Swap it for free 4.6 TrustPilot
logo-home
Document preview thumbnail
Preview 3 out of 21 pages
Exam (elaborations)

WGU D278 Pre-Assessment for Scripting and Programming – Foundations|| Questions And Answers ||Verified Exam!!!||(Verified Answers) |Already Graded A+||Newest Exam!!!

Document preview thumbnail
Preview 3 out of 21 pages

WGU D278 Pre-Assessment for Scripting and Programming – Foundations|| Questions And Answers ||Verified Exam!!!||(Verified Answers) |Already Graded A+||Newest Exam!!!

Content preview

1|Page


WGU D278 Objective Assessment for Scripting and
Programming – Foundations|| QUESTIONS AND
CORRECT DETAILED ANSWERS WITH RATIONALES
(VERIFIED ANSWERS) |ALREADY GRADED
A+||NEWEST EXAM!!


A programmer shows a program's first version to a
customer. Based on feedback, the programmer begins
writing a second version of the program. In which phase of
an agile approach does the writing of a second version of
the program occur? - ANSWER-Implementation


A programmer shows a program's first version to a
customer. Based on feedback, the programmer creates a
second version, and then has a colleague run the second
version on numerous inputs to ensure outputs are correct.
Which phase of an agile approach is that colleague
carrying out? - ANSWER-Testing


A programmer is currently programming the fourth version
of a program. Each version has additional features to
satisfy more customers. In which phase of an agile
approach does the programming of the fourth version
occur? - ANSWER-Implementation

,2|Page


Order the statements needed to output the minimum of x
and y from first (1) to last (4). Select your answer from the
pull down list. - ANSWER-Declare variable min
min = x
If y < min, set min = y
Put min to output


Given a start and end location and time traveled in hours,
order the statements needed to calculate speed in miles
per hour from first (1) to last (4). Select your answers from
the pull-down list. - ANSWER-Declare variables distMiles
and speedMph
distMiles = endLocation - startLocation
speedMph = distMiles / timeHours
Put speedMph to output


Order the tasks needed to create a pyramid (large on
bottom, small on top) on a table from first (1) to last (4).
Select your answer from the pull down list. - ANSWER-
Clear table.
Place largest shape.
Place middle-sized shape.
Place smallest shape.

, 3|Page


What does the following algorithm determine?if x == y z =
1else z = 0 - ANSWER-Whether x and y are the same


What does the following algorithm accomplish?x = Get
next inputif x == -1 Put "Goodbye" to output - ANSWER-
Outputs Goodbye when user types -1


What does an output of 1 indicate for the following
algorithm running on a five-element list of integers?i = 0x =
0while i < 5 if list[i] < 0 x = 1 i = i + 1Put x to output -
ANSWER-At least one integer is negative.


A car drove 200 miles using 10 gallons of fuel. Which
operation should be used to compute the miles per gallon,
which is 20? - ANSWER-Division


Which operator should be used to determine if a number is
evenly divisible by 5? - ANSWER-%


A variable should hold the names of all past U.S.
presidents. Which data type should the variable be? -
ANSWER-String array

Document information

Uploaded on
April 13, 2026
Number of pages
21
Written in
2025/2026
Type
Exam (elaborations)
Contains
Questions & answers
$25.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

Sold
9
Followers
0
Items
1555
Last sold
3 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