3
AssignmentMultiple Select

Variables and Data Types

Question 3 • Introduction to Information Technology - EL3701

Which of the following describe a keyword argument? Check all that apply.

Answer
A
an argument in which the caller identifies it by parameter name
B
an argument that does not need to be specified
C
an argument describes the function
D
an argument in which order of arguments does not matter

Explanation

A keyword argument is identified by the parameter name in the function call, such as `greeting="Hi"`. Because each value is matched to its named parameter, the order of keyword arguments does not matter. A keyword argument is not necessarily optional, and it does not describe the function.

AI-written and checked against the verified answer.

Previous
Next