1. In the function random_fractal the value epsilon was used to A. to force the recursion to continue B. stop the recursion C. to determine the length of the line between mid_height and right_height D. to allow a calculation for the value of the fractal. 2. An activation record stores A. the command that allows a function to activate. B. an address for function. C. where the function returns and its local variables and parameters. D. the record of how inherited classes relate to each other.
1. B. In random_fractal method, value epsilon is denoted as maxi mum length of an individual line segment.. we keep breaking the line into fractals till the time we reach till the length of epsilon..hence epsilon is used to stop the recursion.
2. C. The activation record stores all the information of the method B, which has called the current method A, along with the local variables and parameters of B. This activation records are stored one above other in a stack.