Chapter 4: Python Functions

 

Results

Previous
Next

#1. In file handling, what does this terms means ‘r’,’a’?

Previous
Next

#2. _________ is a group of related statements that perform a specific task.

Previous
Next

#3. ________ help break our program into smaller and modular chunks.

Previous
Next

#4. Function avoid ________ and makes code reusable.

Previous
Next

#5. _________ functions are functions that are built into python.

Previous
Next

#6. _______ functions are functions defined by the users themselves.

Previous
Next

#7. Keyword _____ marks the start of function header.

Previous
Next

#8. A function _____ to uniquely identify it.

Previous
Next

#9. _______ through which we pass values to a function.

Previous
Next

#10. A ________ to mark the end of function header.

Previous
Next

#11. An optional _______ statement to return a value from the function.

Previous
Next

#12. The first string after the function header is called the _________

Previous
Next

#13. The _____ statement is used to exit a function and go back to the place from where it was called.

Previous
Next

#14. _____ of a variable is the portion of a program where the variable is recognized.

Previous
Next

#15. ________ of a variable is the period throughout which the variable exits in the memory.

Previous
Next

#16. Function arguments can have ______ values in python.

Previous
Next

#17. ________ exceptions are raised as a result of an error in opening a particular file.

Previous
Next

#18. Python allows us to handle the kind of situation through function calls with _______ number of arguments.

Previous
Next

#19. _______ is the process of defining something in terms of itself.

Previous
Next

#20. To insert 5 to the third position in list1, we use which command?

Previous
Next

#21. _______ functions can have any number of arguments but only one expression.

Previous
Next

#22. _________ function is a function that is defined without a name.

Previous
Next

#23. Which of the following is invalid?

Previous
Next

#24. All keywords in the python are in

Previous
Next

#25. What is called when a function is defined inside a class?

Previous
Finish