Problem Set 1

What to Do

  1. Log into code.cs50.io using your GitHub account and follow the on-screen instructions to set up your very own “codespace” for Visual Studio Code
  2. Once your codespace has loaded, close any Welcome tabs that might have opened by default
  3. In Codespace’s terminal, complete the steps under SSH at cs50.readthedocs.io/github/#ssh to configure your codespace for some of CS50’s command-line tools
  4. Log into submit.cs50.io using your GitHub account and click Authorize to activate check50.
  5. Run update50 in your codespace’s terminal window to ensure your codespace is up-to-date and, when prompted, click Rebuild now
  6. Submit Hello
  7. Submit one of:
  8. Submit one of:
    • Cash if feeling less comfortable
    • Credit if feeling more comfortable
  9. Submit this form.

If you submit both versions of Mario, we’ll record the higher of your two scores. If you submit both Cash and Credit, we’ll record the higher of your two scores.

When to Do It

By 2022-06-27T11:59:00-04:00.

How to Get Help

  1. Ask questions on Ed
  2. Attend office hours
  3. Email your teaching fellow

Advice

  • Try out any of David’s programs from class via Week 1’s source code.
  • See CS50’s style guide for C for tips on how to improve your code’s style.
  • If you see any errors when compiling your code with make, focus first on fixing the very first error you see, scrolling up as needed. If unsure what it means, try asking help50 for help. For instance, if trying to compile hello, and
    make hello
    

    is yielding errors, try running

    help50 make hello
    

    instead!