33) Each time the order of a Koch fractal increases by one, the number of straight line segments
A) increases by a factor of two
B) increases by a factor of three
C) increases by a factor of four
D) is squared
E) is cubed
34) The difference between direct and indirect recursion is
A) direct recursion occurs when a method invokes itself; indirect recursion occurs when there is
an intervening method
B) indirect recursion occurs when a method invokes itself; direct recursion occurs when there is
an intervening method
C) direct recursion only occurs with methods declared to be private; indirect recursion can occur
with methods declared to be private, protected, or public
D) indirect recursion only occurs with methods declared to be private; direct recursion can occur
with methods declared to be private, protected, or public
E) none of the above
35) An infinite loop and an infinite recursion
A) are different because it is impossible to detect the latter, while it’s quite easy to detect the
former
B) both continue to repeat indefinitely
C) both will be caught by the compiler
D) both will be caught by the Java Virtual Machine during execution
E) none of the above