Review Questions and Excercises

Fill-in-the-Blank
1. A(n) _________ is information that is being passed to a function.

argument

arguments are supplied by the caller

parameters are used when defining the function

so, f(x) = x*5 -- x is the parameter

y = f(4) -- 4 is the argument
y = f(sin(pi)) -- sin(pi) is the argument

Thank you Steve I really appreciate your help.

To answer this question, you need to recall the definition of a term related to functions. In this case, the term is related to information that is passed to a function.

The term that fits into the blank is "argument." An argument is the information that is passed to a function when it is called. It is used to provide data or instructions that the function can operate on.

So, the answer to the fill-in-the-blank question is:

1. A(n) argument is information that is being passed to a function.