Java Assignments

[back]

You have to use the textbook. On Practice-It!, look for "Related Files" links.
Textbook code can be found on my main Java page here.

Set Self Check (SC) -- Currently exist in Practice-It!: SC 3, 4, 5, 6, 13, 14, 15.                  
 

All questions in Practice-It!
except (extra): SC 12.14 (mystery5).

It's a challenge to learn to think differently!

 
     
Set Exercises (E) -- Currently exist in Practice-It!: E 1–3, 6–14, 18–22.  
 

All questions in Practice-It!

Important Note: all questions have to be solved with recursion. There are no (or almost no) situations in which you are allowed to use a loop. You are learning to think differently.

Hint: The textbook provides useful templates. For the basic idea, see the beginning of the chapter. Look at templates for recursive backtracking in Chapter 12.5. The most general template spans pages 788-789.

E 12.18 (waysToClimb) has its template on the bottom of page 787.

E 12.20 is a permutation problem. Permutations are covered in E 12.15 (which is not in Practice-It!).

 

Latest update: Friday, September 12, 2014 1:38 PM