Meeting 4 pre-work

This week's pre-work is drawn from Week 2 of the CS50x course. Don't worry if you haven't finished Problem Set 1 yet, much of the information is helpful and relevant. On the other hand, if you haven't done all the pre-work for Meetings 0-3, you might consider doing those before doing this pre-work if you find this confusing.

Please try to spend at least 1-2 hours on pre-work before our next meeting.
    For the videos, I encourage you to pause, rewind, and replay parts that you find confusing or don''t understand the first time. That's the beauty of the flipped classroom with videos. The speaker is happy to repeat things over and over, and nobody will know you chose to listen to it repeatedly.

    Here's the work for this week:
    • Watch segments of Week 2 Lecture. Watch these parts:
      • Minutes 0:00 - 8:53 : This looks at some simple loops and some common bugs that appear when writing loops.
      • Minutes 20:00 - 50:00: This introduces functions in the main lecture, with a focus on good design techniques; a discussion of strings; and a teaser for the cryptography problems on PSet 2.

    • Read the CS50 style guide. Good style is very important for writing code that is readable by a human. Following the style guide will make it easy for you to find bugs.

    • Read about Arrays, pages 94-103 in Programming in C, Fourth Edition by Stephen G. Kochan
    Please don't hesitate to email me for help with questions or code before our next class. I am also frequently on Google Hangouts -- try chatting with me for faster response.
    Comments