Multiple Choice
Case Study 1:
1. def drawSquare(aTurtle, side) :
2. for i in range(4) :
3. aTurtle.forward(side)
4. aTurtle.right(90)
5.
6. def nestedBox(aTurtle, side) :
7. if side >= 1:
8. drawSquare(aTurtle, side)
9. nestedBox(aTurtle, side - 5)
-Refer to the session in the accompanying Case Study 1. Line ____ represents the recursive step.
A) 2
B) 7
C) 8
D) 9
Correct Answer:

Verified
Correct Answer:
Verified
Q12: When drawing a Koch snowflake, what is
Q13: Recursion can be used to express mathematical
Q14: In computer science, a grammar consists of:<br>A)
Q15: What is the best description of the
Q16: In a recursive function, the _ identifies
Q18: How is the Sierpinski triangle drawn?<br>A) The
Q19: A fractal tree requires only one recursive
Q20: Every recursive program must have a base
Q21: Case Study 3:<br>Axiom A<br>Rules A → B<br>B
Q22: Match each definition with its phrase.<br>-Fractal algorithm