48.3k views
5 votes
Which of the following describe a required

argument? Check all that apply.
an argument that does not need to be
specified
an argument defined by its parameter name
an argument passed to the function in the
correct positional order
an argument wherein the number of
arguments in the function call should match
the definition of the function
DONE

2 Answers

5 votes

Answer:

Its the last two points

Step-by-step explanation:

User MKaz
by
5.2k points
2 votes

Answer:

The last 2 point in the given question is the correct answer to the given question i.e

  • an argument passed to the function in the correct positional order
  • an argument wherein the number of arguments in the function call should match the definition of the function.

Step-by-step explanation:

The required argument are those argument that are passing to the method the in the right location order.In the required argument the number of arguments in the call method must match the definition of the function .

For example

def fun( s ): #function definition

print(s) #display s

fun('er')#calling

In this example there is function fun() in which we pass the argument 'er' we call that function from main() .The control moves to the function definition it checks the number of argument in the calling function fun() is matched with the definition of function fun() and print 'er'.

All the other option are not describing the required argument that's why this is incorrect option .

User XpressGeek
by
5.3k points