100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached 4.2 TrustPilot
logo-home
Exam (elaborations)

WGU D278 Pre-Assessment V2 (Latest Update 2024 / 2025) Scripting and Programming - Foundations | Questions and Verified Answers | 100% Correct | Grade A

Rating
-
Sold
-
Pages
23
Grade
A+
Uploaded on
06-11-2024
Written in
2024/2025

WGU D278 Pre-Assessment V2 (Latest Update 2024 / 2025) Scripting and Programming - Foundations | Questions and Verified Answers | 100% Correct | Grade A Question: 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 Question: 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 Question: 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

Show more Read less
Institution
Course










Whoops! We can’t load your doc right now. Try again or contact support.

Written for

Institution
Course

Document information

Uploaded on
November 6, 2024
Number of pages
23
Written in
2024/2025
Type
Exam (elaborations)
Contains
Questions & answers

Subjects

Content preview

WGU D278 Pre-Assessment V2
(Latest Update )
Scripting and Programming -
Foundations | Questions and
Verified Answers | 100% Correct |
Grade A


Question:
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




Question:
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




Question:
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




Question:
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.

, Question:
What does the following algorithm determine?if x == y z = 1else z = 0
Answer:
Whether x and y are the same




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




Question:
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.




Question:
When should a programmer develop an algorithm to solve a problem?
Answer:
Before writing a program to solve the problem
CA$11.32
Get access to the full document:

100% satisfaction guarantee
Immediately available after payment
Both online and in PDF
No strings attached


Also available in package deal

Get to know the seller

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.
quiz_bit Rasmussen College
Follow You need to be logged in order to follow users or courses
Sold
11488
Member since
5 year
Number of followers
5218
Documents
7071
Last sold
4 hours ago
Nursing school is hard...Here are some tools to help ♡

Hello FUTURE NURSES! I'm here to make nursing school a little bit EASIER. Good luck with studying! Appreciate you all and wish you the best of luck going forward.. now go kick ass!

3.9

1916 reviews

5
942
4
378
3
288
2
99
1
209

Recently viewed by you

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

Frequently asked questions