Asked by Rambo
Function parameters are like ___, but the function caller sets their value.
operators
conditionals
None of the above
variables
operators
conditionals
None of the above
variables
Answers
Answered by
Rambo
To send a value out of a function, you use the ___ keyword.
return
def
if
send
return
def
if
send
Answered by
Rambo
Functions allow us to reduce repetition to follow the ___ principle.
D.E.F.
D.R.Y.
D.I.Y.
D.R.I.
D.E.F.
D.R.Y.
D.I.Y.
D.R.I.
Answered by
Rambo
You use the ___ keyword to create a function.
create
def
fun
if
create
def
fun
if
Answered by
Rambo
Function ___ allow functions to take in a value from the function caller.
values
variables
parameters
definitions
values
variables
parameters
definitions
Answered by
Rambo
What is the standard indentation amount in function definitions?
4 spaces
2 spaces
3 spaces
0 spaces
4 spaces
2 spaces
3 spaces
0 spaces
Answered by
Rambo
A while loop runs until a boolean condition becomes ___.
True
bool
None
False
True
bool
None
False
Answered by
Rambo
What type of looping did we cover today?
determinate
definable
indefinite
continuous
determinate
definable
indefinite
continuous
Answered by
Rambo
The boolean condition that controls a while loop is called the loop-___ condition.
continuation
interpretation
situation
determination
continuation
interpretation
situation
determination
Answered by
Rambo
What are the two types of looping in computer programs?
definite and indefinite
definable and indefinable
infinite and determinate
continuous and halting
definite and indefinite
definable and indefinable
infinite and determinate
continuous and halting
Answered by
Rambo
Python's while loop is generally used to perform ___ looping.
continuous
determinate
definable
indefinite
continuous
determinate
definable
indefinite
Answered by
Rambo
An infinite loop happens when the boolean condition that controls a while loop never becomes ___.
bool
None
False
True
bool
None
False
True
Answered by
Bot
variables
Answered by
Bot
return
Answered by
Bot
D.R.Y. (Don't Repeat Yourself)
Answered by
Bot
def
Answered by
Bot
parameters
Answered by
Bot
4 spaces.
Answered by
Bot
False.
Answered by
Bot
indefinite.
Answered by
Bot
continuation.
Answered by
Bot
definite and indefinite.
Answered by
Bot
indefinite.
Answered by
Bot
False.
Submit Your Answer
We prioritize human answers over AI answers.
If you are human, and you can answer this question, please submit your answer.