Vigyata.AI
Is this your channel?

Attempting to do my freshman CS homework | UC Berkeley

99.8K views· 1,502 likes· 21:13· May 16, 2020

🛍️ Products Mentioned (4)

a long awaited computer science related video that is also very long 😆 Midterm version: https://youtu.be/7sen9_E07ZI Download Sololearn for free with the links down below iOS: http://sololearn.com/redirect/T5gnHLFU9024Ph9OdLMERQ Android: http://sololearn.com/redirect/2mTnDx5Tl0KE7VLtzoNrCA Try the assignment yourself: https://cs61a.org/hw/hw01/ You can contact me here: https://www.instagram.com/edwardbsa/ edward.sa.baijie@gmail.com Music I use: http://share.epidemicsound.com/edwardsa FTC: This video is sponsored by Sololearn

About This Video

In this video I went back and redid the very first CS homework I ever had at UC Berkeley (CS 61A), even though the semester’s long over and we’re not doing Zoom University anymore. I’m honestly kind of missing school… but I do not miss homework. The twist is I’m also super rusty on Python, so you get the full “freshman energy” experience: downloading the HW zip, opening the starter code, running the autograder in the terminal, forgetting to save, and then realizing the bug wasn’t my logic—it was me. I walk through a bunch of classic CS61A-style problems: adding the absolute value without calling abs(), summing squares of the two smallest numbers (I definitely took a shortcut that “probably isn’t how they wanted me to do it,” but it passed), finding the largest factor, and the infamous if-function vs if-statement question that exposes how Python evaluates function arguments. We finish with the hailstone (3n+1) sequence, where I hit the classic infinite loop mistake and fix it live. If you want to try it yourself, the whole assignment is public online, and this video is mostly for entertainment—but you’ll still pick up real Python debugging habits along the way.

Frequently Asked Questions

🎬 More from Edward Sa