CS371p Spring 2022: Week 4

Erika Tan
2 min readFeb 13, 2022

CS371p Spring 2022: Week 4

  1. What did you do this past week? We learned about exceptions on Monday, the difference between C and C++ strings on Wednesday, and then did a HackerRank exercise about strcmp on Friday. We also reviewed the * and & tokens in C++. Also, the Collatz project was due this past Tuesday.
  2. What’s in your way? The HackerRank on Friday stressed me out a little bit, because we only had a couple minutes left before we solved it and we thought that we might run out of time. I remember I used to speed through the exercises last year in SWE because I knew Python really well, but now this class is really testing my C++ skills. I’ll have to review C++ a bit more on my own to prevent these scares.
  3. What will you do next week? I’ll attend lectures, review Downing’s notes to prepare for the quizzes, and keep my eye out for the next project that he assigns.
  4. What did you think of Paper #4: Pair Programming? I agreed with a lot of the points made in the paper. I haven’t pair programmed for a class in a while, until this semester, and it takes a lot less time for me to complete the project when I’m working with someone else. Even when I compare progress on the same project, when I work with someone vs. when I go back home and take a crack at it myself for a bit, I’m definitely less focused and efficient by myself, and it’s easier to run into bugs when I code by myself too.
  5. What was your experience of exceptions and StrCmp? I’ve dealt with exceptions in Java and Python. The syntax for C++ is not too different. As for StrCmp, I remember a similar exercise we had to do in Python for SWE last year.
  6. What made you happy this week? My friends and I played badminton and went bouldering at Greg Gym a few times this week, which was really fun and helped me get my mind off of work temporarily.
  7. What’s your pick-of-the-week or tip-of-the-week? My tip of the week is to remind everyone to check Ed Discussion often! A lot of good threads were started right before the project was due, and they helped me double check that I was doing everything that was needed to get that E/M on the project.

--

--