Q. Write the term suitable for following description:


(a) A name inside the parentheses of a function header that can receive a value.

(b) An argument passed to a specific parameter using the parameter name.

(c) A value passed to a function parameter.

(d) A value assigned to a parameter name in the function header.

(e) A value assigned to a parameter name in the function call.

(f) A name defined outside all function definitions.

(g) A variable created inside a function body.


Answer =

(a) Parameter.
(b) Keyword argument.
(c) Argument.
(d) Default argument.
(e) Keyword argument.
(f) Global variable.
(g) Local variable.

2 Comments

You can help us by Clicking on ads. ^_^
Please do not send spam comment : )

  1. Isn't the answer for d)default parameter

    ReplyDelete
    Replies
    1. It is correct. Please read question carefully.

      Delete

Post a Comment

You can help us by Clicking on ads. ^_^
Please do not send spam comment : )

Previous Post Next Post