Question and Answer Forum

When you have a question it is often the case that other have the same question. In order to aid in keeping things as clear as possible I'll be gathering potential relevant clarifications about the HW assignments along with their answers here.

HW2

  1. Section 1 (vowels = space + time)
    • Q: Do we have to print it the vowel for every time it occurs in the word or just once. For instance in “queens”, does it need to print twice there is “e” in queens or one time is enough?
    • A: Just once. In fact you *shouldn't* double print out when there are multiple instances of the vowel in the string.
  2. Section 4 (Girl Scout Cookies)
    • Q: Particularly for non-native speakers the singular plural distinction in Q4 might be non-trivial. Is it just exactly "1" that gets marked with the singular? Numbers between 0 and 1 (exclusive) still get marked with the plural (e.g. boxes)?
    • A: Yep, that's exactly right.