Questions tagged [week6]
The week6 tag has no usage guidance.
8
questions
0
votes
1
answer
64
views
DNA Week 6 | Issues
I have been working on this DNA problem for a while now, and I do not understand what causes the many problems. Right now there are just some technical problems, for example saying "No match"...
0
votes
1
answer
247
views
CS50 DNA prints "No match"
My pset has some issues,can you please tell me what do i have to change in the main function in order to print name of longest DNA matched person.
import csv
import sys
def main():
# TODO: Check for ...
0
votes
0
answers
215
views
Error in Python--Cs50 week 6
I'm just starting cs50's week 6 in python. I copied a small program written by David in the lecture to run in my cs50 IDE, but I'm getting a strange error. I believe the error is about the get_string ...
0
votes
1
answer
80
views
Can anyone explain this chart from the "dynamic programming" lecture in a different way?
I'm having trouble understanding how this table is constructed. A little before this point in the lecture, we get to take a look at this table.
However, he explains the table by basically trying to ...
0
votes
0
answers
2k
views
Traceroute command showing error as "send: Operation not permitted"
"traceroute www.google.com " is showing error
I am using cloud9 web IDE and behind a corporate firewall
But I guess, this won't be an issue.
How can I fix this ?
0
votes
2
answers
226
views
403 Forbidden - When Trying To Access HTML
In the first HTML lecture, Malan gives instructions on accessing an html page in the CS50 IDE as an external user. I ran update50. I started the apache50 server successfully. I tried to access my ...
-1
votes
1
answer
259
views
Pset5 speller.c
I had a few questions in speller.c that I didn't fully understand.
First, why does it include #undef getrusage if it never redefines it? Maybe i'm not fully understanding undef.
And also. for:
/...
0
votes
1
answer
33
views
Ports and Files
In Week 6 lectures where we first learn about computer networks, we learnt about ports.
David said that the ports tell the listening computer what type of file it is, e.g. port 80 for HTTP, 25 for ...