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

Exam (elaborations)

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

 17 views  1 purchase
  • Course
  • WGU D278
  • Institution
  • WGU D278

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

Preview 3 out of 27  pages

  • September 1, 2024
  • 27
  • 2024/2025
  • Exam (elaborations)
  • Questions & answers
  • d278 pawgu d2
  • WGU D278
  • WGU D278
avatar-seller
ace_it
WGUID278IPre-AssessmentIVersionI1I(New
I2024/I2025IUpdate)IScriptingIandI
ProgrammingI-IFoundationsI|IQuestions
IandIVerifiedIAnswers|I100%ICorrect|IAI
GradeI


QUESTION
IWhatIisItheIloopIexpressionIinItheIfollowingIpseudocode?I
I
iI=I0I
whileIiI<I20I
IPutIiItoIoutputI
IiI=IiI+I1

AIiI
BIi<20I/>I
CIiI=I0I
DIiI=IiI+I1


Answer:
B




QUESTION
IWhatIisItheIloopIvariableIinitializationIinItheIfollowingIpseudocode?I
I
yI=I0I
sI=I100.0I
whileIyI<I10I
IsI=IsI+I(sI*I5.0)I

,IyI=IyI+I1

AIyI=I0I
BIyI=IyI+I1I
CIsI=I100.0I
DIsI=IsI+I(IsI*I5.0)


Answer:
A




QUESTION
IOrderItheIstepsIneededItoIoutputItheIminimumIofIxIandIyIfromIfirstI(1)ItoIlastI(4).I
SelectIyourIanswersIfromItheIpull-downIlist.I
AIDeclareIvariableImin
BIPutIminItoIoutput
CIminI=Ix
DIIfIyI<Imin,IsetIminI=Iy


Answer:
ACDB




QUESTION
IOrderItheIstepsIneededItoIcalculateIspeedIinImilesIperIhourIgivenIaIstartIandIendIlocationIan
dItimeItraveledIinIhoursIfromIfirstI(1)ItoIlastI(4).I

SelectIyourIanswersIfromItheIpull-downIlist.I
AIPutIspeedMphItoIoutput
BIDeclareIvariablesIdistMilesIandIspeedMph
CIdistMilesI=IendLocationI-IstartLocation
DIspeedMphI=IdistMilesI/ItimeHours


Answer:
BCDA

, QUESTION
IOrderItheItasksIneededItoIcreateIaIpyramidI(largeIonIbottom,IsmallIonItop)IonIaItableIfromIfi
rstI(1)ItoIlastI(4).I

SelectIyourIanswersIfromItheIpull-downIlist.I
AIPlaceIlargestIshape.
BIClearItable
CIPlaceIsmallestIshape.
DIPlaceImiddle-sizedIshape.


Answer:
BADC




QUESTION
IWhatIdoesItheIfollowingIalgorithmIdetermine?I
ifIxI==IyI
IzI=I1I
elseI
IzI=I0

AIWhetherIxIandIyIareItheIsameI
BIWhetherIxIandIyIareInegativeI
CIWhetherIxIisI1I
DIWhetherIxIisI0


Answer:
A




QUESTION
IWhatIdoesItheIfollowingIalgorithmIaccomplish?I
xI=IGetInextIinputI

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 ace_it. Stuvia facilitates payment to the seller.

Will I be stuck with a subscription?

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

Can Stuvia be trusted?

4.6 stars on Google & Trustpilot (+1000 reviews)

78252 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
$10.99  1x  sold
  • (0)
  Add to cart