Answer the following questions true (T) or false (F)
1. A call-by-reference parameter may pass data only out of a function.
2. A program should have all of its functions written before testing can begin.
1. False The reference parameter is an alias for the caller's argument. The mechanism is to pass the address of the argument which is used where the parameter occurs. Hence, a reference parameter makes available to the function the initial and ongoing values of the caller's argument as well as providing a mechanism for the function to change the caller's argument.
2. False
Explanation: Functions that call other functions can be tested independently of the called functions by writing stub functions. Stub functions are very simple functions that do nothing much more than sending just enough data to the caller to allow testing..