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

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

Rating
-
Sold
1
Pages
40
Grade
A+
Uploaded on
01-09-2024
Written in
2024/2025

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

Institution
WGU D278
Course
WGU D278











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

Written for

Institution
WGU D278
Course
WGU D278

Document information

Uploaded on
September 1, 2024
Number of pages
40
Written in
2024/2025
Type
Exam (elaborations)
Contains
Questions & answers

Subjects

  • d278 oawgu d278 finald27

Content preview

WGUID278IScriptingIandIProgrammingI-
IFoundationsI(NewI2024/I2025IUpdate)I|I
QuestionsIandIVerifiedIAnswers|I100%I
Correct|IAIGradeI
QUESTION
IFloating-pointInumber
Answer:
IAIrealInumber,IlikeI98.6,I0.0001,IorI-666.667.



QUESTION
IFloat
Answer:
IAIvariableIdeclaredIasItypeIfloatIstoresIaIfloating-pointInumber.



QUESTION
IFloating-PointILiteral
Answer:
IAInumberIwithIaIfractionalIpart,IevenIifIthatIfractionIisI0,IasIinI1.0,I0.0,IorI99.573.



QUESTION
IinfinityI/I-infinity
Answer:
IDividingIaInonzeroIfloating-pointInumberIbyIzeroIdependingIonItheIsignsIofItheIoperands.

,QUESTION
INotIaInumber
Answer:
IIndicatesIanIunrepresentableIorIundefinedIvalue.



QUESTION
IFunctionI/IfunctionIcall
Answer:
IAIlistIofIstatementsIexecutedIbyIinvokingItheIfunction'sIname



QUESTION
IArguments
Answer:
IAnyIfunctionIinputIvalues,IappearIwithinI(I),IandIareIseparatedIbyIcommasIifImoreIthanIone.



QUESTION
IRandomNumber()
Answer:
IaIbuilt-
inICoralIfunctionIthatItakesItwoIarguments,IlowValueIandIhighValue,IandIreturnsIaIrandomIint
egerIinItheIrangeIlowValueItoIhighValue.



QUESTION
ISeed
Answer:
IForItheIfirstIcallItoIRandomNumber(),InoIpreviousIrandomIintegerIexists,IsoItheIfunctionIuses
IaIbuilt-inIinteger

,QUESTION
ISeedRandomNumbers()
Answer:
IAIprogrammerIcanIspecifyItheIseedIusingItheIfunc-
ItionISeedRandomNumbers(),IasIinISeedRandomNumbers(10)IorISeedRandom-INumbers(99).



QUESTION
IDivide-by-zeroIerror
Answer:
IOccursIatIruntimeIifIaIdivisorIisI0,IcausingIaIprogramItoIterminate.



QUESTION
ITypeIconversion
Answer:
IAIconversionIofIoneIdataItypeItoIanother,IsuchIasIanIintegerItoIaIfloat.
I



QUESTION
IimplicitIconversion
Answer:
ICoralIautomaticallyIperformsIseveralIcommonIconver-
IsionsIbetweenIintegerIandIfloatItypes,IandIsuchIautomaticIconversion



QUESTION
ITypeICast

, Answer:
IConvertsIaIvalueIofIoneItypeItoIanotherItype.



QUESTION
IModuloIoperator
Answer:
I(%)IevaluatesItoItheIremainderIofItheIdivisionIofItwoIintegerIoperands.IEx:I23I%I10IisI3.



QUESTION
IConstant
Answer:
IAInamedIvalueIitemIthatIholdsIaIvalueIthatIcannotIchange.



QUESTION
IBranch
Answer:
IAIsequenceIofIstatementsIonlyIexecutedIunderIaIcertainIcondition.



QUESTION
IDecision
Answer:
ICreatesItwoIbranches:IIfItheIdecision'sIexpressionIisItrue,ItheIfirstIbranchIexecutes,IelseItheIs
econdIbranchIexecutes.IAfterwards,ItheIbranchesIrejoin.



QUESTION
IIf-else

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.
ace_it Walden University
View profile
Follow You need to be logged in order to follow users or courses
Sold
3760
Member since
5 year
Number of followers
1919
Documents
5029
Last sold
18 hours ago

4.0

604 reviews

5
301
4
117
3
99
2
31
1
56

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