100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached
logo-home
WGU D278 Pre-Assessment V2 (Latest Update 2024 / 2025) Scripting and Programming - Foundations | Questions and Verified Answers | 100% Correct | Grade A $7.99   Add to cart

Exam (elaborations)

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

 10 views  0 purchase

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 cust...

[Show more]

Preview 3 out of 23  pages

  • November 6, 2024
  • 23
  • 2024/2025
  • Exam (elaborations)
  • Questions & answers
All documents for this subject (10)
avatar-seller
quiz_bit
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

The benefits of buying summaries with Stuvia:

Guaranteed quality through customer reviews

Guaranteed quality through customer reviews

Stuvia customers have reviewed more than 700,000 summaries. This how you know that you are buying the best documents.

Quick and easy check-out

Quick and easy check-out

You can quickly pay through credit card or Stuvia-credit for the summaries. There is no membership needed.

Focus on what matters

Focus on what matters

Your fellow students write the study notes themselves, which is why the documents are always reliable and up-to-date. This ensures you quickly get to the core!

Frequently asked questions

What do I get when I buy this document?

You get a PDF, available immediately after your purchase. The purchased document is accessible anytime, anywhere and indefinitely through your profile.

Satisfaction guarantee: how does it work?

Our satisfaction guarantee ensures that you always find a study document that suits you well. You fill out a form, and our customer service team takes care of the rest.

Who am I buying these notes from?

Stuvia is a marketplace, so you are not buying this document from us, but from seller quiz_bit. Stuvia facilitates payment to the seller.

Will I be stuck with a subscription?

No, you only buy these notes for $7.99. You're not tied to anything after your purchase.

Can Stuvia be trusted?

4.6 stars on Google & Trustpilot (+1000 reviews)

71498 documents were sold in the last 30 days

Founded in 2010, the go-to place to buy study notes for 14 years now

Start selling
$7.99
  • (0)
  Add to cart