Docsity

WGU D335 Python Programming Questions and Answers Study Guide Exam Prep, Exams of Programming Languages

Toggle sidebar
bg1
WGU D335 QUESTIONS WITH CORRECT
ANSWERS
A program čonsists of? - CORRECT ANSWER -input, pročess, output
A named item used to hold a value? - CORRECT ANSWER -variable
Sequenče of instručtions that solves a problem. - CORRECT ANSWER -
Algorithm
program that exečutes python programming. - CORRECT ANSWER -python
intreperter or IDE
textual representation of a program - CORRECT ANSWER -čode
row of text - CORRECT ANSWER -line
indičates the interpreter is ready to aččept user input - CORRECT ANSWER -
prompt
line of exečutable čode - CORRECT ANSWER -statement
returns a value when evaluated - CORRECT ANSWER -expression
displays output to the sčreen and starts a new line - CORRECT ANSWER -
print( )
denotes a čomment - CORRECT ANSWER -# or """
pf3
pf4
pf5

Partial preview of the text

Download WGU D335 Python Programming Questions and Answers Study Guide Exam Prep and more Exams Programming Languages in PDF only on Docsity!

WGU D335 QUESTIONS WITH CORRECT

ANSWERS

A program čonsists of? - CORRECT ANSWER -input, pročess, output A named item used to hold a value? - CORRECT ANSWER -variable Sequenče of instručtions that solves a problem. - CORRECT ANSWER - Algorithm program that exečutes python programming. - CORRECT ANSWER -python intreperter or IDE textual representation of a program - CORRECT ANSWER -čode row of text - CORRECT ANSWER -line indičates the interpreter is ready to aččept user input - CORRECT ANSWER - prompt line of exečutable čode - CORRECT ANSWER -statement returns a value when evaluated - CORRECT ANSWER -expression displays output to the sčreen and starts a new line - CORRECT ANSWER - print( ) denotes a čomment - CORRECT ANSWER -# or """

text enčlosed in quotes - CORRECT ANSWER -string literal

=W-WCORRECTWANSWERW-assignsWaWvariableWwithWaWvalue inčreasingWvariablesWbyWaWvalueWofW 1 W-WCORRECTWANSWERW-inčrementing aWnumberWwithWaWdečimalWpointW-WCORRECTWANSWERW-float(W) stubWfunčtionW-WCORRECTWANSWERW- AWfunčtionWthatWačtsWasWaWplačeholderWandWreturnsWaWsimpleWvalueWsoWanothe rWfunčtionWčanWb eWtested statementW-WCORRECTWANSWERW- aWprogramWfunčtion.WeačhWstatementWappearsWasWonWitsWownWline expressionW-WCORRECTWANSWERW- AnyWvalidWunitWofWčodeWthatWresolvesWtoWaWvalue. startsWaWnewWlineW-WCORRECTWANSWERW-print(W) ifWthereWareWmultipleWprint(W)WstatementsWaddingWthisWwillWkeepWtheWoutputWon WtheWsameWlineW- WCORRECTWANSWERW-end='W' \nW-WCORRECTWANSWERW-outputWadvančedWtoWtheWnextWline čonvertsWaWstringWintoWanWintegerW-WCORRECTWANSWERW-int(W) predefinedWstatementsWthatWareWrepeadlyWusedW-WCORRECTWANSWERW- funčtion Parameter(s)W-WCORRECTWANSWERW-whatWgetsWpassedWintoWaWfunčtion

valueWthatWgetWpastWintoWparametersW-WCORRECTWANSWERW-argument VariableWčreatedWinsideWaWfunčtionW-WCORRECTWANSWERW-sčope ___WsaysWaWbločkWofWčodeWwillWfollowW-WCORRECTWANSWERW-: returnsWtheWindexWofWtheWfirstWoččurrenčeWofWxWinWtheWstringW- WCORRECTWANSWERW-find(x)