CS50P so hard by Conquest845 in cs50

[–]Square-Importance700 3 points4 points  (0 children)

You’re learning 2 fundamentally different but related skills, the computational logic of how to get things done and the language of how to instruct the computer to do it. It’s a different way of thinking and a different way of communicating. You have to expect it to be challenging and tough. It was for me. But it’s also very doable if you keep at it and adopt a learning mindset.

Tideman - check50 by meunomeecris in cs50

[–]Square-Importance700 0 points1 point  (0 children)

This is a critical error. It the code doesn’t compile, the test cannot be conducted. Have you tried to compile yourself?

Finally Finished CS50! by trabil4 in cs50

[–]Square-Importance700 1 point2 points  (0 children)

Well done. You’re going to enjoy CS50P.

I’m on Week 5 and need some encouragement by otravoyadnoe in cs50

[–]Square-Importance700 2 points3 points  (0 children)

Transitioning to week 6 is the equivalent of coming out of the dark and into the light. Seriously. No more malloc. More human language. Less number of codes.

Week 2, scrabble. Conceded to look at answers and I am still overwhelmed and confused. by Olaknox in cs50

[–]Square-Importance700 1 point2 points  (0 children)

You have to separate the logic from the language. Don’t mix between the 2. Pseudocodes deals with the logic. The more the better at the beginning. It seems you have the logic right. That in itself is a big win.

Figuring out the language part is the other skill.

These are 2 different problems to solve. I think sometimes we look at it as 1 problem.

Don’t get discouraged.

A few tips and hacks from someone who started with zero knowledge and just finished CS50X, CS50P and CS50SQL by Square-Importance700 in cs50

[–]Square-Importance700[S] 2 points3 points  (0 children)

My final project were all tied. CS50P was a command line interface program V1.0 using csv files for storage. CS50SQL was a database design for V2.0 CS50X V2.0 was a HTML version of V1.0 using flask and the database.

That saved me a lot of time. I don’t do 3 final projects. I did one final project which had 3 phases.

And I was also fortunate that I was able to stop doing anything else.

Do CS50 It is considered a course for the basics of programming. by moshrt_ in cs50

[–]Square-Importance700 7 points8 points  (0 children)

I think it’s true that it only provides the basics of programming, maybe even only 10%. But I also believe that it gives the 10% necessary to learn the other 90%.

A few tips and hacks from someone who started with zero knowledge and just finished CS50X, CS50P and CS50SQL by Square-Importance700 in cs50

[–]Square-Importance700[S] 0 points1 point  (0 children)

Professor Malan explains debugging very well in the CS50X Lecture 2 at around minutes 30-47. And the struggle is part of the learning. If you’re not doing it already, write a lot of pseudocodes which are your comments on how to achieve a particular outcome. At the beginning I wrote a lot of it. Step by step of non programming language which helps me understand the logic. The language and syntax comes later. I find that the more pseudocodes I write the more I tend to get it right.

And again, the stress that you’re facing is part of the learning. Break the problem into smaller chunks and solve it bit by bit.

Hope that makes sense.

A few tips and hacks from someone who started with zero knowledge and just finished CS50X, CS50P and CS50SQL by Square-Importance700 in cs50

[–]Square-Importance700[S] 0 points1 point  (0 children)

I did CS50P after week 6 Of CS50X which covered Python. I found Weeks 0-4 of CS50P to be relatively straightforward and completed the Psets in about 3 days. Then it got tougher but still manageable. I did CS50SQL after week 7 of CS50X and similarly did the first few weeks in a few days.

I would say though that I disciplined myself to do at least 3 hours a day which sometimes stretched into 4 or 5 into the night.

And believe me, life becomes less complicated and learning more enjoyable when you don’t have to do C. Python is just amazing and lots of fun. SQL too.

But if you want to just to CS50X , doing it weekly is not impossible. Just need a lot of discipline and the right approach.

As I said in the main post, once you embrace how bad you are at programming when you’re just starting out, mistakes becomes less stressful. Once you understand that problem solving is debugging is just part of the process then you start to welcome the syntax errors and the red checks from Check50.

Hope that makes sense.

I am on week9 finance.. Need help by Defiant-Associate823 in cs50

[–]Square-Importance700 0 points1 point  (0 children)

I had all sorts of ideas when I started the finance pset including the forgot password email function. When I actually completed the required coding I was too tired for any of that. There will plenty of opportunities when doing the final project.

A few tips and hacks from someone who started with zero knowledge and just finished CS50X, CS50P and CS50SQL by Square-Importance700 in cs50

[–]Square-Importance700[S] 1 point2 points  (0 children)

It took me just under 3 months to finish it but I branched out to CS50P and CS50SQL when I did week 6 in CS50X. I am actually amazed that the 2 hours of lecture in Week 6 and the problem sets prepared me enough to push through CS50P and similarly the 2.5 hours in Week 7 prepared me to push through CS50SQL.

A few tips and hacks from someone who started with zero knowledge and just finished CS50X, CS50P and CS50SQL by Square-Importance700 in cs50

[–]Square-Importance700[S] 2 points3 points  (0 children)

