r/learnprogramming • u/yet_another_cs_dude • Mar 14 '21
A collection of CS course notes - for free :)
Sorry, deleted the previous post but here's the link if anyone's interested: https://sarvasvarora.me/misc/course-notes
If someone's wondering why I removed them earlier,,, some student in my class warned me that I might be breaching code of conduct as a student. I wanted to make sure if everything's fine and turns out it is because for one, I'm not selling these and secondly, I don't claim the slides material (wherever it is) as mine.
If anyone still has any problem with it, lmk and I'll remove :)
6
u/ParticularSeesaw6 Mar 14 '21
I think ublock origin is blocking the notion.so links on his site. Couldnt see the links until l turned ubo off
1
u/yet_another_cs_dude Mar 15 '21
If there's some way to fix that (bypass ad blockers), then lmk plx. I use Jekyll for the website, so there might be some plugin etc. ??
1
u/ProfPragmatic Mar 14 '21
Do you have some special filters on? I use uBlock Origin and a PiHole, neither is blocking it
1
u/ParticularSeesaw6 Mar 15 '21
I had Fanboys social and annoyance filters turned on, after turning them off it works. I think these lines in the filter are the culprits:
@@||modernnotion.com^*/EmailShare.min.js
@@||modernnotion.com^*/FacebookShare.min.js
@@||modernnotion.com^*/SocialLinks.min.js
3
u/Pillaging-Pastor78 Mar 14 '21
Out here blessing McGill students🙏🏽😤
2
u/yet_another_cs_dude Mar 15 '21
HEYY it's so rare to find fellow McGillians lol. Very glad they'll help you :)
What classes are you taking?
3
u/Pillaging-Pastor78 Mar 19 '21
250 and 206 so these are really helpful lmao. Very good quality 😁!
2
3
u/joerulezz Mar 14 '21
As an aspiring CS High school teacher this is super helpful! I appreciate you!
1
u/yet_another_cs_dude Mar 15 '21
Thanks a lot (!!)
I hope that you'll become a teacher very soon, and keep knowledge as accessible as possible ^_^ Best of luck!
2
u/FrancoAmericano22 Mar 15 '21
Graduated from McGill CS & Econ last year. Best of luck, and whatever you do, avoid MATH 240 with MacDonald at all costs!
1
57
4
1
u/le-kuz Mar 15 '21
Hi quick question: In COMP 250 Week 1 it says: „Leftmost binary digit in an integer, float, etc. represents the sign of the number. 0 means positive and 1 means negative.“ Isn't it the other way around?
Anyway, thanks so much for taking those notes so precisely and secondly thank you for sharing it in this comfortable way! Great work!
1
u/yet_another_cs_dude Mar 15 '21
Um, nope. For signed numbers, the MSB is 0 for positive and 1 for negative.
Thanks for your kind words :)
1
3
3
2
2
2
2
2
2
2
2
2
2
u/AmericanBlackBear Mar 14 '21
Thank you for sharing and for the effort you put in designing them. For whatever help they will be to me.
2
2
2
2
2
2
2
2
2
2
1
u/sadcollegegorl Mar 15 '21
Can you put all the notes together into one workspace? Makes it way easier to navigate than putting them as different pages
1
u/EnvyMyWishes Mar 14 '21
I actually have CS courses on vid from Harvard university 😶 intro to CS actually... But still pretty good :)
0
Mar 14 '21
[deleted]
33
u/ProfPragmatic Mar 14 '21
As helpful the notes might be, it's hard to learn computer science from notes alone. These notes might be a helpful reminder or can be used in lieu of making your own for those subjects. To learn from scratch it might be better to go with a proper programming intro course like CS50 and then use some of these notes as references
0
Mar 14 '21
[deleted]
9
u/ProfPragmatic Mar 14 '21
I'm not a huge fan of OSSU. In their aim to be comprehensive they overwhelm people with an incredibly large variety of courses which will likely cause analysis paralysis than actually help. In terms of self learning, I'm a fan of the Teach Yourself CS curriculum, it covers the "core" CS subjects, then you can branch out yourself.
Whether you will be on par with an actual computer science student who's gone through university, I'd say it depends on your definition of CS. If you mean theoretical CS then it's hard to say really, the average student probably has more exposure to academia, if you mean programming then sure, CS grads spend way more time learning the rigourous theory than learning programming. If you learn the more practical aspects you can catch up in that aspect
4
u/Spood___Beest Mar 14 '21
Agreed, OSSU is more useful imho as a "pick and choose" course list once you know what you want to specialize in. I think everybody already decently comfortable with a programming language should read the architecture/distributed systems book at least, it's pure gold. It clarified so much of software engineering that my profs weren't able to.
4
u/ProfPragmatic Mar 14 '21
Yup, I'm yet to read the book on Computer Architecture, it's on my plan to read but Designing Data Intensive systems by Martin Kleppmann is a fascinating read indeed
0
Mar 14 '21
[deleted]
3
u/ProfPragmatic Mar 14 '21
A software dev doesn't need to know the entire curriculum a CS grad needs to know. The difference is like a Mechanical Engineer and a car repair guy. The latter can benefit to some extent from the formers curriculum but strictly speaking it's not needed.
Still learning the "core CS" subjects can definitely be helpful while tackling bigger problems you'll face as a software dev. If you want to explore the syllabus I recommend picking a university of your choice and checking their CS program. As for picking up the subject as I said in a previous comment teachyourselfcs.com is a very good starting point.
4
u/narf007 Mar 14 '21
www.learncpp.com will get the ball rolling for you.
0
Mar 14 '21
[deleted]
4
u/narf007 Mar 14 '21
My friend, the sky isn't the limit. This site is an amazing resource that is CONSTANTLY kept uptodate and maintained. If you follow this, you will end up with a rather solid baseline understanding of CPP and object-oriented programming. You can then branch out and go down whatever rabbit-hole you want. I can't tell you where to go next, but I guarantee you'll know where you want to go next when you finish the lessons on learncpp.com
2
u/TheMartinG Mar 14 '21
What are your goals?
“As good as a CS student” is kinda meaningless.
First of all, I went to school with some shitty CS students.
Second, this is beat to death on this and all programming subs but, CS is very broad and doesn’t just mean “programming” like many people think. A CS degree would ideally help you understand computing more, but if your goal is to be a great programmer a CS degree will not necessarily be the best at that. Many self-taught or boot camp programmers will be better than many CS grads at programming.
0
Mar 14 '21
[deleted]
3
u/TheMartinG Mar 14 '21
You don’t sound dumb. The main set of people who go into CS want to work as programmers, but there’s so much more to it. Also, my school (and many others from what I’ve seen on Reddit) only taught very entry level classes in programming. My school required intro to Python, choice of object oriented programming in C or object oriented programming in Java. Data structures and algorithms in Python, and functional programming in Haskell, prologue and some other one I can’t remember.
My CS degree also offered a CCNA certs worth of networking, required discrete math, linear algebra and calculus i and II, a stats course, a graphics course, an AI/ML course and other courses I can’t remember that dealt with things not entirely related to programming.
I am a programmer now and don’t use any of the math, but I could have gone into a different field with this degree and not have done as much programming
42
u/Leonos8 Mar 14 '21
Thank you, these look like great notes so far, but out of curiosity, why are there so few classes? Are those the only CS classes or is there another reason? And will there eventually be more or is this it? Even if these are all, I’m not complaining, these are great notes and I’m very grateful:)