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

WGU - SCRIPTING AND PROGRAMMING FOUNDATIONS QUESTIONS AND ANSWERS

Rating
-
Sold
-
Pages
6
Grade
A+
Uploaded on
28-05-2025
Written in
2024/2025

WGU - SCRIPTING AND PROGRAMMING FOUNDATIONS QUESTIONS AND ANSWERS

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
May 28, 2025
Number of pages
6
Written in
2024/2025
Type
Exam (elaborations)
Contains
Questions & answers

Subjects

Content preview

Ultimate D278 Scripting and Programming Foundatio
nj nj nj nj nj



ns
WGU - SCRIPTING AND PROGRAMMING
FOUNDATIONS QUESTIONS AND ANSWERS

Programnj-njanswer--Consistsnjofnjinstructionsnjexecutingnjonenjatnjanjtime.

Inputnj-njanswer--Anjprogramnjgetsnjdata,njperhapsnjfromnjanjfile,njkeyboard,njtouchscreen,njnetwork,njetc.

Processnj-njanswer--Anjprogramsnjperformsnjcomputationsnjonnjthatnjdata,njsuchnjasnjaddingnjtwonjvaluesnjlikenjxnj+njy.

Outputnj-njanswer--Anjprogramsnjputsnjthatnjdatanjsomewhere,njsuchnjasnjtonjanjfile,njscreen,njnetwork,njetc.

Computationalnjthinkingnj-njanswer--Creatingnjanjsequencenjofnjinstructionsnjtonjsolvenjanjproblem.

Algorithmnj-njanswer--Anjsequencenjofnjinstructionsnjthatnjsolvesnjanjproblem.

Statementnj-njanswer--Carriesnjoutnjsomenjactionnjandnjexecutingnjonenjatnjanjtime.

Stringnjliteralnj-njanswer--Consistsnjofnjtextnj(characters)njwithinnjdoublenjquotes,njasnjinnj"Gonj#57!".

Cursornj-njanswer--Indicatesnjwherenjthenjnextnjoutputnjitemnjwillnjbenjplacednjinnjthenjoutput.

Newlinenj-njanswer--Anjspecialnjtwo-characternjsequencenj\
nnjwhosenjappearancenjinnjannjoutputnjstringnjliteralnjcausesnjthenjcursornjtonjmovenjtonjthenjnextnjoutputnjline.njThenjnewline
existsnjinvisiblynjinnjthenjoutput.

Commentnj-njanswer--
Textnjaddednjtonjanjprogram,njreadnjbynjhumansnjtonjunderstandnjthenjcode,njbutnjignorednjbynjthenjprogramnjwhennjexecut
.

Whitespacenj-njanswer--
Refersnjtonjblanknjspacesnj(spacenjandnjtabnjcharacters)njbetweennjitemsnjwithinnjanjstatement,njandnjtonjnewlines.njWhite
acenjhelpsnjimprovenjreadabilitynjfornjhumans,njbutnjfornjexecutionnjpurposesnjisnjmostlynjignored.

Pseudocodenj-njanswer--
Textnjthatnjresemblesnjanjprogramnjinnjanjrealnjprogrammingnjlanguagenjbutnjisnjsimplifiednjtonjaidnjhumannjunderstanding.

Assignmentnjstatementnj-njanswer--
Assignsnjanjvariablenjwithnjanjvalue,njsuchnjasnjxnj=nj5.njAnnjassignmentnjstatement'snjleftnjsidenjmustnjbenjanjvariable.njThen
htnjsidenjisnjannjexpression.Examples:njxnj=nj5,njynj=nja,njornjznj=njwnj+nj2.

=nj-njanswer--Innjprogramming,nj=njisnjannjassignmentnjofnjanjleft-sidenjvariablenjwithnjanjright-
sidenjvalue.njItnjdoesnjnotnjrepresentnjequalitynjlikenjinnjmathematics.

Variablenjdeclarationnj-njanswer--Declaresnjanjnewnjvariable,njspecifyingnjthenjvariable'snjnamenjandnjtype.



1nj/
nj6

, Ultimate D278 Scripting and Programming Foundatio
nj nj nj nj nj




