Problem Set 4: Forensics

tl;dr

  1. Attend or watch Lecture 4.

  2. Figure out whodunit.

  3. Resize some images.

  4. Recover some photos

  5. Submit your code.

  6. Submit a form.

Help

  • Watch Zamyla’s walkthroughs herein.

  • Attend your TF’s section (or another if you have a time conflict).

  • Use help50 (if unsure what an error message means) and debug50 (if your code is buggy).

  • Post questions and search answers in CS50 Discourse.

  • Attend office hours.

Getting Started

Log into cs50.io and execute the below in a terminal window.

update50
mkdir ~/workspace/pset4/
cd ~/workspace/pset4/

What to Do

  1. Implement Whodunit

  2. Implement either of:

  3. Implement Recover

How to Submit

Step 1 of 2

  1. Log into CS50 IDE and open a terminal window, if not open already.

  2. Ensure your workspace is up-to-date by executing:

    update50
  3. Submit Whodunit:

    cd ~/workspace/pset4/whodunit/
    submit50 cs50/2018/spring/whodunit
  4. Submit either or both of:

    • Resize, less comfortable:

      cd ~/workspace/pset4/resize/less
      submit50 cs50/2018/spring/resize/less
    • Resize, more comfortable:

      cd ~/workspace/pset4/resize/more
      submit50 cs50/2018/spring/resize/more
  5. Submit Recover:

    cd ~/workspace/pset4/recover
    submit50 cs50/2018/spring/recover

Step 2 of 2

Submit https://forms.cs50.net/2018/spring/psets/4! Note that this form has a few questions related to mid-semester feedback for the course’s staff, and so will take a little bit longer than the last few forms.

This was Problem Set 4.