Home »
MCQs »
Python MCQs
A function is a group of related statements which designed specifically to perform a ___
51. A function is a group of related statements which designed specifically to perform a ___.
- Write code
- Specific task
- Create executable file
- None of the mentioned above
Answer: B) Specific task
Explanation:
A function is a group of related statements designed specifically to perform a specific task. Functions make programming easier to decompose a large problem into smaller parts. The function allows programmers to develop an application in a modular way. As our program grows larger and larger, functions make it more organized and manageable.