CS 50 Homework 10 (Section 1 — Prof. Marshall)

Due by class time Tuesday, April 16

If you wish, you may work with one other person on this assignment. If you work with a partner, turn in only one copy of your code, but include both of your names in a comment at the top of each file.

  1. Letter Frequencies. Finish Problem 3 from Lab 11. You can find a copy of the lab handout in the CS 50 class folder under Labs/Lab11 (or click here). Files to submit: LetterFreqs.java

  2. The Game of Life. Programming Exercise P11.17 (page 476), with the following modifications:


EXTRA CREDIT PROBLEM

  1. The Vigenère Cipher. Programming Exercise P13.4 (page 558). Files to submit: Cipher.java


Turning in Your Homework

To turn in your homework, put the specified files into a single folder named Your Name HW 10 and drop this folder into the drop box. If you work with a partner, put both of your names on the folder. If you are an off-campus student, you may copy your folder to a CLEAN floppy disk (one containing no other files or folders), and hand this in at the beginning of class, instead of using the drop box.