Answer: True, stub function is a dummy function that is called instead of actual function.
Explanation: A stub function is a function which has the name , parameters of a function but is used for production of the dummy output which is in correct form. It is put in a function so that it becomes convenient when a function is called it can be tested before it is completely written which saves the execution of wrong code.Therefore the given statement is true.