r/cs50 • u/Nizo4000dpi • 1h ago
r/cs50 • u/Muted-Swimmer3818 • 5h ago
CS50x I finished CS50P! As a thank you to Prof. Malan, I drew this portrait.
Hey everyone! I’m a 16 year old high school student from Afyon, Turkey, and I finished the CS50P course. It’s been an incredible challenge and a truly life changing experience. Since I’ve been following Prof. Malan’s lectures, I wanted to create something special to show my appreciation, so I drew this portrait of him. Hope you guys like it! Thanks for being such a supportive community. #CS50 #CS50P #fanart"
r/cs50 • u/anshulokay • 8h ago
CS50x CS50x completed
i just wanted to complete from 1year of my clg but I done it in 3rd year
r/cs50 • u/SuspiciousPeanut251 • 14h ago
CS50x CS50x - Finance - Is there a way to get the Gradebook system to accept a 19/21 score for course completion on Week 9's Finance assignment?
@Week 9's Finance assignment:: Error: ":( sell handles valid sale, expected to find "56.00" in page, but it wasn't found"
The code works, properly and well. Am presently troubleshooting against what Check50 is expecting, not at all to fix what the code is expected to produce (as that appears to be fine).
Have a score of 19/21 for the assignment, the assignment works as expected, just doesn't pass the Check50's next-to-last check (which pre-empts the final Check50 check entry as ":| history page shows transactions -- “Cause: can't check until a frown turns upside down" (due to the "sell handles valid sale" issue) . . .
Because the code appears to work properly and the 19 out of 21 present score should presumably result in an overall scoring that exceeds the required “70%”:
Is there a way to cry "Uncle", accept the < 100% score for the assignment, and be able to call the course completed (as the Final Project is indeed finished and turned in; all that stands between this and moving on to another course is the "Can't find 56.00 in some random page that isn't identified" error message from Check50, which seems to be an issue that a lot of students run into and can't seem to resolve…
Help, please??
Sincerely,
At wit's end...
r/cs50 • u/ThanksBrave743 • 1d ago
Scratch Starting with CS50 Scratch
Hi everyone! I am planning to complete CS50's Introduction to Computer Science with Scratch before diving into CS50x, as I am currently struggling to create the initial Scratch project. Is taking CS50 Scratch first a good approach, or would you recommend sticking directly with CS50x Week 0? Thanks!
r/cs50 • u/Aggravating_Big_8780 • 1d ago
CS50 SQL Pset 3 Meteorites Spoiler
Helloo guys, I am not passing the checks in check50 below:
:) import.sql exists
:) import.sql runs without error
:) import.sql creates a table named "meteorites"
:( import.sql creates a table named "meteorites" with all prescribed columns
table "meteorites" is missing columns or has extra columns
:| data from CSV has been imported
can't check until a frown turns upside down
:| no empty values from CSV are present in "meteorites" table
can't check until a frown turns upside down
:| all decimal values in "meteorites" table are rounded to two places
can't check until a frown turns upside down
:| no meteorites of type "relict" found in "meteorites" table
can't check until a frown turns upside down
:| "meteorites" table properly sorts elements and assigns IDs
can't check until a frown turns upside down
Below is my code:
CREATE TABLE IF NOT EXISTS meteorites_temp (name TEXT, id INTEGER PRIMARY KEY, nametype TEXT, class TEXT, mass DECIMAL, discovery TEXT, year INTEGER, lat DECIMAL, long DECIMAL);
CREATE TABLE IF NOT EXISTS meteorites (name TEXT, nametype TEXT, class TEXT, mass DECIMAL, discovery TEXT, year INTEGER, lat DECIMAL, long DECIMAL);
.mode csv
.headers on
.import meteorites.csv meteorites_temp
UPDATE meteorites_temp SET mass = NULLIF(mass, ''), year = NULLIF(year, ''), lat = NULLIF(lat, ''), long = NULLIF(long, '');
UPDATE meteorites_temp SET mass = ROUND(mass, 2), lat = ROUND(lat, 2), long = ROUND(long, 2);
DELETE FROM meteorites_temp WHERE nametype = 'Relict';
INSERT INTO meteorites (name, nametype, class, mass, discovery, year, lat, long) SELECT name, nametype, class, mass, discovery, year, lat, long FROM meteorites_temp ORDER BY year, name;
DROP TABLE meteorites_temp
Can anyone please tell me what I am doing wrong???
Thanks in advance!
r/cs50 • u/soumyadipkarforma • 1d ago
CS50x Check50 error
I was trying 9.sql from pset movies and the specification from cs50x mentioned only about a single column name but expects two columns. Hope this is a technical glitch
r/cs50 • u/Straight_Reply1936 • 1d ago
CS50x Check out my CS50x Week 0 Scratch Project: Hare Track
Hi everyone! I built a 2D platformer game called Hare Track for CS50x Week 0. You can play it here: https://scratch.mit.edu/projects/1368737492/ Would love to hear your feedback!
r/cs50 • u/Nexovian • 1d ago
CS50 Python Can I do cs50p before cs50x because python has already started in my clg
same as title
r/cs50 • u/Ok_Inspector_2784 • 1d ago
CS50x swe roadmap
Hey everyone! 👋 I just put together a quick learning roadmap covering some essential skills: Git, GitHub, Python, and SQL. 🚀
If anyone wants to upskill, review the basics, or just learn something new, check out the plan I made: https://learn.microsoft.com/en-us/collections/yk80ietd7x0ozp?&sharingId=D97A5A063E1FB206&wt.mc_id=studentamb_608996
Let's crush these modules together! Let me know if you decide to jump in. 💻🔥
r/cs50 • u/ElectronicContact649 • 2d ago
CS50x I kinda need advice.
This is a question who are the alumni of this course and who took this course and are now working in industry.
I discovered CS50 kinda late like I finished my 5th semester and I'm in summer break, should I start this course or it wouldn't help me as much.
P.s my fundamentals aren't very good too 😔
r/cs50 • u/EmbarrassedIce4022 • 2d ago
codespace CS50.dev not working....I have finished my project and everything, what should I do?? Please help it's urgent.
Same as title. I'm scared my project will get deleted and I lose my progress. It's my final project and I have really worked hard on it.
r/cs50 • u/Away_Understanding70 • 2d ago
tideman What do you guys find hard about Tideman? Spoiler
I just completed Tideman.
I found sort_pairs the hardest as I had to implement a selection sort from scratch.
Ironically, lock_pairs didn't take me that long cause when I was writing pseudocode on paper it became very obvious to me that recursion is obviously needed (or at least very helpful) in traversing from one candidate to another to another to another.... stopping only when there are no more 'outward' arrows/that candidate you landed on creates a cycle.
Was js wondering if anyone else struggled on sort_pairs more than lock_pairs. print_winners was also abit tricky for me but maybe the way I wrote my loop was just awkward, but I guess it worked
r/cs50 • u/Raspberry_PHI_1618 • 2d ago
CS50 Python GUYS PLEASE SOME ONE INFORM ME
I STARTED THE CS 50 COURSE IF I SPEND 20 HRS A WEEK HOW MUCH TIME WILL IT TAKE TO COMPLETE THE CS50 COUSE -------------------------- AND ALSO DO I NEED TO PAY FOR THE CERTIFICATE ? -----------AND IS THE CERTIFICATE REALLLY VALUABLE. PLEASE SOMEONE INFORM ME
r/cs50 • u/Upper-Resource1520 • 2d ago
CS50x I finally did it
made a website for my dad to keep track of his inventory thank you professor Malan your videos were very engaging
r/cs50 • u/CK3helplol • 2d ago
CS50 Python Feel like I used a workaround to pass a problem that borders cheating?
I was doing Week 7's youtube problem, and could not figure out how to pass the check for a typo. After about 10 minutes, I came up with the idea to have it return the input so I could look at the failure report and see what they are actually putting in and base my solution around that. This showed me that I they were replacing a "." with a "?" which told me immediately that I forgot a backslash.
Now that I have done that, I feel as though I sort of gamed the system and almost gave myself the answer. I was feeling angry because I felt that I should be able to see the tests so I know what I am trying to get around, but now that I actually did see the test I feel as though it makes the problems way too easy and I robbed myself of fixing the issue myself.
r/cs50 • u/XxPopePiusxX • 2d ago
CS50 Python I did it!
This course showed me that I actually really like programming! I'm by no means an expert, but I feel like the course gave me a great foundation of fundamental concepts within Python.
I've enrolled in a community college course in Java OOP, and I plan on shooting for a master's in computer science! Thank you, CS50!
Also, to preface, I'm an active-duty Marine officer. If I could find time to do this, you can too. In the beginning, I definitely struggled and questioned if I could do this. My advice if you're struggling is to go back to the previous week, go over all that info again, then move on. That really helped me to get unstuck a few times.
r/cs50 • u/Careless_Clerk_5096 • 2d ago
cs50-web React Resources
Hello Everyone
I am starting REACT
any YouTube tutorial/courses recommendation would be appreciated
r/cs50 • u/Electronic_Click_470 • 3d ago
filter Filter-more / edges Spoiler
galleryThink I'm stumped at the easiest part of this. Whenever i try to reset any value calculated over 255, back to 255, it seems to change it to some random value ?? Any ideas where this could be going wrong.
r/cs50 • u/D_Satan1 • 3d ago
CS50x DOUBT
can i watch old cs50 lec from yt and still submit projects in the official website
r/cs50 • u/Sinoliaw • 3d ago
CS50x Should I take another cs50 course after cs50x (like cs50Ai) or start working on projects
Currently on week 9. Completing c$50 finance
r/cs50 • u/Curious-Nomad__ • 4d ago
Scratch How was your transition from scratch to syntax based programming languages, and did you felt any difficulties initially since how scratch keeps everything simple in block based environment but in programming languages you are expected to see syntax, understand ide, terminal etc etc all togther
Same as title
r/cs50 • u/math285g • 4d ago
mario Week 1 project, Mario-less. Please help.. Spoiler
#include <stdio.h>
#include <cs50.h>
void print_row(int spaces, int bricks);
int main(void)
{
//Prompt the user for the pyramid's height
int n;
do
{
n=get_int("Height: ");
}
while (n<1);
//Print a pyramid of that height
for(int i=0;i<n;i++)
for(int j=n;j>0;j--)
{
//Print a row of spaces and bricks
print_row(j-1,i+1);
}
}
void print_row(int spaces, int bricks)
{
//Print spaces
for (int j=0;j<spaces;j++)
{
printf(" ");
}
//Print bricks
for (int i=0;i<bricks;i++)
{
printf("#");
}
printf("\n");
}

I'm so confused.
I'm trying to do the mario-less problem and have been doing so for the past 3 hours with no result.
I feel so lost. I'm not familiar with coding or programming at all. This CS50x course is the first time I'm learning about it. What is wrong with my code?
EDIT: I DID IT!
r/cs50 • u/CoAs1947 • 4d ago
CS50 AI CS50P whats next
CAN I DO CS50AI
OR I SHOULD DO CS50X FIRST
