Function parameters are like ___, but the function caller sets their value.
operators
conditionals
None of the above
variables
23 answers
variables
To send a value out of a function, you use the ___ keyword.
return
def
if
send
return
def
if
send
return
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.
D.R.Y. (Don't Repeat Yourself)
You use the ___ keyword to create a function.
create
def
fun
if
create
def
fun
if
def
Function ___ allow functions to take in a value from the function caller.
values
variables
parameters
definitions
values
variables
parameters
definitions
parameters
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
4 spaces.
A while loop runs until a boolean condition becomes ___.
True
bool
None
False
True
bool
None
False
False.
What type of looping did we cover today?
determinate
definable
indefinite
continuous
determinate
definable
indefinite
continuous
indefinite.
The boolean condition that controls a while loop is called the loop-___ condition.
continuation
interpretation
situation
determination
continuation
interpretation
situation
determination
continuation.
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
definite and indefinite.
Python's while loop is generally used to perform ___ looping.
continuous
determinate
definable
indefinite
continuous
determinate
definable
indefinite
indefinite.
An infinite loop happens when the boolean condition that controls a while loop never becomes ___.
bool
None
False
True
bool
None
False
True
False.