










Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
WGU C173 SCRIPTING AND PROGRAMMING – FOUNDATIONS OBJECTIVE ASSESSMENT EXAM WGU C173 SCRIPTING AND PROGRAMMING – FOUNDATIONS OBJECTIVE ASSESSMENT EXAM WGU C173 SCRIPTING AND PROGRAMMING – FOUNDATIONS OBJECTIVE ASSESSMENT EXAM WGU C173 SCRIPTING AND PROGRAMMING – FOUNDATIONS OBJECTIVE ASSESSMENT EXAM WGU C173 SCRIPTING AND PROGRAMMING – FOUNDATIONS OBJECTIVE ASSESSMENT EXAM WGU C173 SCRIPTING AND PROGRAMMING – FOUNDATIONS OBJECTIVE ASSESSMENT EXAM
Typology: Exams
1 / 18
This page cannot be seen from the preview
Don't miss anything!











1 g/
1.Whichgoperatorgshouldgbegusedgtogdeterminegifgagnumbergisgevenlygdivisiblegb
yg5?
gANSg%g(modulo)
2.Agvariablegshouldgholdgagperson'sgheightgingmeters.g
Whatgdatagtypegshouldgthegvariablegbe?
gANSgFloat
Howgshouldgthegitemgthatgholdsgthegnumbergofgsecondsgingagminutegbegde-gclared?
gANSgConstantgintegergsecondsgPergMinute
gdent.
Thegminimumgagegrequirementgisg35.
Howgshouldgthegitemgthatgholdsgthegminimumgagegbegdeclared?
2 g/
gANSgConstantintegergminAge
4 g/
Whatgshouldgbegtheginputgtogthegfunction?
gANSgHoursgandgminutes
12.FunctiongF()gPutg"Hey"gtogoutputgWhatgentiregoutputgappearsgaftergthreegs
uccessivegcallsgtogF()?
gANSgHeyHeyHey
13.Whatgisgagvalidguser-definedgfunctiongname?
gANSgAnygvalidgidentifier
14.AgfunctiongMyFctghasganginputgxgandgangoutputgz.gW
hatgdoesgMyFctgreturn?
gANSgzgonly
15.Whatgisgthegreturngvaluegofgagfunction?
gANSgOutputgofgagfunction
um,guntilgag 0 gisginput.
Whichgcontrolgstructuregshouldgbegused?
gANSgWhilegloop
5 g/
7 g/
andgcontinuegpromptinggtheguserguntilgtheganswergenteredgmatchesgthegcorrectgan
swer.
WhichgcontrolgstructuregsupportsgJoe'sgneeds?
gANSgDo-whilegloop
18.xg=g 3
do
PutgxgtogoutputgP
utg"g"gtogoutputgxg=
gxg-g 1
whilegxg>g 0 gANSg 3 g 2 g 1
ig=g 0
whilegig<g 20 gPut
gigtogoutputgig=gig
+g 1 gANSgi
<g 20
yg=g 0
sg=g100.
whilegyg<g 10
8 g/
sg=gsg+g(sg*g5.0)
10 g/
27.Whichgphasegofgangagilegapproachgwouldgdefinegaghypothesisgtogfindgagpr
oblemgingagprogram?gANSgTesting
gANSgImplementation
29.Whichgphasegofgangagilegapproachgwouldgcreategaglistgofgcomponentsgn
eededgtogbuildgangonlinegauctiongsite?gANSgDesign
30.Whichgphasegofgagwaterfallgapproachgdefinesgagprogram'sggoals?gANS
Analysis
gramghundredsgofgtimes,geachgtimegwithgdifferentginput,gcheckinggthatgeachgrung
yieldsgcorrectgoutput.
Whichgphasegofgagwaterfallgapproachgisgthegpersongcarryinggout?gANSgTesting
andgdecidesgtogwritegthegprogramgingC++gusinggseveralgfunctions.
Whichgphasegofgagwaterfallgapproachgisgoccurringgwhengthegprogrammergstartsgwr
itinggthegprogram?gANSgImplementation
mployeegandgcustomerginteractions.gThegcompanygleadershipgdeterminesgthatgt
hegsystemgshouldgsupportgdirectgdatagentrygasgwellgasgautomatedgdatagcapturego
fgphonegcallsgandgemails.
Whichgphasegofgthegwaterfallgprocessgisgoccurring?gANSgAnalysis
gtomergprovidesgfeedback,gwhichgcausesgthegprogrammergtogchangegtheggoalsgo
fgthegprogram.
11 g/
Ingwhichgphasegofgangagilegapproachgareggoalsgchangedgbasedgongcustomer
13 g/
38.Whatgisgthegpurposegofgthegfollowinggclassgdiagram?
gANSgDepictsgthegEmployeeclass'gname,gdatagmembers,gandgfunctions
gANSgDescribesghowgagusergcanginteractgwithgagprogram
40.Whichgelementsgaregcharacteristicgofgagclassgdiagram?
gANSgSystem'sgclasses,attributes,gandgmethodsgandgtheirgfeatures,gconstr
aints,gandgr e
e v
la e
t r
i a
o l
n u
s s
h e
ips
14 g/
16 g /
50.Whatgisgagcharacteristicgofgagcompiledglanguage?gANSgConvertsgto
17 g /
machinelanguagegbeforegrunning
51.Whatgisgagcharacteristicgofganginterpretedglanguage?
gANSgRunsgeasilygongdifferentkindsgofgmachines
52.Whatgisgangadvantagegofginterpretedgprograms?
gANSgTheygcangbegmodifiedgatgruntime.