Identifiernj-njanswer--
ns
Anjnamenjcreatednjbynjanjprogrammernjfornjannjitemnjlikenjanjvariablenjornjfunction.njAnnjidentifiernjmust:njbenjanjsequencenjo
ettersnj(a-z,njA-Z),njunderscoresnj(_),njandnjdigitsnj(0-9),njANDnjstartnjwithnjanjletternjornjunderscore.

Reservednjwordnjornjkeywordnj-njanswer--
Anjwordnjthatnjisnjpartnjofnjthenjlanguage,njlikenjinteger,njGet,njornjPut.njAnjprogrammernjcannotnjusenjanjreservednjwordnjasnja
jidentifier.



Lowernjcamelnjcasenj-njanswer--Abutsnjmultiplenjwords,njcapitalizingnjeachnjwordnjexceptnjthenjfirst,njsuchnjasnjnumApple

Underscorenjseparatednj-njanswer--Wordsnjarenjlowercasenjandnjseparatednjbynjannjunderscore,njsuchnjasnjnum_apples

Expressionnj-njanswer--
Anjcombinationnjofnjitems,njlikenjvariables,njliterals,njoperators,njandnjparentheses,njthatnjevaluatesnjtonjanjvalue.njExampl
2nj*nj(x+1)

Literalnj-njanswer--Anjspecificnjvaluenjinnjcode,njlikenj2.

Operatornj-njanswer--Anjsymbolnjthatnjperformsnjanjbuilt-innjcalculation,njlikenjthenjoperatornj+njwhichnjperformsnjaddition.

Unarynjminusnj-njanswer--Thenjsubtractionnjsignnj(-)njusednjasnjanjnegative.

Notenjaboutnjintegernjliteralnj-njanswer--Commasnjarenjnotnjallowed,njsonj1,333,555njmustnjbenjwrittennjasnj1333555.

Incrementalnjdevelopmentnj-njanswer--
Thenjprocessnjofnjwriting,njcompiling,njandnjtestingnjanjsmallnjamountnjofnjcode,njthennjwriting,njcompiling,njandnjtestingnjanj
allnjamountnjmorenj(annjincrementalnjamount),njandnjsonjon.

Floating-pointnjnumbernj-njanswer--Anjrealnjnumber,njlikenj98.6,nj0.0001,njornj-666.667.

Floating-pointnjliteralnj-njanswer--
Anjnumbernjwithnjanjfractionalnjpart,njevennjifnjthatnjfractionnjisnj0,njsuchnjasnj1.0,nj0.0,njornj99.573.

Functionnj-njanswer--
Anjlistnjofnjstatementsnjexecutednjbynjinvokingnjthenjfunction'snjname,njwithnjsuchnjinvokingnjknownnjasnjanjfunctionnjcall.

Typenjconversionnj-njanswer--Anjconversionnjofnjonenjdatanjtypenjtonjanother,njsuchnjasnjannjintegernjtonjanjfloat.

Implicitnjconversionnj-njanswer--
Whennjanjprogramnjautomaticallynjperformsnjseveralnjcommonnjconversionsnjbetweennjintegernjandnjfloatnjtypesnj(asnjwe
asnjothers).

Typenjcastnj-njanswer--Convertsnjanjvaluenjofnjonenjtypenjtonjanothernjtype.

Stringnj-njanswer--Anjsequencenjofnjcharacters,njlikenj"Hello".

Booleannj-njanswer--Refersnjtonjanjquantitynjthatnjhasnjonlynjtwonjpossiblenjvalues,njtruenjornjfalse.

Arraynj-njanswer--
Annjorderednjlistnjofnjitemsnjofnjanjgivennjdatanjtype,njlikenjannjarraynjofnjintegersnjornjannjarraynjofnjfloats.njArraynjindicesnjstar
romnj0,njnotnj1.
2nj/
nj6

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.
lectsamier stuvia
View profile
Follow You need to be logged in order to follow users or courses
Sold
13
Member since
1 year
Number of followers
2
Documents
3248
Last sold
2 months ago
lectsamier

Welcome to examlecturer1 The place to find the best study materials for various subjects. You can be assured that you will receive only the best which will help you to ace your exams. All the materials posted are A+ Graded. Please rate and write a review after using my materials. Your reviews will motivate me to add more materials.

0.0

0 reviews

5
0
4
0
3
0
2
0
1
0

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