**THIS IS AN IN CLASS EXCERCISE AND WILL NOT DIRECTLY AFFECT YOUR GRADE**

* Your solutions will be evaluated by the TAs to judge your knowledge of the material so please write neatly and keep your solution organized.

Problem 1: List the problem solving techniques discussed in lecture and give an example problem where each would be useful.

Problem 2: Analyze, design, implement a solution to randomly generating six two-digit numbers. Solve the problem by parsing the random number mathmatically and as a String. Also, show how these solutions could be created iteratively and recursively.

Problem 3: Determine whether and where two squares overlap on the xy-coordinate system.

Problem 4: Determine whether and where two rectangles overlap on the xy-coordinate system.

Problem 5: Determine whether and where a circle and a rectangle overlap on the xy-coordinate system.

Problem 6: Define assertion terms: pre conditions, post conditions, and invariants, giving examples of the difference between pre/post conditions and invariants.

Problem 7: Add assertions to your analysis in class exercise #2 problem 5 and class exercise #1 problem 2.