Function || Fill in the Blanks || Class 12




1. A set of instructions/operations which is a part of a program and can be executed independently is called a _____.

2. Python passes parameters by _____.

3. The variable declared outside all the functions is called a _____ variable.

4. The order in which statements are executed during a program run is called the _____ of execution.

5. A _____ is a file containing Python definitions and statements intended for use in other Python programs.

6. Functions that do not explicitly return a value return the special object _____.

7. The first line of a function definition is called _____.

8. The function which is written by the programmer as per his/her requirements is known as _____ function.

9. A function is said to be _____ if it calls itself.

10. _____ act as a means of communication between the called and calling function.

11. The _____ of a variable is the area of the program where it may be referenced.

12. The terminating condition used for solving a problem using recursion is termed as the _____ for that problem.

13. A _____ is a subprogram that acts on data and often returns a value.

14. Python names the top level segment (main program) as _____.

15. In Python, program execution begins with first statement of _____ segment.

16. The values being passed through a function-call statement are called _____.

17. The values received in the function definition/header are called _____.

18. A parameter having default value in the function header is known as a _____.

19. A _____ argument can be skipped in the function call statement.

20. _____ arguments are the named arguments with assigned values being passed in the function call statement.

21. A void function also returns a _____ value to its caller.

22. By default, Python names the segment with top-level statements (main program) as _____.

23. The _____ refers to the order in which statements are executed during a program run.

24. The default value for a parameter is defined in function _____.


Answer =

 
1. function
2. value
3. global
4. flow
5. module
6. None
7. function header
8. user-defined
9. recursive
10. Argument / Parameter
11. scope
12. base class
13. Function
14. __main__
15. __main__
16. argument / actual parameters / actual argument
17. parameter / formal parameter / formal argument
18. default parameter
19. default
20. keyword
21. None
22. __main__
23. Flow of execution
24. header

Post a Comment

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

Previous Post Next Post