Python Functions Quiz

Python Functions Quiz

1) The default return value of the function that does not return any value is?

2) Name of the area of the memory where Python stores the parameters and local variables of the function?

3) Which of the following statement is False?

4) Which of the following is the incorrect way to call a function?

5) Variables defined outside the function are known as?

6) Variables defined inside the function are known as?

7) Which argument type is optional in the function call?

8) Which of the following is the invalid return statement?

9) A Python function can return only single value?

10) The value that is passed through a function call is called?

11) The value that is received in a function definition is called?

12) The parameters with the default value in the function header are known as?

13) Which of the function definitions is the correct one?

14) A default argument can be placed before or after the non-default arguments?

15) Which of the following is the correct way to call a function?

16) A local variable with same name hides the global variable?

17) Which of the following are the part of the function header?

Your score is

The average score is 64%

0%