5
AssignmentMultiple Choice

Unit Test

Question 5 • VA-Information Technology Fundamentals B

Which of the following describes a default argument?

Answer
A
an argument that allows you to skip an argument
B
an argument passed to the function in the correct positional order
C
an argument that can be called by parameter name
D
an argument that does not need to be specified

Explanation

A default argument has a preset value in the function definition, so you do not need to provide that argument when calling the function. If you omit it, the function uses the preset value. Therefore, the correct choice is “an argument that does not need to be specified.”

AI-written and checked against the verified answer.