8 votes
Accepted

How exactly are final projects graded for edX verified certificate?

The project is graded pass/fail. Or, more succinctly, if you submit, you get 1. If you don't, you get 0.
user avatar
  • 18.4k
6 votes
Accepted

How to free a nested struct?

When you allocate memory by calling malloc(), and you want to free that memory, you have to call free() on every pointer that you initialized it with a call to malloc(). For example, if you have ...
user avatar
  • 17.4k
5 votes
Accepted

Is an Android app with chat too difficult for the final project?

Maybe no, maybe yes, now this is something that depends on your skills and well, it might as well take you some more time, but I think it's fun learning, so I personally highly recommend you learn the ...
user avatar
  • 1,146
3 votes

Final Project: Can I add the code of my final project to my GitHub account?

That's not a problem at all. It's your project written by you. One of the main points of final projects is that you'll be able to use them to demonstrate your skills, which means you'll likely be ...
user avatar
3 votes

Final project question proposal

I was wondering for the final project, are we held to the same expectations as those taking the CS50 class? yes. the thing is though that we don't submit the code. we only submit a 2-minute video ...
3 votes

Do all CS50 final projects get exhibited in the CS50 Fair?

The CS50x "Fair" is an online website that showcases the video project submissions. There is no set time for it. Presumably your project video will be added at the end of the course. You can see ...
user avatar
  • 18.4k
2 votes

JS/HTML automatic reloads

I just figured it out! The reload was due to the very nature of onsubmit. When I changed it to onClick, I had no issues!
user avatar
2 votes
Accepted

Can you pass without submitting the final project

If by pass, you mean receive the certificate, no. If you don't submit the final project, you will not receive the certificate. You do have the option of registering for the new session that starts ...
user avatar
  • 18.4k
2 votes

Is it feasible to make a simple Facebook app in 3 weeks?

Ordinarily, I'd flag this as an opinion based question, but underneath is a lesson on project scope, one that is very timely as we approach the class deadline at the end of the year. I've never ...
user avatar
  • 64.1k
2 votes
Accepted

Undefined reference to function

That is a linker error, not a compiler error. Your compiler won't complain, because it doesn't know of dictionary.c's existence. Including dictionary.c in your headers doesn't make any sense at all, ...
user avatar
  • 1,677
2 votes
Accepted

Can a website access a mysql database of another website?

The more specific question would be whether the code on one web server can access a database on another server. Assuming that the proper permissions can be set up, then yes, you should be able to ...
user avatar
  • 64.1k
2 votes
Accepted

Hosting a site made for CS50 - final project

Broadly speaking, there are only two things you need to purchase in order to do this: Register a domain name from any reputable registrar (should be around $10 per year) Rent some kind of hosting. Be ...
user avatar
  • 3,036
2 votes
Accepted

invalid write to string

as you probably know, the type string (defined in the CS50 library) is the same as the built-in standard type char * (aka char pointer). recall that pointers must have memory allocated for them (...
user avatar
  • 17.4k
2 votes
Accepted

final project submission CS50 2017

Sounds like your /project folder is empty? Be sure that you have at least one file in there. (running submit50 is what triggers the grading). If your project files aren't in the IDE, perhaps you ...
user avatar
  • 18.4k
2 votes
Accepted

How do I cluster markers on a googlemap?

Thanks to @DinoCoderSaurus for your help - basically the problem was that I was trying to instantiate a MarkerClusterer for each individual marker that was added to the array. The solution was to ...
user avatar
2 votes

Final project without video / screencast

It's necessary to qualify a verified certificate. Given that your code does not need to be submitted, the video is the proof that you actually completed your project and is your opportunity to ...
user avatar
  • 18.4k
2 votes
Accepted

Typeahead does not work

Eventually, I used the html and javascript files from cs50 mashup, and changed their content bit by bit (while mostly keeping the html head untouched). It worked, so I think the initial problem was ...
user avatar
2 votes
Accepted

Would remaking a past project be a valid Final Project submission?

If you're the original author, no problem. You're rewriting it to other languages? Even less problem! Academic honesty policy is about you doing the work, not when you did it. Go for it. ...
user avatar
  • 64.1k
2 votes
Accepted

I get 50% at Final Project. How to fix it

If you look at your submission results (http://submit.cs50.io) you can click the check50 link to see why you got 1/2. And then you can fix that. Either you didn't include the link to your video ...
user avatar
  • 18.4k
1 vote
Accepted

Final Project Question

Yes. There is SQL queries for everything you can do in phpmyadmin, in fact when submitting a query from phpmyadmin you can see the SQL code that will be passed from phpmyadmin to your server. If you ...
user avatar
  • 1,223
1 vote

hello fellow cs50 classmates and staff

Starting now and trying to meet the deadline will be very difficult. I am currently on week 7 (pset5) and it's going to be tight for me. The deadline to submit all your problem sets(psets) and final ...
user avatar
  • 159
1 vote
Accepted

Applied final project

The CS50 IDE is based on Ubuntu Linux, and if you are planning to build a web application similar to Mashup or CS50 Finance, the relevant technologies are often abbreviated as LAMP (Linux, Apache, ...
user avatar
  • 3,036
1 vote
Accepted

MySQL Query function not working

$username is blank as per the error message: Access denied for user ''@'localhost'..... . There is nothing between the two ticks (single quotes) after user. That makes $password, $dbname suspect as ...
user avatar
1 vote

Final project: How to submit form without going to another page with Ajax/jquery?

The return value of a successful $mysqli->query involving INSERT is true (it does not return an object), so you can test for this and echo a corresponding message.
user avatar
  • 1,415
1 vote

phpmailer bug final project

Missing semicolon? $mail->Host = "smtp.gmail.com" If that's not it, try an internet search "phpmailer unexpected t_variable". Lots of folks outside CS50 have experience with phpmailer.
user avatar
1 vote
Accepted

Webdesign (final project question)

Uh here is my problem. I had main_display.php in my public folder, which I was messing around with. But I also had a main_display.php in my template folder, which i never changed and that was what was ...
user avatar
  • 11
1 vote

Webdesign (final project question)

I fought with a similar pathing problem and it turned out that $_SERVER['DOCUMENT_ROOT'] was the cause. It is set in the apache configuration which might not be totally clear from the php doc. '...
user avatar
1 vote
Accepted

Apology Function CSS

Problem solved. I needed to add the style attribute (style="STYLE CODE").
user avatar
  • 1,211
1 vote
Accepted

Javascript Timer- Start when Typing Detected

First you need to think about time past. A common logical way to do this is as so: 1) User presses a key - set time of "now" to a variable lets say "start". 2) User stops typing - compare "now" to "...
user avatar
1 vote

How to run a php-file every 15 minutes, independent of user requests in the browser

You need something like Cron, which is a time based job scheduler.
user avatar
  • 1,415

Only top scored, non community-wiki answers of a minimum length are eligible