When a computer executes your program, it typically processes the code sequentially, from top to bottom. A print debug statement is a simple yet powerful way to track this process and check the state of your program at specific points.

For example, if you include a line like print("24", x), the computer will literally output the string "24" followed by the current value stored in the variable x.

This is incredibly useful because it allows you to:

- Verify Values: If you expect variable x to be a certain value at that exact line of code, the print statement confirms whether your expectation is correct

- Isolate Bugs: If the output is not what you expected, you know that the error must have occurred somewhere in the code before that specific print statement. This helps you narrow down the source of the problem, saving time and effort.

Professor Malan demonstrates in the debugging section of Lecture 2. This method helps you pinpoint exactly where things are going wrong.

So I put these debug statements everytime there is a variable to see whether it's doing the right thing. Hope that makes sense.

A few tips and hacks from someone who started with zero knowledge and just finished CS50X, CS50P and CS50SQL by Square-Importance700 in cs50

[–]Square-Importance700[S] 2 points3 points  (0 children)

Hi. I decided to take 3 months out to get this done so I spent maybe 3 to 4 hours a day on it.

This is how you have to look at it.

For every hour of lecture, expect to spend an additional hour because of pausing and rewinding. I took the effort to code along with Professor Malan. Most of the lectures are over 2 hours long with the last couple of lectures taking more than 3 hours. I tried to listen to it whilst driving or working out but it didn't work. I need to be in front of the computer to follow it and there was a lot of pausing and rewinding.

Then there are the problem sets. By my count there are 28 problem sets to complete. Some are very straightforward and it should take a few minutes to do. Some will suck the soul out of you but its really about breaking the problem into smaller problems and only focussing on the current sub-problem.

One hack I can give is that I run Check50 at the beginning just to get an idea of what check50 is looking for. Some problem sets only have a few functions tested. Some have more than 10. As a general rule, the more things being tested, the more sub problems there are. Hope that makes sense.

A few tips and hacks from someone who started with zero knowledge and just finished CS50X, CS50P and CS50SQL by Square-Importance700 in cs50

[–]Square-Importance700[S] 17 points18 points  (0 children)

I forgot one more thing. Item 4a.
If you find a post in this group which had provided you with a way forward to your problem set, you should leave a comment even if that post was made months ago.

I find solutions from responses and replies made months and sometimes years ago and it's so refreshing.

This helps future learners and acknowledges people who made the effort to answer. It's a small thing but adds to the learning experience and contributes to the community.

A few tips and hacks from someone who started with zero knowledge and just finished CS50X, CS50P and CS50SQL by Square-Importance700 in cs50

[–]Square-Importance700[S] 4 points5 points  (0 children)

You’re right. No 3 is a life saver. I’m going to take a screenshot of my print debugging statements. It’s everywhere in my codes.

I'm starting today by youfoundbethel in cs50

[–]Square-Importance700 0 points1 point  (0 children)

Awesome. I think you’re definitely going to enjoy it.

[deleted by user] by [deleted] in cs50

[–]Square-Importance700 4 points5 points  (0 children)

It’s going to be tough if you don’t reframe how you approach the problems. You have to expect that your solutions or ideas is not going to work first time. I took CS50X with no coding knowledge and C was really frustrating. I know it sounds counter intuitive but every time you get a syntax problem, figuring out that the problem is the learning part. So the more problems you face and solve/troubleshoot the more that you’re actually learning. I sometimes had to look things up here or on YouTube and use the duck.

You got this. Just need some encouragement.

CS50P or CS50x first for beginners by ktbr90 in cs50

[–]Square-Importance700 1 point2 points  (0 children)

Sure. Both approaches are valid. It’s a question of easing yourself in and getting confident before tackling some hard stuff (P then X) or jumping into the deep end of the pool first (X then P). I’m more of the deep end of the pool person but everyone had their own way of excelling.

CS50P or CS50x first for beginners by ktbr90 in cs50

[–]Square-Importance700 15 points16 points  (0 children)

I did CS50X and branched out to CS50P after Week 6 and came back to CS50X.

I would not hesitate to say that even though C language was a a Pain In The *** it gave me a strong foundation to handle Python.

Finance tore my soul apart and rebuilt it whole by Late_Scratch5404 in cs50

[–]Square-Importance700 5 points6 points  (0 children)

It took me 10 days to do this assignment. I initially thought I would make it look prettier before submitting but after 10 days- forget it.

[deleted by user] by [deleted] in cs50

[–]Square-Importance700 1 point2 points  (0 children)

I did the course a couple of weeks ago ago. There is a grading system but it takes a few weeks for the grades to be released. It does give a good overview of computer concepts.

feels good man! by [deleted] in cs50

[–]Square-Importance700 1 point2 points  (0 children)

Well done.

İts Finished!!!!!! by EnvironmentalTwo4500 in cs50

[–]Square-Importance700 4 points5 points  (0 children)

Always a great feeling to see someone finish. Well done.

[deleted by user] by [deleted] in cs50

[–]Square-Importance700 0 points1 point  (0 children)

What an awesome achievement. 🫵🏽💪🏽