This document is partially blurred.
Unlock all pages and 1 million more documents.
Get Access
Questions for Chapter 8
1) Give an explanation for the following statement: “Recursion is more appropriately
described as a programming technique rather than as a control construct.”
Recursion is not a program statement with a special word that identifies it as part of the
2) In what way(s) is a recursive method similar to a While loop?
Both allow instruction(s) to be repeatedly run. And both typically use a condition to
3) A programmer who wishes to write a recursive method will use a statement that evaluates
a condition that determines whether the method will call itself again. In Alice, what is the
4) One “flavor” of recursion is generative, where actions build up and up until some
conditional goal is met. Describe the second “flavor” of recursion.
5) At least one of the cases in an If/Else statement must not include a recursive call. Why?
Trusted by Thousands of
Students
Here are what students say about us.
Resources
Company
Copyright ©2022 All rights reserved. | CoursePaper is not sponsored or endorsed by any college or university.