9
QuizMultiple Choice

Iteration — Unit test

Question 9 • VA-Information Technology Fundamentals B

What part of the code is a signal for the function to execute and pass back a value?

Answer
A
the parameter
B
the return statement
C
the keyword argument
D
the exit line

Explanation

The return statement sends a value back from a function to the code that called it. It also ends the function’s execution at that point. A parameter or keyword argument supplies information to a function, but does not itself pass a result back.

AI-written and checked against the verified answer.

Previous
Next