Questions tagged [cs50x2018]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
0answers
19 views

Why CS50 2019 excluded MashUp problem set?

everyone I have noticed that staff solution for MashUp problem set is not working correctly , displaying same articles for any location in USA and having waterMark ( "for development purposes only")....
3
votes
1answer
43 views

Enrolled in 2018, upgraded for certificate in 2019, can I still get the CS50x certificate in 2020?

I first signed for CS50x in 2018, watched the first few lectures and then stopped. I never submitted any problem set back then. This year, I signed up again and this time upgraded for a verified ...
0
votes
1answer
82 views

CS50 pset1 problems

I have started CS50 and I'm trying to complete my pset1. I have the following: ~/pset1/hello/ $ ls hello* hello.c ~/pset1/hello/ $ ./hello hello, world ~/pset1/hello/ $ check50 cs50/2018/x/hello ...
0
votes
1answer
96 views

continue from 2018 to 2019

I had submitted problem Sets 0 – 7 last year, except problem set 4 (0-3) (5-7), problem set 8 and the final project. what should I do?
0
votes
1answer
632 views

Confused on where to start after 2018 - 2019 switch

When I logged into edX after January 1st, I saw a different course main page than what I was used to. Prior to 2019, I had finished all of week 0, week 1, and week 1 continued. That means I finished ...
0
votes
0answers
25 views

Valgrind throws a memory error and I think it's not okay with mouse set to NULL. I don't know how to fix it. Please help

bool unload(void) { node *cursor = NULL; node *temp = NULL; for(int i = 0; i < 26; i++) { cursor = hash_table[i]; ...
0
votes
2answers
61 views

Problem with credit.c concerning if loops with multiple initial conditions

I am working on the credit.c code. I am trying to make sure that the number of digits and the first digits of each credit card number value that is entered correspond with the brand that credit card ...
0
votes
1answer
161 views

Load part problem in speller.c CS50 2018 using trie

I am working on "speller.c", and I think I understand the basic concept of trie data structure. But I can barely translate my idea into C language. So here is what I coded with my understanding of ...
0
votes
1answer
82 views

Pset4 Recover issues

I am having a number of problems with recover in pset4. First, my program is not finding a beginning of a jpeg. But, to test that, I have to first compile it, and I cannot because for some reason on ...
0
votes
1answer
41 views

Segmentation fault in pset5/speller while linking newNode with the linked list

I have been trying to resolve errors in my speller "load function". I have been able to resolve a couple of them except this one. Debug50 reveals that while creating a link between new Node and the ...
0
votes
0answers
180 views

pset8 mashup How To Work With The JSON Object?

As the title says, I'm having troubles about how to work with the returned data from the /articles route. My question is about accessing key->value pairs of the JSON Object. When I manually search ...
0
votes
1answer
208 views

Pset8 - Google Maps API - RefererNotAllowedMapError

I am re-posting this question as really want to complete this pset and cant find a solution. Have managed most of the problem set without a working map but now need to test markers. After running ...
1
vote
1answer
38 views

codereview or cs50?

The CS50 online grading system only checks correctness and style, So I have no idea whether my code has good design or not. I want my design to be reviewed so I can make sure it's not bad or silly. ...
0
votes
1answer
967 views

CS50 finance: Sell function.(Dropdown list of user shares NOT displayed via sell.html)

Purpose of Sell: to make sure the shares bought can be sold by selecting it through a dropdown list displaying symbols of share bought. I am trying to replicate the cs50 finance default page. I have ...
3
votes
1answer
32 views

Why do computers count from zero?

Sorry to ask this basic question but Mr.Malan mentioned in Lecture 0 that computers count from zero. Why is it so?
0
votes
1answer
91 views

PSet4 recover: recovered files start with a wrong sequence

My recover program creates 50 files, but they do not open (it says "Invalid or Unsupported Image Format"). I opened some of the JPEGs with a hexadecimal editor and found out that they start with 00 d8 ...
1
vote
1answer
857 views

CS50 Finance (pset7) - register function is not working for application.py in the latest CS50 question

In the latest CS50 - pset7 - CS50 Finance, it is advised to use generate_password_hash instead of pwd_context.encrypt. Also, in the template, there is a change where instead of url_for('register'), /...
0
votes
1answer
183 views

Pset8 - mashup (2018 or 2017): Downloading distribution code does not include txt files

I'm having some issues with downloading the distribution code for Pset8 (mashup). I am getting everything except US.txt and readme.txt. I do get the other text file, requirements.txt. Is anyone ...
0
votes
2answers
1k views

I don't understand how the collatz(n) recursive function works

If you watch the short on recursion in week2 2018, Doug explains how calculate the steps for the collatz conjecture. I don't understand how the solution he proposes can work: int collatz(int n) { ...
0
votes
1answer
2k views

what does “invalid conversion specifier mean” ?

include include int mult_two_ints (int a , int b); int main(void) { printf("Choose an integer: "); int x = get_int( ); printf("Choose another integer: "); ...
0
votes
2answers
1k views

Cs 50 - 2018- Pset03 Music

Please help me in debugging this code for Pset03 Music, no errors but the output of frequency function is same for all notes. I was unable to get the mistake https://pastebin.com/qNNAQYiQ