teaching machines

CS 245 Lab 6 – Recursion

February 28, 2014 by . Filed under cs245, labs, spring 2014.

First, if you have checkpoints left over from last lab, get them inspected during the first 15 minutes of this lab. No credit will be awarded past these 15 minutes.

Work in pairs, where possible. Prefer working with someone that you did not work with last week. The exchange of new ideas and perspectives is not an opportunity you want to rob yourself of.

Synopsis

In this lab, you will try your hand at some recursion problems on CodingBat. Recursion takes practice. After a while, the pattern becomes entrenched in your brain and it’s no longer all that crazy.

Checkpoint 1

Person A types.

Solve two problems from either the Recursion-1 or Recursion-2 sections.

Checkpoint 2

Person B types.

 Solve two problems from either the Recursion-1 or Recursion-2 sections.